Class draw2d.Annotation

Object
   |
   +--draw2d.Figure
         |
         +--draw2d.Annotation

class draw2d.Annotation
extends draw2d.Figure

Defined in Annotation.js

Version: 0.9.14

Author: Andreas Herz


Constructor Summary
draw2d.Annotation ( <String> msg)
           
 
Method Summary
 draw2d.Color getBackgroundColor()
           Returns the current background color of this objetc.
 String getText()
          
 void onDoubleClick()
           This method will be called from the framework if the user dbl click on this figure.
 void setBackgroundColor( <draw2d.Color> color)
           Set the background color of this figure
 void setFontSize( <int> size)
           Set the font size of the annotation text
 void setStyledText( text)
          
 void setText( <String> text)
           Set the text or message of this annotation figure.
 
Methods inherited from class draw2d.Figure
getProperties, getProperty, setProperty, getId, getWorkflow, getParent, getZOrder, setZOrder, hasFixedPosition, getMinWidth, getMinHeight, setBorder, getContextMenu, 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
 

Constructor Detail

draw2d.Annotation

draw2d.Annotation( <String> msg)

Method Detail

getBackgroundColor

draw2d.Color getBackgroundColor()

getText

String getText()

onDoubleClick

void onDoubleClick()

setBackgroundColor

void setBackgroundColor( <draw2d.Color> color)

setFontSize

void setFontSize( <int> size)

setStyledText

void setStyledText( text)

setText

void setText( <String> text)


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