public abstract class AbstractShape extends Object implements com.orange.links.client.shapes.Shape
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowSync |
protected DiagramController |
controller |
protected com.google.gwt.user.client.ui.Widget |
widget |
| Constructor and Description |
|---|
AbstractShape(DiagramController controller,
com.google.gwt.user.client.ui.Widget widget) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addConnection(com.orange.links.client.connection.Connection connection) |
boolean |
allowSynchronized() |
com.google.gwt.user.client.ui.Widget |
asWidget() |
boolean |
equals(Object obj) |
com.orange.links.client.shapes.DrawableSet<com.orange.links.client.connection.Connection> |
getConnections() |
protected int |
getContainerOffsetLeft() |
protected int |
getContainerOffsetTop() |
int |
getHeight() |
int |
getLeft() |
int |
getTop() |
int |
getWidth() |
int |
hashCode() |
boolean |
isSynchronized() |
boolean |
removeConnection(com.orange.links.client.connection.Connection connection) |
void |
setAllowSynchronized(boolean allowSynchronized) |
void |
setSynchronized(boolean sync) |
protected com.google.gwt.user.client.ui.Widget widget
protected DiagramController controller
protected boolean allowSync
public AbstractShape(DiagramController controller, com.google.gwt.user.client.ui.Widget widget)
public boolean isSynchronized()
isSynchronized in interface com.orange.links.client.shapes.Drawablepublic void setSynchronized(boolean sync)
setSynchronized in interface com.orange.links.client.shapes.Drawablepublic boolean allowSynchronized()
allowSynchronized in interface com.orange.links.client.shapes.Drawablepublic int getLeft()
getLeft in interface com.orange.links.client.shapes.Shapepublic int getTop()
getTop in interface com.orange.links.client.shapes.Shapeprotected int getContainerOffsetLeft()
protected int getContainerOffsetTop()
public int getWidth()
getWidth in interface com.orange.links.client.shapes.Shapepublic int getHeight()
getHeight in interface com.orange.links.client.shapes.Shapepublic boolean addConnection(com.orange.links.client.connection.Connection connection)
addConnection in interface com.orange.links.client.shapes.Shapepublic boolean removeConnection(com.orange.links.client.connection.Connection connection)
removeConnection in interface com.orange.links.client.shapes.Shapepublic com.google.gwt.user.client.ui.Widget asWidget()
public com.orange.links.client.shapes.DrawableSet<com.orange.links.client.connection.Connection> getConnections()
public void setAllowSynchronized(boolean allowSynchronized)
setAllowSynchronized in interface com.orange.links.client.shapes.DrawableCopyright © 2008-2014 Logical Objects. All Rights Reserved.