charva.awt.util
Class MultiLineLabel
public class MultiLineLabel
Implements a label that displays multiple lines of text.
BOTTOM_ALIGNMENT , CENTER_ALIGNMENT , LEFT_ALIGNMENT , RIGHT_ALIGNMENT , TOP_ALIGNMENT , _alignmentX , _alignmentY , _background , _cursesColor , _enabled , _focusListeners , _foreground , _keyListeners , _origin , _parent , _visible |
addFocusListener , addKeyListener , contains , contains , debug , draw , getAlignmentX , getAlignmentY , getAncestorWindow , getBackground , getBounds , getCursesColor , getForeground , getHeight , getLocation , getLocationOnScreen , getName , getParent , getSize , getWidth , hasFocus , hide , invalidate , isDisplayed , isEnabled , isFocusTraversable , isTotallyObscured , isValid , isVisible , minimumSize , processEvent , processFocusEvent , processKeyEvent , processMouseEvent , repaint , requestFocus , requestSync , setBackground , setBounds , setBounds , setBounds , setEnabled , setForeground , setLocation , setLocation , setName , setParent , setVisible , show , validate , validateCursesColor |
CENTER
public static final int CENTER
LEFT
public static final int LEFT
RIGHT
public static final int RIGHT
MultiLineLabel
public MultiLineLabel(String[] textarray_)
getText
public String[] getText()
isFocusTraversable
public boolean isFocusTraversable()
This component will not receive focus when Tab or Shift-Tab is pressed.
- isFocusTraversable in interface Component
processKeyEvent
public void processKeyEvent(KeyEvent ke_)
The MultiLineLabel class ignores key events. A MultiLineLabel should
never have input focus anyway.
- processKeyEvent in interface Component
requestFocus
public void requestFocus()
The MultiLineLabel component never gets the keyboard input focus.
- requestFocus in interface Component
setText
public void setText(String[] textarray_)