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

Public Member Functions

void dispose ()
 
 MapScrollSkinEvent (@NotNull final CommandList commandList, @NotNull final MapUpdaterState mapUpdaterState)
 

Private Attributes

final CommandList commandList
 
final MapScrollListener mapscrollListener
 
final MapUpdaterState mapUpdaterState
 

Detailed Description

A SkinEvent that executes a CommandList whenever the map scroll protocol command is received.

Author
Andreas Kirschbaum

Definition at line 35 of file MapScrollSkinEvent.java.

Constructor & Destructor Documentation

◆ MapScrollSkinEvent()

com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.MapScrollSkinEvent ( @NotNull final CommandList  commandList,
@NotNull final MapUpdaterState  mapUpdaterState 
)

Member Function Documentation

◆ dispose()

void com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.dispose ( )

Member Data Documentation

◆ commandList

final CommandList com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.commandList
private

◆ mapscrollListener

final MapScrollListener com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.mapscrollListener
private
Initial value:
= new MapScrollListener() {
@Override
public void mapScrolled(final int dx, final int dy) {
}
}

The MapScrollListener attached to mapUpdaterState.

Definition at line 53 of file MapScrollSkinEvent.java.

Referenced by com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.dispose(), and com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.MapScrollSkinEvent().

◆ mapUpdaterState

final MapUpdaterState com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.mapUpdaterState
private

The documentation for this class was generated from the following file:
com.realtime.crossfire.jxclient.gui.commandlist.CommandList.execute
void execute()
Definition: CommandList.java:99
com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.commandList
final CommandList commandList
Definition: MapScrollSkinEvent.java:41