|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--draw2d.Canvas
|
+--draw2d.Workflow
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 |
Object oldScrollPosTop
Object resizeHandleHalfWidth
Object tooltip
| Constructor Detail |
draw2d.Workflow(id)
| Method Detail |
void addFigure( <draw2d.Figure> figure , xPos, yPos)
figure - The figure to add.
x - The x position.
y - The y position.
void addSelectionListener( <draw2d.Window> w)
w - The window which will be notified if an object has been selected
Object getBestCompartmentFigure( <int> x, <int> y, <draw2d.Figure> figureToIgnore)
x - The x position.
y - The y position.
figureToIgnore - The figure which should be ignored.
draw2d.CommandStack getCommandStack()
draw2d.Menu getContextMenu()
Object getCurrentSelection()
figure - The new selection.
draw2d.Document getDocument()
ArrayList getLines()
void hideSnapToHelperLineHorizontal()
void hideSnapToHelperLineVertical()
void moveBack( <draw2d.Figure> figure)
figure - The figure to bring back.
void moveFront( <draw2d.Figure> figure)
figure - The figure to bring on top.
void removeFigure( <draw2d.Figure> figure)
figure - The figure to remove
void removeSelectionListener( <Window> w )
w - The window which will be removed from the slection eventing
void scrollTo( <int> x, <int> y, fast)
x - the new X scroll position
y - the Y scroll position
void setCurrentSelection( <draw2d.Figure> figure )
figure - The new selection.
void setGridWidth( <int> dx, <int> dy)
dx - The width of the grid.
dy - The height of the grid.
void setPanning(flag)
void setSnapToGeometry( flag)
boolean - } true if you want snap to the geometry.
void setSnapToGrid( flag)
boolean - } true if you want snap to the grid.
void setToolWindow( <draw2d.Window> toolWindow, x, y)
toolWindow - The tool window of the canvas
void showDialog(<draw2d.Dialog> dialog , xPos , yPos)
dialog - The dialog to show.
x - The x position.
y - The y position.
void showTooltip( <draw2d.Figure> tooltip, <boolean> autoHide)
tooltip - The tooltip to show
autoHide - Indicate if the tooltip should be removed after a timeout period..
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||