java.lang.Object com.realtime.crossfire.jxclient.skin.events.ConnectionStateSkinEvent
public class ConnectionStateSkinEvent
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 |
---|
@NotNull private final CommandList commandList
CommandList
to execute.
@NotNull private final GuiStateListener guiStateListener
GuiStateListener
attached to guiStateManager
.
@NotNull private final GuiStateManager guiStateManager
GuiStateManager
to watch.
Constructor Detail |
---|
public ConnectionStateSkinEvent(@NotNull CommandList commandList, @NotNull GuiStateManager guiStateManager)
commandList
- the command list to executeguiStateManager
- the gui state manager to watchMethod Detail |
---|
public void dispose()
dispose
in interface SkinEvent