example.charva
Class Example

java.lang.Object
  extended by charva.awt.Component
      extended by charva.awt.Container
          extended by charva.awt.Window
              extended by charva.awt.Frame
                  extended by charvax.swing.JFrame
                      extended by example.charva.Example
All Implemented Interfaces:
ActionListener, EventListener, java.lang.Runnable

public class Example
extends JFrame
implements ActionListener

This application demonstrates how a Charva application is structured and how each of the Charva features works.


Field Summary
 
Fields inherited from class charvax.swing.JFrame
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
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
Example()
          Constructor
 
Method Summary
 void actionPerformed(ActionEvent e)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class charvax.swing.JFrame
getContentPane, minimumSize, setBackground, setDefaultCloseOperation, setForeground, setJMenuBar
 
Methods inherited from class charva.awt.Frame
draw, getTitle, setTitle
 
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, nextFocus, previousFocus, processKeyEvent, remove, requestFocus, setFocus, 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

Example

public Example()
Constructor

Method Detail

main

public static void main(java.lang.String[] args)

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener