|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
org.fusesource.web.console.client.camel.AbstractDiagram
public abstract class AbstractDiagram
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary | |
|---|---|
protected com.allen_sauer.gwt.dragdrop.client.DragController |
dragController
|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
AbstractDiagram()
|
|
| Method Summary | |
|---|---|
protected void |
add(pl.balon.gwt.diagrams.client.connection.AbstractConnection c)
Adds connection to panel. |
protected void |
connect(pl.balon.gwt.diagrams.client.connector.Connector a,
pl.balon.gwt.diagrams.client.connector.Connector b)
Creates rectilinear connection. |
protected pl.balon.gwt.diagrams.client.connector.UIObjectConnector |
createConnector(java.lang.String url,
java.lang.String title,
int left,
int top,
pl.balon.gwt.diagrams.client.connector.Direction direction)
Creates connector. |
protected abstract void |
createContents(CamelNode camelNode)
Creates example contents (sets up connectors and connections) |
protected com.allen_sauer.gwt.dragdrop.client.DragController |
createDragController()
|
protected com.google.gwt.user.client.ui.AbsolutePanel |
getArea()
Return examples area widget. |
protected void |
remove(pl.balon.gwt.diagrams.client.connection.Connection c)
Removes connection from examples panel. |
void |
update()
Recalculates and redraws all connections in this example |
| Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
|---|
add, getContainerElement, getWidget, iterator, remove, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
|---|
adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
getParent, isAttached, onAttach, onBrowserEvent, onDetach, removeFromParent |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final com.allen_sauer.gwt.dragdrop.client.DragController dragController
| Constructor Detail |
|---|
public AbstractDiagram()
| Method Detail |
|---|
protected abstract void createContents(CamelNode camelNode)
protected void connect(pl.balon.gwt.diagrams.client.connector.Connector a,
pl.balon.gwt.diagrams.client.connector.Connector b)
pl.balon.gwt.diagramsexample.client.examples.AbstractConnectionsExample#connect(pl.balon.gwt.diagrams.client.connector.Connector, pl.balon.gwt.diagrams.client.connector.Connector)protected com.google.gwt.user.client.ui.AbsolutePanel getArea()
protected void add(pl.balon.gwt.diagrams.client.connection.AbstractConnection c)
c - connection to be addedprotected void remove(pl.balon.gwt.diagrams.client.connection.Connection c)
c - public void update()
protected pl.balon.gwt.diagrams.client.connector.UIObjectConnector createConnector(java.lang.String url,
java.lang.String title,
int left,
int top,
pl.balon.gwt.diagrams.client.connector.Direction direction)
Image - -
label on connectorleft - -
horizontal positiontop - -
vertical positiondirection - -
allowed direction of connection from this connector (null
means all directions_
protected com.allen_sauer.gwt.dragdrop.client.DragController createDragController()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||