zeus.visualiser.control
Class ControlMenuBar

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JMenuBar
                  extended byzeus.visualiser.control.ControlMenuBar
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.MenuElement, java.io.Serializable

public class ControlMenuBar
extends javax.swing.JMenuBar
implements java.awt.event.ActionListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JMenuBar
javax.swing.JMenuBar.AccessibleJMenuBar
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  javax.swing.JMenuItem about
           
protected  javax.swing.JMenuItem add_fact
           
protected  javax.swing.JMenuItem add_goal
           
protected  javax.swing.JMenuItem add_rel
           
protected  javax.swing.JMenuItem add_sgy
           
protected  javax.swing.JMenuItem add_task
           
protected  javax.swing.JMenu agentMenu
           
protected  javax.swing.JMenuItem browse_agent
           
protected  javax.swing.JMenuItem browse_fact
           
protected  javax.swing.JMenuItem browse_goal
           
protected  javax.swing.JMenuItem browse_rel
           
protected  javax.swing.JMenuItem browse_sgy
           
protected  javax.swing.JMenuItem browse_task
           
protected  javax.swing.JMenuItem cc_fact
           
protected  javax.swing.JMenuItem cc_goal
           
protected  javax.swing.JMenuItem cc_rel
           
protected  javax.swing.JMenuItem cc_sgy
           
protected  javax.swing.JMenuItem cc_task
           
protected static int CHECK
           
protected  javax.swing.JMenuItem command
           
protected  javax.swing.JMenuItem connect
           
protected  javax.swing.JMenu coordMenu
           
protected  javax.swing.JMenuItem disconnect
           
protected  javax.swing.JMenuItem exit
           
protected  javax.swing.JMenu fileMenu
           
protected  javax.swing.JMenu goalMenu
           
protected  javax.swing.JMenuItem help
           
protected  javax.swing.JMenu helpMenu
           
protected  javax.swing.JMenuItem load
           
protected  javax.swing.JMenu orgMenu
           
protected static int PLAIN
           
protected static int RADIO
           
protected  javax.swing.JMenu societyMenu
           
protected  javax.swing.JMenuItem tune_agent
           
protected  javax.swing.JMenuItem uncc_fact
           
protected  javax.swing.JMenuItem uncc_goal
           
protected  javax.swing.JMenuItem uncc_rel
           
protected  javax.swing.JMenuItem uncc_sgy
           
protected  javax.swing.JMenuItem uncc_task
           
protected  ControlTool view
           
 
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
ControlMenuBar(ControlTool view)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
private  javax.swing.JMenuItem createMenuItem(javax.swing.JMenu menu, int type, java.lang.String text, int accelKey)
           
 
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

protected javax.swing.JMenu fileMenu

agentMenu

protected javax.swing.JMenu agentMenu

goalMenu

protected javax.swing.JMenu goalMenu

orgMenu

protected javax.swing.JMenu orgMenu

coordMenu

protected javax.swing.JMenu coordMenu

societyMenu

protected javax.swing.JMenu societyMenu

helpMenu

protected javax.swing.JMenu helpMenu

connect

protected javax.swing.JMenuItem connect

disconnect

protected javax.swing.JMenuItem disconnect

exit

protected javax.swing.JMenuItem exit

load

protected javax.swing.JMenuItem load

browse_agent

protected javax.swing.JMenuItem browse_agent

tune_agent

protected javax.swing.JMenuItem tune_agent

command

protected javax.swing.JMenuItem command

cc_fact

protected javax.swing.JMenuItem cc_fact

uncc_fact

protected javax.swing.JMenuItem uncc_fact

browse_fact

protected javax.swing.JMenuItem browse_fact

add_fact

protected javax.swing.JMenuItem add_fact

cc_task

protected javax.swing.JMenuItem cc_task

uncc_task

protected javax.swing.JMenuItem uncc_task

browse_task

protected javax.swing.JMenuItem browse_task

add_task

protected javax.swing.JMenuItem add_task

cc_rel

protected javax.swing.JMenuItem cc_rel

uncc_rel

protected javax.swing.JMenuItem uncc_rel

browse_rel

protected javax.swing.JMenuItem browse_rel

add_rel

protected javax.swing.JMenuItem add_rel

cc_sgy

protected javax.swing.JMenuItem cc_sgy

uncc_sgy

protected javax.swing.JMenuItem uncc_sgy

browse_sgy

protected javax.swing.JMenuItem browse_sgy

add_sgy

protected javax.swing.JMenuItem add_sgy

browse_goal

protected javax.swing.JMenuItem browse_goal

add_goal

protected javax.swing.JMenuItem add_goal

cc_goal

protected javax.swing.JMenuItem cc_goal

uncc_goal

protected javax.swing.JMenuItem uncc_goal

help

protected javax.swing.JMenuItem help

about

protected javax.swing.JMenuItem about

view

protected ControlTool view

CHECK

protected static final int CHECK
See Also:
Constant Field Values

PLAIN

protected static final int PLAIN
See Also:
Constant Field Values

RADIO

protected static final int RADIO
See Also:
Constant Field Values
Constructor Detail

ControlMenuBar

public ControlMenuBar(ControlTool view)
Method Detail

createMenuItem

private javax.swing.JMenuItem createMenuItem(javax.swing.JMenu menu,
                                             int type,
                                             java.lang.String text,
                                             int accelKey)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.