Package com.orange.links.client.shapes
Class AbstractShape
java.lang.Object
com.orange.links.client.shapes.AbstractShape
- All Implemented Interfaces:
com.orange.links.client.shapes.Drawable
,com.orange.links.client.shapes.Shape
- Direct Known Subclasses:
FunctionShape
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addConnection
(com.orange.links.client.connection.Connection connection) boolean
com.google.gwt.user.client.ui.Widget
asWidget()
boolean
com.orange.links.client.shapes.DrawableSet
<com.orange.links.client.connection.Connection> int
int
getLeft()
int
getTop()
int
getWidth()
int
hashCode()
boolean
boolean
removeConnection
(com.orange.links.client.connection.Connection connection) void
setAllowSynchronized
(boolean allowSynchronized) void
setSynchronized
(boolean sync) Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.orange.links.client.shapes.Drawable
draw, drawHighlight
-
Method Details
-
isSynchronized
public boolean isSynchronized()- Specified by:
isSynchronized
in interfacecom.orange.links.client.shapes.Drawable
-
setSynchronized
public void setSynchronized(boolean sync) - Specified by:
setSynchronized
in interfacecom.orange.links.client.shapes.Drawable
-
allowSynchronized
public boolean allowSynchronized()- Specified by:
allowSynchronized
in interfacecom.orange.links.client.shapes.Drawable
-
getLeft
public int getLeft()- Specified by:
getLeft
in interfacecom.orange.links.client.shapes.Shape
-
getTop
public int getTop()- Specified by:
getTop
in interfacecom.orange.links.client.shapes.Shape
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfacecom.orange.links.client.shapes.Shape
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfacecom.orange.links.client.shapes.Shape
-
addConnection
public boolean addConnection(com.orange.links.client.connection.Connection connection) - Specified by:
addConnection
in interfacecom.orange.links.client.shapes.Shape
-
removeConnection
public boolean removeConnection(com.orange.links.client.connection.Connection connection) - Specified by:
removeConnection
in interfacecom.orange.links.client.shapes.Shape
-
asWidget
public com.google.gwt.user.client.ui.Widget asWidget() -
hashCode
public int hashCode() -
equals
-
getConnections
public com.orange.links.client.shapes.DrawableSet<com.orange.links.client.connection.Connection> getConnections() -
setAllowSynchronized
public void setAllowSynchronized(boolean allowSynchronized) - Specified by:
setAllowSynchronized
in interfacecom.orange.links.client.shapes.Drawable
-