|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
jfreerails.client.view.ServerControlModel.SetTargetTicksPerSecondAction
private class ServerControlModel.SetTargetTicksPerSecondAction
Field Summary | |
---|---|
private static long |
serialVersionUID
|
(package private) int |
speed
|
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
ServerControlModel.SetTargetTicksPerSecondAction(java.lang.String name,
int speed,
int keyEvent)
Same as the constructor above but it enables also to associate a keyEvent with the action. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
final int speed
Constructor Detail |
---|
public ServerControlModel.SetTargetTicksPerSecondAction(java.lang.String name, int speed, int keyEvent)
keyEvent
with the action.
name
- action namespeed
- speedkeyEvent
- associated key event. Use values from
KeyEvent.
by MystiqueAgent
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |