java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JMenuBar
org.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 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 |
| Fields inherited from class javax.swing.JMenuBar |
|
| Fields inherited from class java.awt.Container |
|
|
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 |
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
MenuBar
public MenuBar(javax.swing.event.MenuListener menu_listener)
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.