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

## Class draw2d.AnnotationDialog

    Object
       |
       +--draw2d.Figure
             |
             +--draw2d.Window
                   |
                   +--draw2d.Dialog
                         |
                         +--draw2d.AnnotationDialog

class draw2d.AnnotationDialog
extends draw2d.Dialog

Use this class to modifie the text in an annotation figure.
Version: 0.9.14
Author: Andreas Herz
Defined in AnnotationDialog.js

Constructor Summary
`draw2d.AnnotationDialog ( <Annotation> annotationFigure)`

Method Summary
`void` | `onOk()` This method will be called if the user pressed the OK button in buttonbar of the dialog. Sub classes can override this method to implement there own stuff. Don't forget to call the super method after you have done your stuff with `Dialog.prototype.onOk.call(this);`

Methods inherited from class draw2d.Dialog
`onCancel, setDimension, setFocus, onSetDocumentDirty`

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.AnnotationDialog

    draw2d.AnnotationDialog( <Annotation> annotationFigure)

Parameters:

`annotationFigure` - The annotation figure which should be modfied with this dialog.

Version: 0.9.14
Author: Andreas Herz

Method Detail

### onOk

    void onOk()

This method will be called if the user pressed the OK button in buttonbar of the dialog.
Sub classes can override this method to implement there own stuff.
Don't forget to call the super method after you have done your stuff with `Dialog.prototype.onOk.call(this);`

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