org.omegahat.Environment.GUI
Class omega

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--javax.swing.JApplet
                                |
                                +--org.omegahat.Environment.GUI.omega
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable

public class omega
extends javax.swing.JApplet

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JApplet
javax.swing.JApplet.AccessibleJApplet
 
Inner classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Inner classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
protected  java.util.Hashtable frames
          Hashtable for the different windows/frames in the system.
protected  EvaluatorManager manager
          Store the command line arguments for convenient access by the different elements of the system.
 
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
omega()
           
omega(EvaluatorManager mgr, boolean init)
           
omega(java.lang.String[] args)
           
 
Method Summary
 java.lang.String[] args()
          Get the command line arguments used to start this application.
 java.lang.String[] args(java.lang.String[] a)
          Set the command line arguments.
 boolean closeFrame(javax.swing.JFrame frame)
           
protected  javax.swing.JFrame createGUI()
           
protected  javax.swing.JFrame createGUI(boolean show)
          Create a new frame.
 java.util.Hashtable frames()
           
 javax.swing.JFrame getFrame()
          Get the first frame returned by the hashtable
 javax.swing.JFrame getFrame(int which)
          The frames should be stored in the order they were created in a parallel vector.
 javax.swing.JFrame getFrame(java.lang.String name)
          Get a particular frame by name
 void init()
          Create the interface.
static void main(java.lang.String[] args)
          Entry point for the application.
 EvaluatorManager manager()
           
 javax.swing.JFrame newFrame()
          Create a new frame and register it with the application etc.
 void quit()
           
 void quit(int status)
           
 java.lang.String setLookAndFeel()
           
 
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

manager

protected EvaluatorManager manager
Store the command line arguments for convenient access by the different elements of the system.

frames

protected java.util.Hashtable frames
Hashtable for the different windows/frames in the system.
Constructor Detail

omega

public omega(java.lang.String[] args)

omega

public omega()

omega

public omega(EvaluatorManager mgr,
             boolean init)
Method Detail

main

public static void main(java.lang.String[] args)
Entry point for the application.

init

public void init()
Create the interface. Entry point for the applet.
Overrides:
init in class java.applet.Applet

createGUI

protected javax.swing.JFrame createGUI()

createGUI

protected javax.swing.JFrame createGUI(boolean show)
Create a new frame. Optionally display it.

newFrame

public javax.swing.JFrame newFrame()
Create a new frame and register it with the application etc.

closeFrame

public boolean closeFrame(javax.swing.JFrame frame)

getFrame

public javax.swing.JFrame getFrame(java.lang.String name)
Get a particular frame by name

getFrame

public javax.swing.JFrame getFrame()
Get the first frame returned by the hashtable

getFrame

public javax.swing.JFrame getFrame(int which)
The frames should be stored in the order they were created in a parallel vector. This method will get the which'th frame in this list.

frames

public java.util.Hashtable frames()

quit

public void quit()

quit

public void quit(int status)

manager

public EvaluatorManager manager()

args

public java.lang.String[] args()
Get the command line arguments used to start this application. This queries the values from the EvaluatorManager which holds these as they are shared across evaluators created in this application.

args

public java.lang.String[] args(java.lang.String[] a)
Set the command line arguments.

setLookAndFeel

public java.lang.String setLookAndFeel()