|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JMenuBar
de.unihalle.informatik.Alida.grappa.ALDGrappaMenuBar
public class ALDGrappaMenuBar
Menu bar for Grappa window.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JMenuBar |
---|
JMenuBar.AccessibleJMenuBar |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected ImageIcon |
aboutIcon
Icon to be shown in about box. |
protected ALDGrappaFrame |
grappaMainWin
Reference to main window of grappa. |
protected ALDOperatorChooserTree |
opTree
Reference to the operator chooser tree of window this menubar belongs to. |
protected ALDGrappaWorkbench |
workBench
Reference to the workbench of window this menubar belongs to. |
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 | |
---|---|
ALDGrappaMenuBar(ALDGrappaFrame _grappaMainWin,
ALDOperatorChooserTree _opTree,
ALDGrappaWorkbench _workBench)
Default constructor |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent ev)
|
protected JMenu |
generateHelpMenu()
Function to setup the help menu. |
protected void |
setupAboutIcon()
Method to initialize the Grappa icon in the about box. |
protected void |
setupMenu()
Generates the menubar. |
protected void |
showAboutBox()
Show an about box window. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ALDGrappaFrame grappaMainWin
protected ALDOperatorChooserTree opTree
protected ALDGrappaWorkbench workBench
protected ImageIcon aboutIcon
Constructor Detail |
---|
public ALDGrappaMenuBar(ALDGrappaFrame _grappaMainWin, ALDOperatorChooserTree _opTree, ALDGrappaWorkbench _workBench)
Method Detail |
---|
protected void setupMenu()
protected void setupAboutIcon()
protected JMenu generateHelpMenu()
public void actionPerformed(ActionEvent ev)
actionPerformed
in interface ActionListener
protected void showAboutBox()
Method is supposed to be overwritten by subclasses.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |