Class draw2d.ResizeHandle

Object
   |
   +--draw2d.Figure
         |
         +--draw2d.Rectangle
               |
               +--draw2d.ResizeHandle

class draw2d.ResizeHandle
extends draw2d.Rectangle

Defined in ResizeHandle.js

Version: 0.9.14

Author: Andreas Herz


Constructor Summary
draw2d.ResizeHandle ( workflow, type)
           
 
Method Summary
 Object getSnapToDirection()
          
 boolean onDragstart( x, y)
           Will be called if the drag and drop action beginns.
 void onKeyDown(<int> keyCode, ctrl)
           This method will be called from the framework if the objects is selected and the user press any key.
 void setCanDrag( <boolean> flag)
           Switch on/off the drag drop behaviour of this object
 void setPosition( <int> xPos , <int> yPos )
           Set the position of the object.
The ResizeHandle overrides the Figure.setPosition method.
 
Methods inherited from class draw2d.Rectangle
setBackgroundColor, getBackgroundColor, setColor, getColor, getWidth, getHeight, setDimension, setLineWidth, getLineWidth
   
Methods inherited from class draw2d.Figure
getProperties, getProperty, setProperty, getId, getWorkflow, getParent, getZOrder, setZOrder, hasFixedPosition, getMinWidth, getMinHeight, setBorder, getContextMenu, onDoubleClick, onMouseEnter, onMouseLeave, setAlpha, isResizeable, setResizeable, isSelectable, setSelectable, isStrechable, isDeleteable, setDeleteable, setCanSnapToHelper, getCanSnapToHelper, getSnapToGridAnchor, setSnapToGridAnchor, getBounds, getY, getX, getAbsoluteY, getAbsoluteX, getPosition, isOver, attachMoveListener, detachMoveListener
 

Constructor Detail

draw2d.ResizeHandle

draw2d.ResizeHandle( workflow, type)

Method Detail

getSnapToDirection

Object getSnapToDirection()

onDragstart

boolean onDragstart( x, y)

onKeyDown

void onKeyDown(<int> keyCode, ctrl)

setCanDrag

void setCanDrag( <boolean> flag)

setPosition

void setPosition( <int> xPos , <int> yPos )


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