java.lang.Object
com.memoire.dja.DjaObject
com.memoire.dja.DjaForm
com.memoire.dja.DjaLabel
- All Implemented Interfaces:
- java.lang.Cloneable, DjaOptions, DjaOwner, java.io.Serializable
- public class DjaLabel
- extends DjaForm
| Fields inherited from class com.memoire.dja.DjaForm |
|
| Fields inherited from class com.memoire.dja.DjaObject |
|
| Fields inherited from interface com.memoire.dja.DjaOptions |
ABSOLUTE, anchorsColor, ANY, attachsColor, AUTO, BOTH, CENTER, closeX, closeY, controlsColor, defaultBigFont, defaultBoldFont, defaultPlainFont, defaultSmallFont, deltaX, deltaY, DISK_BG, DISK_EMPTY, DISK_FG, EAST, freesColor, handlesColor, HELPER, HORIZONTAL, LEFT, LEFT_TRIANGLE_BG, LEFT_TRIANGLE_EMPTY, LEFT_TRIANGLE_FG, LOSANGE_BG, LOSANGE_EMPTY, LOSANGE_FG, MIDDLE, NONE, NORTH, NORTH_EAST, NORTH_WEST, RELATIVE_ANCHOR, RELATIVE_ATTACH, RELATIVE_CONTROL, RELATIVE_NE, RELATIVE_NW, RELATIVE_SE, RELATIVE_SW, RELATIVE_TEXT_NE, RELATIVE_TEXT_NW, RELATIVE_TEXT_SE, RELATIVE_TEXT_SW, RIGHT, RIGHT_TRIANGLE_BG, RIGHT_TRIANGLE_EMPTY, RIGHT_TRIANGLE_FG, selectionBackground, selectionForeground, selectionTextColor, selectionZone, snap, SOUTH, SOUTH_EAST, SOUTH_WEST, SQUARE_BG, SQUARE_EMPTY, SQUARE_FG, VERTICAL, WEST |
| Methods inherited from class com.memoire.dja.DjaObject |
addText, afterLoading, beforeSaving, clone, contains, fireGridEvent, getBackground, getBeginConnections, getColor, getControls, getData, getEndConnections, getExtendedBounds, getExtendedBounds, getFont, getForeground, getGrid, getIcon, getOwner, getProperty, getPropertyKeys, getText, getText, getTextArray, getTextColor, getTextPosition, getTexts, isSelected, isTextMultiline, paint, paintAnchors, paintAttachs, paintControls, paintHandles, paintText, paintTexts, putData, putProperty, removeData, removeProperty, setBackground, setColor, setFont, setForeground, setOwner, setSelected, setText, setText, setTextArray, setTextBounds, setTextColor, setTextPosition, toString |
size_
private transient java.awt.Dimension size_
DjaLabel
public DjaLabel()
DjaLabel
public DjaLabel(java.lang.String _text)
getWidth
public int getWidth()
- Overrides:
getWidth in class DjaForm
getHeight
public int getHeight()
- Overrides:
getHeight in class DjaForm
textChanged
public void textChanged(DjaText _text)
- Description copied from class:
DjaObject
- Notify when a text was modified
- Overrides:
textChanged in class DjaObject
getAnchors
public DjaAnchor[] getAnchors()
- Overrides:
getAnchors in class DjaObject
getHandles
public DjaHandle[] getHandles()
- Overrides:
getHandles in class DjaObject
paintObject
public void paintObject(java.awt.Graphics _g)
- Overrides:
paintObject in class DjaObject
paintInteractive
public void paintInteractive(java.awt.Graphics _g)
- Overrides:
paintInteractive in class DjaObject
optimalSize
private java.awt.Dimension optimalSize()