|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.MenuComponent java.awt.MenuItem java.awt.Menu jsim.animator.AnimationMenu
public class AnimationMenu
The ModelMenu class defines the main menu for simulation models.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Menu |
---|
java.awt.Menu.AccessibleAWTMenu |
Nested classes/interfaces inherited from class java.awt.MenuItem |
---|
java.awt.MenuItem.AccessibleAWTMenuItem |
Nested classes/interfaces inherited from class java.awt.MenuComponent |
---|
java.awt.MenuComponent.AccessibleAWTMenuComponent |
Constructor Summary | |
---|---|
AnimationMenu(AnimationImp env,
Model mod)
Construct a control menu for the Animator |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
Handle menu events. |
Methods inherited from class java.awt.Menu |
---|
add, add, addNotify, addSeparator, countItems, getAccessibleContext, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify |
Methods inherited from class java.awt.MenuItem |
---|
addActionListener, deleteShortcut, disable, disableEvents, enable, enable, enableEvents, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, processActionEvent, processEvent, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut |
Methods inherited from class java.awt.MenuComponent |
---|
dispatchEvent, getFont, getName, getParent, getPeer, getTreeLock, postEvent, setFont, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Constructor Detail |
---|
public AnimationMenu(AnimationImp env, Model mod)
env
- containing AnimationImpmod
- containing modelMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
evt
- menu selection event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |