universe.client.gui
Class MainMenu

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JMenuBar
                          |
                          +--universe.client.gui.MainMenu
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.MenuElement, java.io.Serializable

class MainMenu
extends javax.swing.JMenuBar

Version:
$Id: MainMenu.java,v 1.2 2002/05/19 18:07:18 brianrater Exp $
Author:
Sean Starkey

Field Summary
private  javax.swing.JMenuItem F_Exit
           
private  javax.swing.JMenuItem F_Save
           
private  javax.swing.JMenu fileMenu
           
private  javax.swing.JFrame frame
           
private  javax.swing.JMenuItem G_AddScript
           
private  javax.swing.JMenuItem G_ScriptRepository
           
private  javax.swing.JMenuItem G_Submit
           
private  javax.swing.JMenu gameMenu
           
private  javax.swing.JMenuItem H_About
           
private  javax.swing.JMenuItem H_GPL
           
private  javax.swing.JMenuItem H_Manual
           
private  javax.swing.JMenu helpMenu
           
private  javax.swing.JMenuItem modifyGroup
           
private  javax.swing.JMenuItem O_Options
           
private  javax.swing.JMenuItem openGroup
           
private  javax.swing.JMenu optionsMenu
           
private  javax.swing.JMenu resourceGroupsMenu
           
private  javax.swing.JMenuItem W_Alien
           
private  javax.swing.JMenuItem W_Fleet
           
private  javax.swing.JMenuItem W_Galaxy
           
private  javax.swing.JMenuItem W_Map
           
private  javax.swing.JMenuItem W_Planet
           
private  javax.swing.JMenuItem W_Query
           
private  javax.swing.JMenuItem W_Station
           
private  javax.swing.JMenuItem W_System
           
private  javax.swing.JMenuItem W_Technology
           
private  javax.swing.JMenuItem W_Wormhole
           
private  javax.swing.JMenu windowMenu
           
 
Fields inherited from class javax.swing.JMenuBar
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Container
 
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
(package private) MainMenu(javax.swing.JFrame in_frame)
          Create main menu
 
Methods inherited from class javax.swing.JMenuBar
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, getUIClassID, isBorderPainted, isSelected, menuSelectionChanged, paintBorder, paramString, processKeyBinding, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fileMenu

private javax.swing.JMenu fileMenu

F_Save

private javax.swing.JMenuItem F_Save

F_Exit

private javax.swing.JMenuItem F_Exit

gameMenu

private javax.swing.JMenu gameMenu

G_Submit

private javax.swing.JMenuItem G_Submit

G_AddScript

private javax.swing.JMenuItem G_AddScript

G_ScriptRepository

private javax.swing.JMenuItem G_ScriptRepository

windowMenu

private javax.swing.JMenu windowMenu

W_Map

private javax.swing.JMenuItem W_Map

W_Galaxy

private javax.swing.JMenuItem W_Galaxy

W_System

private javax.swing.JMenuItem W_System

W_Planet

private javax.swing.JMenuItem W_Planet

W_Wormhole

private javax.swing.JMenuItem W_Wormhole

W_Station

private javax.swing.JMenuItem W_Station

W_Fleet

private javax.swing.JMenuItem W_Fleet

W_Technology

private javax.swing.JMenuItem W_Technology

W_Alien

private javax.swing.JMenuItem W_Alien

W_Query

private javax.swing.JMenuItem W_Query

optionsMenu

private javax.swing.JMenu optionsMenu

O_Options

private javax.swing.JMenuItem O_Options

resourceGroupsMenu

private javax.swing.JMenu resourceGroupsMenu

openGroup

private javax.swing.JMenuItem openGroup

modifyGroup

private javax.swing.JMenuItem modifyGroup

helpMenu

private javax.swing.JMenu helpMenu

H_About

private javax.swing.JMenuItem H_About

H_Manual

private javax.swing.JMenuItem H_Manual

H_GPL

private javax.swing.JMenuItem H_GPL

frame

private javax.swing.JFrame frame
Constructor Detail

MainMenu

MainMenu(javax.swing.JFrame in_frame)
Create main menu



Copyright © 2001 Universe Dev Team All Rights Reserved.