Generated by
JDiff

Interface org.jhotdraw.draw.Figure

Removed Methods
boolean canConnect() Checks wether this Figure can be connected to a ConnectionFigure.
 

Added Methods
void addPropertyChangeListener(PropertyChangeListener) Adds a {@code PropertyChangeListener} which can optionally be wrapped into a {@code WeakPropertyChangeListener}.
boolean isConnectable() Returns true if this Figure can be connected to a ConnectionFigure.
void removePropertyChangeListener(PropertyChangeListener) Removes a {@code PropertyChangeListener}.
 

Changed Methods
void addFigureListener(FigureListener) Change in signature from org.jhotdraw.draw.FigureListener to org.jhotdraw.draw.event.FigureListener.
Adds a listener for FigureEvent's.
Collection<Handle> createHandles(int) Change in return type from java.util.Collection to java.util.Collection.
Creates handles used to manipulate the figure.
Connector findCompatibleConnector(Connector, boolean) Change in return type from org.jhotdraw.draw.Connector to org.jhotdraw.draw.connector.Connector.
Change in signature from (org.jhotdraw.draw.Connector, boolean) to (org.jhotdraw.draw.connector.Connector, boolean).
Gets a compatible connector.
Connector findConnector(Double, ConnectionFigure) Change in return type from org.jhotdraw.draw.Connector to org.jhotdraw.draw.connector.Connector.
Gets a connector for this figure at the given location.
Collection<Connector> getConnectors(ConnectionFigure) Change in return type from java.util.Collection to java.util.Collection.
Returns all connectors of this Figure for the specified prototype of a ConnectionFigure.
Tool getTool(Double) Change in return type from org.jhotdraw.draw.Tool to org.jhotdraw.draw.tool.Tool.
Returns a specialized tool for the specified location.
void removeFigureListener(FigureListener) Change in signature from org.jhotdraw.draw.FigureListener to org.jhotdraw.draw.event.FigureListener.
Removes a listener for FigureEvent's.
 

Added Fields
String CONNECTABLE_PROPERTY The name of the "connectable" property.
String REMOVABLE_PROPERTY The name of the "removable" property.
String SELECTABLE_PROPERTY The name of the "selectable" property.
String TRANSFORMABLE_PROPERTY The name of the "transformable" property.