Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class OME.OME

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--com.sun.java.swing.JFrame
                                |
                                +--OME.OME

public class OME
extends com.sun.java.swing.JFrame
implements Views
This is the the main class for OME 3. It creates the main frame window, with menubar and a list of Models, and their views. . Note: the visible view list is yet to be implemented.

See Also:
GraphicViewFrame, Serialized Form

Inner classes inherited from class com.sun.java.swing.JFrame
com.sun.java.swing.JFrame.AccessibleJFrame
 
Fields inherited from class com.sun.java.swing.JFrame
accessibleContext, rootPaneCheckingEnabled, rootPane
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
OME()
          Constructs the main frame window.
 
Method Summary
com.sun.java.swing.JMenuItem addMenuItem(com.sun.java.swing.JMenu menu, int nID, java.lang.String sText, char cAccell, java.lang.String sImageFile)
          Creates a menu item and add it to the main menu.
com.sun.java.swing.JMenuBar createMenuBar()
          Creates the menu for the main frame window.
static void main(java.lang.String[] args)
          Begins the Program.
void makeAction(int commandID)
          Processes events on the mainmenu.
 
Methods inherited from class com.sun.java.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, processKeyEvent, processWindowEvent, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPaneCheckingEnabled, setRootPane, update
 
Methods inherited from class java.awt.Frame
addNotify, dispose, finalize, getCursorType, getFrames, getIconImage, getMenuBar, getTitle, isResizable, paramString, remove, setCursor, setIconImage, setMenuBar, setResizable, setTitle
 
Methods inherited from class java.awt.Window
addNotify, addWindowListener, applyResourceBundle, applyResourceBundle, dispose, getFocusOwner, getInputContext, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, processEvent, processWindowEvent, removeWindowListener, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addNotify, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponentAt, getComponentAt, getComponent, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paint, paramString, preferredSize, printComponents, print, processContainerEvent, processEvent, removeAll, remove, remove, removeContainerListener, removeNotify, setLayout, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paint, paramString, postEvent, preferredSize, prepareImage, prepareImage, printAll, print, processComponentEvent, processEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

OME

public OME()
Constructs the main frame window.
Method Detail

createMenuBar

protected com.sun.java.swing.JMenuBar createMenuBar()
Creates the menu for the main frame window.

addMenuItem

protected com.sun.java.swing.JMenuItem addMenuItem(com.sun.java.swing.JMenu menu,
                                int nID,
                                java.lang.String sText,
                                char cAccell,
                                java.lang.String sImageFile)
Creates a menu item and add it to the main menu.
Parameters:
menu - The menu to which the menu item belongs.
nID - The command ID needed for the ActionListener.
sText - The name of the menu item.
cAccell - The accelerater key.
sImageFile - The file name of the menu image.
Returns:
The newly created menu item.

makeAction

protected void makeAction(int commandID)
Processes events on the mainmenu.
Parameters:
commandID - The ID corresponding to each menu item.

main

public static void main(java.lang.String[] args)
Begins the Program.
Parameters:
args - Command line parameter.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD