|
||||||||||
| 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.ComplexPanel
com.google.gwt.user.client.ui.AbsolutePanel
com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramElement
com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramComplexElement
com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramSortableElement
public class DiagramSortableElement
Sortable elements acts as complex element, the main difference is that
the elements inside a sortable element can be dragged only inside the main container
in order to sort them.
NOTE: Elements inside a sortable element shouldn't
be draggable otherwise it could lead to some conflicts.
| 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 |
|---|
| Fields inherited from class com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramElement |
|---|
context, diagramElementType, height, isLoaded, width, x, y |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
DiagramSortableElement(com.ebmwebsourcing.gwt.raphael.client.core.SVGElement svgElement)
|
|
| Method Summary | |
|---|---|
void |
addDiagramElement(DiagramElement diagramElement)
Adds a child to current element and automatically positions the element according to the children already in current element |
protected void |
attachDefaultListeners()
|
void |
connectWith(java.lang.String selector)
Connect current sortable element with another sorted list |
int |
getChildrenTotalHeight()
|
| Methods inherited from class com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramComplexElement |
|---|
addComplexElementHandler, addDiagramElement, containsChild, getDiagramElementById, getDiagramElementChildren, hideSpecific, onLoad, refreshSpecific, refreshSVGPosition, refreshSVGsize, remove, removeChild, setZIndex, showSpecific |
| Methods inherited from class com.google.gwt.user.client.ui.AbsolutePanel |
|---|
add, add, getWidgetLeft, getWidgetTop, insert, insert, remove, setWidgetPosition, setWidgetPositionImpl |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
|---|
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
|---|
adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onUnload, orphan |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents |
| 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, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
|---|
getWidget, getWidgetCount, getWidgetIndex, remove |
| Constructor Detail |
|---|
public DiagramSortableElement(com.ebmwebsourcing.gwt.raphael.client.core.SVGElement svgElement)
| Method Detail |
|---|
public void addDiagramElement(DiagramElement diagramElement)
diagramElement - public int getChildrenTotalHeight()
public void connectWith(java.lang.String selector)
protected void attachDefaultListeners()
attachDefaultListeners in class DiagramElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||