|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--moka.lang.Object | +--moka.event.EventListener | +--moka.x.Component | +--moka.x.CaptionedComponent | +--moka.x.TextArea
TextArea class is a text entry component.
Field Summary | |
short |
maxLength
The number of character this TextField should accept. |
boolean |
warp
Should the words be warped ? Should be only read. |
Fields inherited from class moka.x.Component |
enabled, height, listen, mnemonic, next, parent, prev, visible, width, x, y |
Fields inherited from interface moka.x.Captioned |
caption, font |
Constructor Summary | |
TextArea()
|
|
TextArea(java.lang.String caption)
|
Method Summary | |
void |
paint()
Paints the TextArea. |
void |
setWarp(boolean b)
Sets if the words should be warped. |
void |
use()
This method is invoked by the GEM when the user interacts with the TextArea. |
Methods inherited from class moka.x.CaptionedComponent |
finalize |
Methods inherited from class moka.x.Component |
bottom, center, checkMnemonic, clean, eventTriggered, isCursorOver, left, move, onPaint, right, setBounds, setEnabled, setHeight, setMnemonic, setVisible, setWidth, setX, setY, toFront, top |
Methods inherited from class moka.event.EventListener |
eventTriggered |
Methods inherited from class moka.lang.Object |
equals, getClassName, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface moka.x.Captioned |
setCaption, setFont |
Field Detail |
public short maxLength
public boolean warp
Constructor Detail |
public TextArea()
public TextArea(java.lang.String caption)
Method Detail |
public void setWarp(boolean b)
b
- true to specify that the words should be warped, false to specify that the words should not be warpedpublic void paint()
paint
in class Component
public void use()
use
in class Component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |