Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | canExecute () |
void | execute () |
ScrollResetCommand (@NotNull final GUIScrollable scrollable) | |
Private Attributes | |
final GUIScrollable | scrollable |
A GUICommand which resets the scroll position of a GUIScrollable.
Definition at line 34 of file ScrollResetCommand.java.
com.realtime.crossfire.jxclient.gui.commands.ScrollResetCommand.ScrollResetCommand | ( | @NotNull final GUIScrollable | scrollable | ) |
Creates a new instance.
scrollable | the scrollable gui element to reset |
Definition at line 46 of file ScrollResetCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.ScrollResetCommand.scrollable.
boolean com.realtime.crossfire.jxclient.gui.commands.ScrollResetCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 51 of file ScrollResetCommand.java.
void com.realtime.crossfire.jxclient.gui.commands.ScrollResetCommand.execute | ( | ) |
Executes the command. Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 56 of file ScrollResetCommand.java.
References com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable.resetScroll(), and com.realtime.crossfire.jxclient.gui.commands.ScrollResetCommand.scrollable.
|
private |
The scrollable gui element to reset.
Definition at line 40 of file ScrollResetCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.ScrollResetCommand.execute(), and com.realtime.crossfire.jxclient.gui.commands.ScrollResetCommand.ScrollResetCommand().