com.ebmwebsourcing.bpmndiagram.presentation.gwt.client.bpmn1.swimlane
Class PoolElement

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.AbsolutePanel
                      extended by com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramElement
                          extended by com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramComplexElement
                              extended by com.ebmwebsourcing.bpmndiagram.presentation.gwt.client.bpmn1.swimlane.PoolElement
All Implemented Interfaces:
HasNameHandlers, com.ebmwebsourcing.gwt.raphael.client.diagram.event.HasHideHandlers, com.ebmwebsourcing.gwt.raphael.client.diagram.event.HasShowHandlers, com.ebmwebsourcing.gwt.raphael.client.diagram.semantic.DiagramEntity, com.ebmwebsourcing.gwt.raphael.client.diagram.semantic.Selectable, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasContextMenuHandlers, com.google.gwt.event.dom.client.HasDoubleClickHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.InsertPanel, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>

public class PoolElement
extends com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramComplexElement
implements com.ebmwebsourcing.gwt.raphael.client.diagram.semantic.Selectable, HasNameHandlers

Author:
nfleury

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
PoolElement(java.lang.String id, java.lang.String elementLabel, int x, int y)
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
           
 void addLane(LaneElement lane)
           
 void addListener(PoolListener listener)
           
 com.google.gwt.event.shared.HandlerRegistration addNameHandler(NameHandler handler)
           
protected  void attachDefaultListeners()
           
 java.lang.String getLabel()
           
 java.util.ArrayList<LaneElement> getLanes()
           
 int getLanesTotalHeight()
           
 java.util.ArrayList<PoolListener> getListeners()
           
 void isDeselected()
           
 void isSelected()
           
protected  void onLoad()
           
protected  void refreshSVGsize()
           
 void removeLane(LaneElement lane)
           
 void resize()
           
 void setLabel(java.lang.String label)
           
 
Methods inherited from class com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramComplexElement
addComplexElementHandler, addDiagramElement, containsChild, getDiagramElementById, getDiagramElementChildren, hideSpecific, refreshSpecific, refreshSVGPosition, remove, removeChild, setZIndex, showSpecific
 
Methods inherited from class com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramElement
addContextMenuHandler, addDiagramElementListener, addDoubleClickHandler, addDragListener, addDropListener, addHideHandler, addMouseListener, addMouseOutHandler, addMouseOverHandler, addResizableListener, addShowHandler, addSortableListerner, canBeResized, equals, fireOnDrag, fireOnDragStart, fireOnDragStop, getBackgroundColor, getBorderColor, getContext, getDefaultMouseListener, getDiagramElementType, getDiagramPanel, getDragListeners, getDropListeners, getHeight, getId, getJqueryObject, getMouseListeners, getOpacity, getParentElement, getResizableListerners, getSortableListerners, getSvgElement, getWidth, getX, getY, getZIndex, hashCode, hide, isDraggable, isDroppable, isLoaded, isResizable, isSortable, preferDeffered, refresh, removeAllDragListeners, removeAllDropListeners, removeAllMouseListeners, removeAllResizableListerners, removeAllSortableListeners, removeDiagramDragListener, restorInitialBorderAndBackGroundColor, setBackgroundColor, setBorderColor, setDefaultMouseListener, setDiagramPanel, setHeight, setOpacity, setParentElement, setWidth, setX, setY, show, toBack, toFront
 
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.ebmwebsourcing.gwt.raphael.client.diagram.semantic.DiagramEntity
getId
 
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

PoolElement

public PoolElement(java.lang.String id,
                   java.lang.String elementLabel,
                   int x,
                   int y)
Method Detail

setLabel

public void setLabel(java.lang.String label)

getLabel

public java.lang.String getLabel()

addLane

public void addLane(LaneElement lane)

removeLane

public void removeLane(LaneElement lane)

onLoad

protected void onLoad()
Overrides:
onLoad in class com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramComplexElement

getLanesTotalHeight

public int getLanesTotalHeight()

resize

public void resize()

getLanes

public java.util.ArrayList<LaneElement> getLanes()

addListener

public void addListener(PoolListener listener)

refreshSVGsize

protected void refreshSVGsize()
Overrides:
refreshSVGsize in class com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramComplexElement

attachDefaultListeners

protected void attachDefaultListeners()
Overrides:
attachDefaultListeners in class com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramElement

isDeselected

public void isDeselected()
Specified by:
isDeselected in interface com.ebmwebsourcing.gwt.raphael.client.diagram.semantic.Selectable

isSelected

public void isSelected()
Specified by:
isSelected in interface com.ebmwebsourcing.gwt.raphael.client.diagram.semantic.Selectable

addNameHandler

public com.google.gwt.event.shared.HandlerRegistration addNameHandler(NameHandler handler)
Specified by:
addNameHandler in interface HasNameHandlers

getListeners

public java.util.ArrayList<PoolListener> getListeners()

addClickHandler

public com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
Specified by:
addClickHandler in interface com.google.gwt.event.dom.client.HasClickHandlers
Overrides:
addClickHandler in class com.ebmwebsourcing.gwt.raphael.client.diagram.element.DiagramElement


Copyright © 2010 eBM WebSourcing. All Rights Reserved.