Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | canExecute () |
void | execute () |
ScrollNeverCommand (final int distance, @NotNull final GUIScrollable scrollable) | |
Private Attributes | |
final int | distance |
final GUIScrollable | scrollable |
A GUICommand which scrolls a target GUIScrollable gui element if executed but always reports that scrolling is not possible.
Definition at line 34 of file ScrollNeverCommand.java.
com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.ScrollNeverCommand | ( | final int | distance, |
@NotNull final GUIScrollable | scrollable | ||
) |
Creates a new instance.
distance | the distance to scroll |
scrollable | the scrollable element |
Definition at line 52 of file ScrollNeverCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.distance, and com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.scrollable.
boolean com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 58 of file ScrollNeverCommand.java.
void com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.execute | ( | ) |
Executes the command. Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 63 of file ScrollNeverCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.distance, com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable.scroll(), and com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.scrollable.
|
private |
The distance to scroll.
Definition at line 39 of file ScrollNeverCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.execute(), and com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.ScrollNeverCommand().
|
private |
The scrollable element.
Definition at line 45 of file ScrollNeverCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.execute(), and com.realtime.crossfire.jxclient.gui.commands.ScrollNeverCommand.ScrollNeverCommand().