charva.awt
Class Frame

java.lang.Object
  extended by charva.awt.Component
      extended by charva.awt.Container
          extended by charva.awt.Window
              extended by charva.awt.Frame
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
JFrame

public class Frame
extends Window

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, setBounds, setBounds, setBounds, 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

Frame

public Frame()

Frame

public Frame(java.lang.String title_)
Method Detail

setTitle

public void setTitle(java.lang.String title_)

getTitle

public java.lang.String getTitle()
Return this Frame's title, or an empty string if the frame does not have a tile.


draw

public void draw()
Description copied from class: Window
Draw all the components in this window, and request the keyboard focus.

Overrides:
draw in class Window