com.realtime.crossfire.jxclient.skin.events
Class ConnectionStateSkinEvent

java.lang.Object
  extended by com.realtime.crossfire.jxclient.skin.events.ConnectionStateSkinEvent
All Implemented Interfaces:
SkinEvent

public class ConnectionStateSkinEvent
extends java.lang.Object
implements SkinEvent

A SkinEvent that executes a CommandList at connection setup.


Field Summary
private  CommandList commandList
          The CommandList to execute.
private  GuiStateListener guiStateListener
          The GuiStateListener attached to guiStateManager.
private  GuiStateManager guiStateManager
          The GuiStateManager to watch.
 
Constructor Summary
ConnectionStateSkinEvent(CommandList commandList, GuiStateManager guiStateManager)
          Creates a new instance.
 
Method Summary
 void dispose()
          Will be called when the skin is disposed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commandList

@NotNull
private final CommandList commandList
The CommandList to execute.


guiStateListener

@NotNull
private final GuiStateListener guiStateListener
The GuiStateListener attached to guiStateManager.


guiStateManager

@NotNull
private final GuiStateManager guiStateManager
The GuiStateManager to watch.

Constructor Detail

ConnectionStateSkinEvent

public ConnectionStateSkinEvent(@NotNull
                                CommandList commandList,
                                @NotNull
                                GuiStateManager guiStateManager)
Creates a new instance.

Parameters:
commandList - the command list to execute
guiStateManager - the gui state manager to watch
Method Detail

dispose

public void dispose()
Will be called when the skin is disposed. Should release resources.

Specified by:
dispose in interface SkinEvent