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 TypeMethodDescriptionbooleanaddConnection(com.orange.links.client.connection.Connection connection) booleancom.google.gwt.user.client.ui.WidgetasWidget()booleancom.orange.links.client.shapes.DrawableSet<com.orange.links.client.connection.Connection> intintgetLeft()intgetTop()intgetWidth()inthashCode()booleanbooleanremoveConnection(com.orange.links.client.connection.Connection connection) voidsetAllowSynchronized(boolean allowSynchronized) voidsetSynchronized(boolean sync) Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orange.links.client.shapes.Drawable
draw, drawHighlight
-
Method Details
-
isSynchronized
public boolean isSynchronized()- Specified by:
isSynchronizedin interfacecom.orange.links.client.shapes.Drawable
-
setSynchronized
public void setSynchronized(boolean sync) - Specified by:
setSynchronizedin interfacecom.orange.links.client.shapes.Drawable
-
allowSynchronized
public boolean allowSynchronized()- Specified by:
allowSynchronizedin interfacecom.orange.links.client.shapes.Drawable
-
getLeft
public int getLeft()- Specified by:
getLeftin interfacecom.orange.links.client.shapes.Shape
-
getTop
public int getTop()- Specified by:
getTopin interfacecom.orange.links.client.shapes.Shape
-
getWidth
public int getWidth()- Specified by:
getWidthin interfacecom.orange.links.client.shapes.Shape
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacecom.orange.links.client.shapes.Shape
-
addConnection
public boolean addConnection(com.orange.links.client.connection.Connection connection) - Specified by:
addConnectionin interfacecom.orange.links.client.shapes.Shape
-
removeConnection
public boolean removeConnection(com.orange.links.client.connection.Connection connection) - Specified by:
removeConnectionin 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:
setAllowSynchronizedin interfacecom.orange.links.client.shapes.Drawable
-