Crossfire JXClient, Trunk
|
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 |
A SkinEvent that executes a CommandList whenever the map scroll protocol command is received.
Definition at line 35 of file MapScrollSkinEvent.java.
com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.MapScrollSkinEvent | ( | @NotNull final CommandList | commandList, |
@NotNull final MapUpdaterState | mapUpdaterState | ||
) |
Creates a new instance.
commandList | the command list to execute |
mapUpdaterState | the map updater state to attach to |
Definition at line 67 of file MapScrollSkinEvent.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.addCrossfireMapScrollListener(), com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.commandList, com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.mapscrollListener, and com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.mapUpdaterState.
void com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.dispose | ( | ) |
Will be called when the skin is disposed. Should release resources.
Implements com.realtime.crossfire.jxclient.skin.events.SkinEvent.
Definition at line 74 of file MapScrollSkinEvent.java.
References com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.mapscrollListener, com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.mapUpdaterState, and com.realtime.crossfire.jxclient.map.MapUpdaterState.removeCrossfireMapScrollListener().
|
private |
The CommandList to execute.
Definition at line 41 of file MapScrollSkinEvent.java.
Referenced by com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.MapScrollSkinEvent().
|
private |
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().
|
private |
The MapUpdaterState to attach to.
Definition at line 47 of file MapScrollSkinEvent.java.
Referenced by com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.dispose(), and com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.MapScrollSkinEvent().