|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JMenuBar gui.Menu
public class Menu
The Menu bar for the application. Draws Menu and adds action listeners for the menu items.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JMenuBar |
---|
javax.swing.JMenuBar.AccessibleJMenuBar |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
private javax.swing.JMenuItem |
itmAbout
|
private javax.swing.JMenuItem |
itmColumnAdd
|
private javax.swing.JMenuItem |
itmColumnDelete
|
private javax.swing.JMenuItem |
itmExit
|
private javax.swing.JMenuItem |
itmExportToDB
|
private javax.swing.JMenuItem |
itmExportToText
|
private javax.swing.JMenuItem |
itmImport
|
private javax.swing.JMenuItem |
itmLF1
|
private javax.swing.JMenuItem |
itmLF2
|
private javax.swing.JMenuItem |
itmLF3
|
private javax.swing.JMenuItem |
itmLF4
|
private javax.swing.JMenuItem |
itmRecordAdd
|
private javax.swing.JMenuItem |
itmRecordDelete
|
private javax.swing.JMenuItem |
itmUserManual
|
private static long |
serialVersionUID
|
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.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 | |
---|---|
Menu(GuiFrame parent)
Constructor for Menu. |
Method Summary | |
---|---|
javax.swing.JMenuItem |
getItmAbout()
|
javax.swing.JMenuItem |
getItmColumnAdd()
|
javax.swing.JMenuItem |
getItmColumnDelete()
|
javax.swing.JMenuItem |
getItmExit()
|
javax.swing.JMenuItem |
getItmExportDB()
|
javax.swing.JMenuItem |
getItmExportText()
|
javax.swing.JMenuItem |
getItmImport()
Getters for the menu items. |
javax.swing.JMenuItem |
getItmLF1()
|
javax.swing.JMenuItem |
getItmLF2()
|
javax.swing.JMenuItem |
getItmLF3()
|
javax.swing.JMenuItem |
getItmLF4()
|
javax.swing.JMenuItem |
getItmRecordAdd()
|
javax.swing.JMenuItem |
getItmRecordDelete()
|
javax.swing.JMenuItem |
getItmTableAddColumn()
|
javax.swing.JMenuItem |
getItmTableDeleteColumn()
|
javax.swing.JMenuItem |
getItmUserManual()
|
void |
setItmColumnAdd(javax.swing.JMenuItem itmColumnAdd)
|
void |
setItmColumnDelete(javax.swing.JMenuItem itmColumnDelete)
|
boolean |
updateDataMenuStatus(boolean showDataMenu)
|
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, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, 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, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, 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 |
---|
private static final long serialVersionUID
private javax.swing.JMenuItem itmImport
private javax.swing.JMenuItem itmExportToText
private javax.swing.JMenuItem itmExportToDB
private javax.swing.JMenuItem itmExit
private javax.swing.JMenuItem itmRecordAdd
private javax.swing.JMenuItem itmRecordDelete
private javax.swing.JMenuItem itmColumnAdd
private javax.swing.JMenuItem itmColumnDelete
private javax.swing.JMenuItem itmLF1
private javax.swing.JMenuItem itmLF2
private javax.swing.JMenuItem itmLF3
private javax.swing.JMenuItem itmLF4
private javax.swing.JMenuItem itmAbout
private javax.swing.JMenuItem itmUserManual
Constructor Detail |
---|
public Menu(GuiFrame parent)
parent
- - GuiFrame.Method Detail |
---|
public javax.swing.JMenuItem getItmImport()
public javax.swing.JMenuItem getItmExportText()
public javax.swing.JMenuItem getItmExportDB()
public javax.swing.JMenuItem getItmRecordAdd()
public javax.swing.JMenuItem getItmRecordDelete()
public javax.swing.JMenuItem getItmTableAddColumn()
public javax.swing.JMenuItem getItmTableDeleteColumn()
public javax.swing.JMenuItem getItmUserManual()
public javax.swing.JMenuItem getItmExit()
public javax.swing.JMenuItem getItmAbout()
public javax.swing.JMenuItem getItmLF1()
public javax.swing.JMenuItem getItmLF2()
public javax.swing.JMenuItem getItmLF3()
public javax.swing.JMenuItem getItmLF4()
public javax.swing.JMenuItem getItmColumnAdd()
public void setItmColumnAdd(javax.swing.JMenuItem itmColumnAdd)
public javax.swing.JMenuItem getItmColumnDelete()
public void setItmColumnDelete(javax.swing.JMenuItem itmColumnDelete)
public boolean updateDataMenuStatus(boolean showDataMenu)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |