public class MultiLineLabel extends Component
| Modifier and Type | Field and Description |
|---|---|
static int |
CENTER |
static int |
LEFT |
static int |
RIGHT |
_alignmentX, _alignmentY, _background, _cursesColor, _enabled, _focusListeners, _foreground, _keyListeners, _origin, _parent, _visible, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT| Constructor and Description |
|---|
MultiLineLabel(java.lang.String[] textarray_) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(int level_) |
void |
draw()
To be implemented by concrete subclasses.
|
int |
getHeight() |
Dimension |
getSize()
This may be wrong, but it'll do for now.
|
java.lang.String[] |
getText() |
int |
getWidth() |
boolean |
isFocusTraversable()
This component will not receive focus when Tab or Shift-Tab is pressed.
|
Dimension |
minimumSize() |
void |
processKeyEvent(KeyEvent ke_)
The MultiLineLabel class ignores key events.
|
void |
requestFocus()
The MultiLineLabel component never gets the keyboard input focus.
|
void |
setText(java.lang.String[] textarray_) |
addFocusListener, addKeyListener, contains, contains, getAlignmentX, getAlignmentY, getAncestorWindow, getBackground, getBounds, getCursesColor, getForeground, getLocation, getLocationOnScreen, getName, getParent, hasFocus, hide, invalidate, isDisplayed, isEnabled, isRecursivelyVisible, isTotallyObscured, isValid, isVisible, processEvent, processFocusEvent, processMouseEvent, repaint, requestSync, setBackground, setBounds, setBounds, setBounds, setEnabled, setForeground, setLocation, setLocation, setName, setParent, setVisible, show, validate, validateCursesColorpublic static final int LEFT
public static final int CENTER
public static final int RIGHT
public Dimension minimumSize()
minimumSize in class Componentpublic void draw()
Componentpublic Dimension getSize()
public void setText(java.lang.String[] textarray_)
public java.lang.String[] getText()
public boolean isFocusTraversable()
isFocusTraversable in class Componentpublic void processKeyEvent(KeyEvent ke_)
processKeyEvent in class Componentpublic void requestFocus()
requestFocus in class Component