org.openbp.cockpit.modeler.figures.process
Class InitialNodeFigure

java.lang.Object
  extended by CH.ifa.draw.standard.AbstractFigure
      extended by CH.ifa.draw.standard.CompositeFigure
          extended by org.openbp.cockpit.modeler.figures.process.NodeFigure
              extended by org.openbp.cockpit.modeler.figures.process.InitialNodeFigure
All Implemented Interfaces:
CH.ifa.draw.framework.Figure, CH.ifa.draw.framework.FigureChangeListener, CH.ifa.draw.standard.TextHolder, CH.ifa.draw.util.Storable, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, Expandable, ShadowDropper, UpdatableFigure, ProcessElementContainer, VisualElement, InteractionClient

public class InitialNodeFigure
extends NodeFigure

Graphical representation of a initial node.

Author:
Stephan Moritz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openbp.cockpit.modeler.figures.process.NodeFigure
displayBox, iconFigure, iconOverlayFigure, node, presentationFigure, REGION_TYPE, ROTATE_CCW, ROTATE_CW, shadowFigure
 
Fields inherited from class CH.ifa.draw.standard.CompositeFigure
_nHighestZ, _nLowestZ, fFigures
 
Fields inherited from interface org.openbp.cockpit.modeler.figures.VisualElement
VISUAL_DISPLAY_ALL, VISUAL_DND_PARTICIPANT, VISUAL_VISIBLE
 
Fields inherited from interface CH.ifa.draw.framework.Figure
POPUP_MENU
 
Constructor Summary
InitialNodeFigure()
          Constructor.
 
Method Summary
protected  void initSockets()
          Sets up the sockets of the node.
protected  void initTextFigure(java.lang.String textPosition)
          Does nothing, entry and final nodes do not have a separate display element for their name, they display it via their tag.
 
Methods inherited from class org.openbp.cockpit.modeler.figures.process.NodeFigure
acceptsTyping, addSocket, basicDisplayBox, basicMoveBy, center, changed, changeOrientation, clone, compactDisplayBox, connect, connect, connectorAt, containsPoint, createNodeDropRegion, decodeGeometry, decodeParameter, determineCenterIcon, determineCustomIcon, determineCustomIconPath, disconnect, displayBox, dragActionTriggered, dragEnded, dragStarted, draw, drawSelectionMarker, encodeGeometry, findFigure, findFigureInside, findProcessElementContainer, findProcessElementContainerInside, findVisualElement, findVisualElementInside, flipOrientation, getAllDropRegions, getAllImportersAt, getConnectableSocket, getDrawing, getDropRegions, getFillColor, getFont, getImportersAt, getNode, getParentElement, getPresentationFigure, getProcessElement, getReferredProcessElement, getShadow, getSocket, getSubClients, getText, handleEvent, handles, importData, initialize, initIcon, initPresentationFigure, initShadow, isCreatedFromScratch, isPresentationFigureVisible, isVerticallyOriented, isVisible, layoutSockets, layoutUnarrangedSockets, overlayColumns, placeAdjacent, positionOverlayFigure, release, removeConnections, selectionOnDelete, setCreatedFromScratch, setDrawing, setFillColor, setIconFigure, setIconOverlayFigure, setSize, setText, setVisible, textDisplayBox, toString, translateChildren, updateFigure, updatePresentationFigure
 
Methods inherited from class CH.ifa.draw.standard.CompositeFigure
add, addAll, addAll, bringToFront, draw, figureAt, figureChanged, figureCount, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, figures, figures, figuresReverse, findFigure, findFigure, findFigureInsideWithout, findFigureWithout, getFigureFromLayer, getLayer, includes, init, orphan, orphanAll, orphanAll, read, remove, removeAll, removeAll, removeAll, replace, sendToBack, sendToLayer, write
 
Methods inherited from class CH.ifa.draw.standard.AbstractFigure
addFigureChangeListener, addToContainer, canConnect, connectedTextLocator, connectionInsets, connectorVisibility, decompose, displayBox, displayBox, getAttribute, getZValue, invalidate, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface CH.ifa.draw.framework.FigureChangeListener
figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate
 
Methods inherited from interface CH.ifa.draw.framework.Figure
addFigureChangeListener, addToContainer, canConnect, connectedTextLocator, connectionInsets, connectorVisibility, decompose, displayBox, displayBox, figures, getAttribute, getZValue, includes, invalidate, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, setZValue, size, willChange
 
Methods inherited from interface CH.ifa.draw.util.Storable
read, write
 

Constructor Detail

InitialNodeFigure

public InitialNodeFigure()
Constructor.

Method Detail

initTextFigure

protected void initTextFigure(java.lang.String textPosition)
Does nothing, entry and final nodes do not have a separate display element for their name, they display it via their tag.

Overrides:
initTextFigure in class NodeFigure
Parameters:
textPosition - Text position ("c"/"s"/"n"/"e"/"w")
See Also:
NodeFigure.initTextFigure(String)

initSockets

protected void initSockets()
Sets up the sockets of the node. Entry and final nodes have a single socket.

Overrides:
initSockets in class NodeFigure


Copyright © 2011. All Rights Reserved.