|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--charva.awt.Component | +--charva.awt.Container | +--charva.awt.Window | +--charva.awt.Frame
A Frame is a top-level window with a title and a border.
Field Summary |
Fields inherited from class charva.awt.Window |
_term |
Fields inherited from class charva.awt.Container |
_components, _currentFocus, _insets, _isValid, _layoutMgr, _minimumSize, _size |
Fields inherited from class charva.awt.Component |
_alignmentX, _alignmentY, _background, _cursesColor, _enabled, _focusListeners, _foreground, _keyListeners, _origin, _parent, _visible, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Constructor Summary | |
Frame()
|
|
Frame(java.lang.String title_)
|
Method Summary | |
void |
draw()
Draw all the components in this window, and request the keyboard focus. |
java.lang.String |
getTitle()
Return this Frame's title, or an empty string if the frame does not have a tile. |
void |
setTitle(java.lang.String title_)
|
Methods inherited from class charva.awt.Window |
addWindowListener, adjustLocation, debug, getLocationOnScreen, getOwner, hide, isDisplayed, isFocusTraversable, pack, processEvent, processWindowEvent, run, show |
Methods inherited from class charva.awt.Container |
add, add, doLayout, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getCurrentFocus, getHeight, getInsets, getSize, getWidth, invalidate, isValid, minimumSize, nextFocus, previousFocus, processKeyEvent, remove, requestFocus, setBackground, setFocus, setForeground, setHeight, setLayout, setSize, setSize, setWidth, validate |
Methods inherited from class charva.awt.Component |
addFocusListener, addKeyListener, contains, contains, getAlignmentX, getAlignmentY, getAncestorWindow, getBackground, getBounds, getCursesColor, getForeground, getLocation, getName, getParent, hasFocus, isEnabled, isTotallyObscured, isVisible, processFocusEvent, processMouseEvent, repaint, requestSync, setEnabled, setLocation, setLocation, setName, setParent, setVisible, validateCursesColor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Frame()
public Frame(java.lang.String title_)
Method Detail |
public void setTitle(java.lang.String title_)
public java.lang.String getTitle()
public void draw()
Window
draw
in class Window
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |