Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class draw2d.Menu

    Object
       |
       +--draw2d.Figure
             |
             +--draw2d.Menu

class draw2d.Menu
extends draw2d.Figure

Defined in Menu.js
Version: 0.9.14
Author: Andreas Herz

Field Summary
`Object` | `dirty`
`Object` | `menuItems`

Constructor Summary
`draw2d.Menu ()` s *

Method Summary
`void` | `appendMenuItem( item)` Returns [true] if the command can be execute and the execution of the command modifies the model.
`void` | `createList()` Create the figure list and add to all entries an onClick event.

Methods inherited from class draw2d.Figure
`getProperties, getProperty, setProperty, getId, getWorkflow, getParent, getZOrder, setZOrder, hasFixedPosition, getMinWidth, getMinHeight, setBorder, getContextMenu, onDoubleClick, onMouseEnter, onMouseLeave, onDragstart, setCanDrag, setAlpha, setDimension, setPosition, isResizeable, setResizeable, isSelectable, setSelectable, isStrechable, isDeleteable, setDeleteable, setCanSnapToHelper, getCanSnapToHelper, getSnapToGridAnchor, setSnapToGridAnchor, getBounds, getWidth, getHeight, getY, getX, getAbsoluteY, getAbsoluteX, onKeyDown, getPosition, isOver, attachMoveListener, detachMoveListener`

Field Detail

### dirty

    Object dirty

### menuItems

    Object menuItems

Constructor Detail

### draw2d.Menu

    draw2d.Menu()

s *

Version: 0.9.14
Author: Andreas Herz

Method Detail

### appendMenuItem

    void appendMenuItem( item)

Returns [true] if the command can be execute and the execution of the command modifies the model. e.g.: a CommandMove with [startX,startX] == [endX,endY] should return false. Rhe execution of this Command doesn't modify the model.

### createList

    void createList()

Create the figure list and add to all entries an onClick event.

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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