Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.greenstone.gatherer.gui
Class MenuBar  view MenuBar download MenuBar.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JMenuBar
                  extended byorg.greenstone.gatherer.gui.MenuBar
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.MenuElement, java.io.Serializable

public class MenuBar
extends javax.swing.JMenuBar

The menu bar for the Gatherer main GUI.

Version:
2.2

Nested Class Summary
 class MenuBar.MagicMenuItem
           
 
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
private  int current_tab
          The icon to be displayed alongside the context choosen help file.
private  javax.swing.JMenu edit
           
 javax.swing.JMenuItem edit_copy
           
 javax.swing.JMenuItem edit_cut
           
 javax.swing.JMenuItem edit_paste
           
 javax.swing.JMenuItem edit_redo
           
 javax.swing.JMenuItem edit_replace
           
 javax.swing.JMenuItem edit_search
           
 javax.swing.JMenuItem edit_undo
           
private  javax.swing.JMenu file
           
 javax.swing.JMenuItem file_associations
           
 javax.swing.JMenuItem file_close
           
 javax.swing.JMenuItem file_delete
           
 javax.swing.JMenuItem file_exit
           
 javax.swing.JMenuItem file_export
           
 javax.swing.JMenuItem file_new
           
 javax.swing.JMenuItem file_open
           
 javax.swing.JMenuItem file_options
           
 javax.swing.JMenuItem file_save
           
 javax.swing.JMenuItem file_save_as
           
 javax.swing.JMenu help
           
 javax.swing.JMenuItem help_about
           
 javax.swing.JMenuItem help_browse
           
 javax.swing.JMenuItem help_build
           
 javax.swing.JMenuItem help_collect
           
 javax.swing.JMenuItem help_design
           
 javax.swing.JMenuItem help_export
           
 javax.swing.JMenuItem help_general
           
 javax.swing.JMenuItem help_metaedit
           
 javax.swing.JMenuItem help_mirror
           
 javax.swing.JMenuItem help_preview
           
private  javax.swing.JMenu metadata
           
 javax.swing.JMenuItem metadata_edit
           
 javax.swing.JMenuItem metadata_export
           
 javax.swing.JMenuItem metadata_import
           
 MenuBar.MagicMenuItem metadata_view
           
private  javax.swing.JMenu tools
           
 javax.swing.JMenuItem tools_log
           
 javax.swing.JMenuItem tools_size
           
 
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
MenuBar(javax.swing.event.MenuListener menu_listener)
           
 
Method Summary
 void collectionChanged(boolean ready)
           
 void exit()
          Once a quit has been requested by the user, prevent any further menu selections.
 void setMetaAuditSuffix(java.lang.String metaaudit_suffix)
           
 void tabSelected(int tab_index)
          In order to provide context aware help advice we keep track of which tab the user has open, and then highlight that help menu item with separators.
 
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, swapComponents, 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, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

current_tab

private int current_tab
The icon to be displayed alongside the context choosen help file.


file

private javax.swing.JMenu file

edit

private javax.swing.JMenu edit

metadata

private javax.swing.JMenu metadata

tools

private javax.swing.JMenu tools

help

public javax.swing.JMenu help

file_associations

public javax.swing.JMenuItem file_associations

file_close

public javax.swing.JMenuItem file_close

file_delete

public javax.swing.JMenuItem file_delete

file_exit

public javax.swing.JMenuItem file_exit

file_export

public javax.swing.JMenuItem file_export

file_new

public javax.swing.JMenuItem file_new

file_open

public javax.swing.JMenuItem file_open

file_options

public javax.swing.JMenuItem file_options

file_save

public javax.swing.JMenuItem file_save

file_save_as

public javax.swing.JMenuItem file_save_as

edit_copy

public javax.swing.JMenuItem edit_copy

edit_cut

public javax.swing.JMenuItem edit_cut

edit_paste

public javax.swing.JMenuItem edit_paste

edit_undo

public javax.swing.JMenuItem edit_undo

edit_redo

public javax.swing.JMenuItem edit_redo

edit_replace

public javax.swing.JMenuItem edit_replace

edit_search

public javax.swing.JMenuItem edit_search

metadata_import

public javax.swing.JMenuItem metadata_import

metadata_edit

public javax.swing.JMenuItem metadata_edit

metadata_export

public javax.swing.JMenuItem metadata_export

tools_log

public javax.swing.JMenuItem tools_log

tools_size

public javax.swing.JMenuItem tools_size

help_about

public javax.swing.JMenuItem help_about

help_browse

public javax.swing.JMenuItem help_browse

help_build

public javax.swing.JMenuItem help_build

help_collect

public javax.swing.JMenuItem help_collect

help_design

public javax.swing.JMenuItem help_design

help_export

public javax.swing.JMenuItem help_export

help_general

public javax.swing.JMenuItem help_general

help_metaedit

public javax.swing.JMenuItem help_metaedit

help_mirror

public javax.swing.JMenuItem help_mirror

help_preview

public javax.swing.JMenuItem help_preview

metadata_view

public MenuBar.MagicMenuItem metadata_view
Constructor Detail

MenuBar

public MenuBar(javax.swing.event.MenuListener menu_listener)
Method Detail

collectionChanged

public void collectionChanged(boolean ready)

exit

public void exit()
Once a quit has been requested by the user, prevent any further menu selections.


setMetaAuditSuffix

public void setMetaAuditSuffix(java.lang.String metaaudit_suffix)

tabSelected

public void tabSelected(int tab_index)
In order to provide context aware help advice we keep track of which tab the user has open, and then highlight that help menu item with separators.