jTracer
1.03
Stack trace visualization tool
|
Main application menubar equipped with a dynamic UI updating mechanism. More...
Public Member Functions | |
void | setSelectedSession (int sel) |
Update the session list menu to show the currently selected session. More... | |
void | listSessions (Vector list, int sel) |
Update the session list menu. More... | |
boolean | getToggleState (int index) |
Get the state of a toggle menu item. More... | |
void | actionPerformed (ActionEvent event) |
Handler for toggle menu item action events. More... | |
void | propertyChange (PropertyChangeEvent event) |
Handler for events fired when UI properties change. More... | |
Private Member Functions | |
JMenuItem | createItem (String text, int mnemonic, int accel) |
Create a menu item. More... | |
JMenuItem | createToggle (String text, int index, int mnemonic) |
Create a toggle menu item. More... | |
void | renderItem (Component c, int menu, int i, String key, Object val) |
Update the UI state of a single menu item. More... | |
Private Attributes | |
boolean | toggleStates [] = {true, true, false} |
State of the toggle menu items. More... | |
ActionListener | handler = null |
Event handler. More... | |
Static Private Attributes | |
static final long | serialVersionUID = 0x00 |
Class version. More... | |
Main application menubar equipped with a dynamic UI updating mechanism.
Definition at line 35 of file MenuBar.java.