cz.cuni.amis.nb.pogamut.base.server
Class ServerNode.ServerUpAction<T extends cz.cuni.amis.pogamut.base.server.IWorldServer>
java.lang.Object
javax.swing.AbstractAction
cz.cuni.amis.nb.pogamut.base.NamedAction
cz.cuni.amis.nb.pogamut.base.server.ServerNode.ServerUpAction<T>
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- ServerNode<T extends ServerDefinition>
public abstract static class ServerNode.ServerUpAction<T extends cz.cuni.amis.pogamut.base.server.IWorldServer>
- extends NamedAction
Action that is enabled only when the server is not null.
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
ServerNode.ServerUpAction
public ServerNode.ServerUpAction(String key,
Class cls,
ServerDefinition<T> def)
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface Action- Overrides:
isEnabled in class AbstractAction
getServer
protected T getServer()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.