Class draw2d.Workflow

Object
   |
   +--draw2d.Canvas
         |
         +--draw2d.Workflow

class draw2d.Workflow
extends draw2d.Canvas

Defined in Workflow.js

Version: 0.9.14

Author: Andreas Herz


Field Summary
 Object oldScrollPosTop
          
 Object resizeHandleHalfWidth
          
 Object tooltip
          
   
Fields inherited from class draw2d.Canvas
enableSmoothFigureHandling
 
Constructor Summary
draw2d.Workflow (id)
           
 
Method Summary
 void addFigure( <draw2d.Figure> figure , xPos, yPos)
           Add a figure at the hands over x/y position.
 void addSelectionListener( <draw2d.Window> w)
          
 Object getBestCompartmentFigure( <int> x, <int> y, <draw2d.Figure> figureToIgnore)
           Retruns the best comparment figure at the location [x,y].
 draw2d.CommandStack getCommandStack()
           Returns the command stack for the Canvas.
 draw2d.Menu getContextMenu()
          
 Object getCurrentSelection()
           Returns the current selected figure in the Canvas.
 draw2d.Document getDocument()
           Returns the document of the canvas.
 ArrayList getLines()
          
 void hideSnapToHelperLineHorizontal()
          
 void hideSnapToHelperLineVertical()
          
 void moveBack( <draw2d.Figure> figure)
           Move the hands over figure back.
 void moveFront( <draw2d.Figure> figure)
           Move the hands over figure in front of a other figures.
 void removeFigure( <draw2d.Figure> figure)
           Remove a figure from the Canvas.
 void removeSelectionListener( <Window> w )
          
 void scrollTo( <int> x, <int> y, fast)
           You can scroll the view to a well defined position.
 void setCurrentSelection( <draw2d.Figure> figure )
           Set the current selected figure in the workflow Canvas.
 void setGridWidth( <int> dx, <int> dy)
           Set the grid width of the canvas.
 void setPanning(flag)
          
 void setSnapToGeometry( flag)
           Used to perform snapping to existing elements.
 void setSnapToGrid( flag)
           Enable/disable the snap to grid behaviour of the canvas.
 void setToolWindow( <draw2d.Window> toolWindow, x, y)
           Set the tool window of this Canvas.
 void showDialog(<draw2d.Dialog> dialog , xPos , yPos)
          
 void showTooltip( <draw2d.Figure> tooltip, <boolean> autoHide)
          
 
Methods inherited from class draw2d.Canvas
setViewPort, getEnableSmoothFigureHandling, setEnableSmoothFigureHandling, getWidth, getHeight, setBackgroundImage, getY, getX, getAbsoluteY, getAbsoluteX, getScrollLeft, getScrollTop
 

Field Detail

oldScrollPosTop

Object oldScrollPosTop

resizeHandleHalfWidth

Object resizeHandleHalfWidth

tooltip

Object tooltip

Constructor Detail

draw2d.Workflow

draw2d.Workflow(id)

Method Detail

addFigure

void addFigure( <draw2d.Figure> figure , xPos, yPos)

addSelectionListener

void addSelectionListener( <draw2d.Window> w)

getBestCompartmentFigure

Object getBestCompartmentFigure( <int> x, <int> y, <draw2d.Figure> figureToIgnore)

getCommandStack

draw2d.CommandStack getCommandStack()

getContextMenu

draw2d.Menu getContextMenu()

getCurrentSelection

Object getCurrentSelection()

getDocument

draw2d.Document getDocument()

getLines

ArrayList getLines()

hideSnapToHelperLineHorizontal

void hideSnapToHelperLineHorizontal()

hideSnapToHelperLineVertical

void hideSnapToHelperLineVertical()

moveBack

void moveBack( <draw2d.Figure> figure)

moveFront

void moveFront( <draw2d.Figure> figure)

removeFigure

void removeFigure( <draw2d.Figure> figure)

removeSelectionListener

void removeSelectionListener( <Window> w )

scrollTo

void scrollTo( <int> x, <int> y, fast)

setCurrentSelection

void setCurrentSelection( <draw2d.Figure> figure )

setGridWidth

void setGridWidth( <int> dx, <int> dy)

setPanning

void setPanning(flag)

setSnapToGeometry

void setSnapToGeometry( flag)

setSnapToGrid

void setSnapToGrid( flag)

setToolWindow

void setToolWindow( <draw2d.Window> toolWindow, x, y)

showDialog

void showDialog(<draw2d.Dialog> dialog , xPos , yPos)

showTooltip

void showTooltip( <draw2d.Figure> tooltip, <boolean> autoHide)


Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008