Class draw2d.Label

Object
   |
   +--draw2d.Figure
         |
         +--draw2d.Label

class draw2d.Label
extends draw2d.Figure

Defined in Label.js

Version: 0.9.14

Author: Andreas Herz


Constructor Summary
draw2d.Label ( <String> msg)
           
 
Method Summary
 int getHeight()
          
 String getText()
           Returns the current text of the label.
 int getWidth()
          
 boolean isResizeable()
           A Label is not resizeable.
 void setAlign( <String> align)
          
 void setBackgroundColor( <draw2d.Color> color)
           Set the new background color of the label.
 void setColor( <draw2d.Color> color)
          
 void setFontSize( <int> size)
           Set the new font size in [pt].
 void setStyledText( <String> text)
          
 void setText( <String> text )
          
 void setWordwrap( flag)
          
 
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, setResizeable, isSelectable, setSelectable, isStrechable, isDeleteable, setDeleteable, setCanSnapToHelper, getCanSnapToHelper, getSnapToGridAnchor, setSnapToGridAnchor, getBounds, getY, getX, getAbsoluteY, getAbsoluteX, onKeyDown, getPosition, isOver, attachMoveListener, detachMoveListener
 

Constructor Detail

draw2d.Label

draw2d.Label( <String> msg)

Method Detail

getHeight

int getHeight()

getText

String getText()

getWidth

int getWidth()

isResizeable

boolean isResizeable()

setAlign

void setAlign( <String> align)

setBackgroundColor

void setBackgroundColor( <draw2d.Color> color)

setColor

void setColor( <draw2d.Color> color)

setFontSize

void setFontSize( <int> size)

setStyledText

void setStyledText( <String> text)

setText

void setText( <String> text )

setWordwrap

void setWordwrap( flag)


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