22 package com.realtime.crossfire.jxclient.skin.events;
28 import org.jetbrains.annotations.NotNull;
60 public void metaserver() {
65 public void preConnecting(@NotNull
final String serverInfo) {
70 public void connecting(@NotNull
final String serverInfo) {
80 public void connected() {
85 public void connectFailed(@NotNull
final String reason) {
Interface for listeners interested gui state changes.
Maintains the current GuiState.
ConnectionStateSkinEvent(@NotNull final CommandList commandList, @NotNull final GuiStateManager guiStateManager)
Creates a new instance.
void addGuiStateListener(@NotNull final GuiStateListener listener)
Adds a gui state listener.
Interface for events attached to skins.
final GuiStateManager guiStateManager
The GuiStateManager to watch.
void removeGuiStateListener(@NotNull final GuiStateListener listener)
Removes a gui state listener.
A SkinEvent that executes a CommandList at connection setup.
A list of GUICommand instances.
void dispose()
Will be called when the skin is disposed.Should release resources.
Connection progress states of the Crossfire server connection.
void execute()
Execute the command list by calling GUICommand#execute() for each command in order.
final CommandList commandList
The CommandList to execute.
final GuiStateListener guiStateListener
The GuiStateListener attached to guiStateManager.