 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.gui.commands;
27 import org.jetbrains.annotations.NotNull;
boolean canExecute()
Returns whether this command may be executed.
A GUIElement that displays a list of entries.
boolean canScroll(final int distance)
Returns whether the list can be scrolled.
final int diffElements
The distance in elements to scroll.
MoveSelectionCommand(@NotNull final GUIList<?> list, final int diffLines, final int diffElements)
Creates a new instance.
final int diffLines
The distance in lines to scroll.
void execute()
Executes the command.
final GUIList<?> list
The list to scroll.
void scroll(final int distance)
Moves the list.
boolean canMoveSelection(final int diffLines, final int diffElements)
Returns whether the selection can be moved.
void moveSelection(final int diffLines, final int diffElements)
Moves the selection.
A GUICommand which moves the selection in a GUIList element.