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.Drawable
public void setSynchronized(boolean sync)
setSynchronized
in interface com.orange.links.client.shapes.Drawable
public boolean allowSynchronized()
allowSynchronized
in interface com.orange.links.client.shapes.Drawable
public int getLeft()
getLeft
in interface com.orange.links.client.shapes.Shape
public int getTop()
getTop
in interface com.orange.links.client.shapes.Shape
protected int getContainerOffsetLeft()
protected int getContainerOffsetTop()
public int getWidth()
getWidth
in interface com.orange.links.client.shapes.Shape
public int getHeight()
getHeight
in interface com.orange.links.client.shapes.Shape
public boolean addConnection(com.orange.links.client.connection.Connection connection)
addConnection
in interface com.orange.links.client.shapes.Shape
public boolean removeConnection(com.orange.links.client.connection.Connection connection)
removeConnection
in interface com.orange.links.client.shapes.Shape
public 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.Drawable
Copyright © 2008-2014 Logical Objects. All Rights Reserved.