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

## Class draw2d.ToolPalette

    Object
       |
       +--draw2d.Figure
             |
             +--draw2d.Window
                   |
                   +--draw2d.ToolPalette

class draw2d.ToolPalette
extends draw2d.Window

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

Constructor Summary
`draw2d.ToolPalette ( title)`

Method Summary
`void` | `addChild( item)`
`Object` | `getActiveTool()`
`Object` | `getChild( id )`
`void` | `setActiveTool( tool)`
`void` | `setDimension( <int> w, <int> h)` Set the new dimension of the window.

Methods inherited from class draw2d.Window
`hasFixedPosition, hasTitleBar, onDragstart, setCanDrag, setTitle, getMinWidth, getMinHeight, isResizeable, setBackgroundColor, setColor, setLineWidth, onSelectionChanged`

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

Constructor Detail

### draw2d.ToolPalette

    draw2d.ToolPalette( title)

Version: 0.9.14
Author: Andreas Herz

Method Detail

### addChild

    void addChild( item)

### getActiveTool

    Object getActiveTool()

### getChild

    Object getChild( id )

### setActiveTool

    void setActiveTool( tool)

### setDimension

    void setDimension( <int> w, <int> h)

Set the new dimension of the window.

Parameters:

`w` - new width of the window.

`h` - new height of the window.

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