Crossfire JXClient, Trunk
Public Member Functions | Private Attributes | List of all members
com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand Class Reference
Inheritance diagram for com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand:
Collaboration graph

Public Member Functions

boolean canExecute ()
 
void execute ()
 
 MoveSelectionCommand (@NotNull final GUIList<?> list, final int diffLines, final int diffElements)
 

Private Attributes

final int diffElements
 
final int diffLines
 
final GUIList<?> list
 

Detailed Description

A GUICommand which moves the selection in a GUIList element.

Author
Andreas Kirschbaum

Definition at line 33 of file MoveSelectionCommand.java.

Constructor & Destructor Documentation

◆ MoveSelectionCommand()

com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.MoveSelectionCommand ( @NotNull final GUIList<?>  list,
final int  diffLines,
final int  diffElements 
)

Creates a new instance.

Parameters
listthe list to scroll
diffLinesthe distance in lines to scroll
diffElementsthe distance in elements to scroll

Definition at line 57 of file MoveSelectionCommand.java.

References com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.diffElements, com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.diffLines, and com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.list.

Member Function Documentation

◆ canExecute()

boolean com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.canExecute ( )

◆ execute()

void com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.execute ( )

Member Data Documentation

◆ diffElements

final int com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.diffElements
private

◆ diffLines

final int com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.diffLines
private

◆ list

final GUIList<?> com.realtime.crossfire.jxclient.gui.commands.MoveSelectionCommand.list
private

The documentation for this class was generated from the following file: