Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.main.SkinLoader Class Reference

Loader for JXCSkins and attaching them to the client. More...

+ Collaboration diagram for com.realtime.crossfire.jxclient.main.SkinLoader:

Public Member Functions

JXCSkin loadSkin (@NotNull final String skinName) throws JXCSkinException
 Loads a skin file. More...
 
 SkinLoader (@NotNull final CommandCallback commandCallback, @NotNull final MetaserverModel metaserverModel, @Nullable final Resolution resolution, @NotNull final Macros macros, @NotNull final JXCWindowRenderer windowRenderer, @NotNull final CrossfireServerConnection server, @NotNull final GuiStateManager guiStateManager, @NotNull final TooltipManager tooltipManager, @NotNull final CommandQueue commandQueue, @NotNull final JXCSkinLoader skinLoader, @NotNull final CommandExecutor commandExecutor, @NotNull final Shortcuts shortcuts, @NotNull final CharacterModel characterModel, @NotNull final SmoothFaces smoothFaces, @NotNull final GUICommandFactory guiCommandFactory)
 Creates a new instance. More...
 

Private Attributes

final CharacterModel characterModel
 The CharacterModel instance for this window. More...
 
final CommandCallback commandCallback
 The CommandCallback instance. More...
 
final CommandExecutor commandExecutor
 The CommandExecutor instance. More...
 
final CommandQueue commandQueue
 The CommandQueue instance. More...
 
final CurrentSpellManager currentSpellManager = new CurrentSpellManager()
 The CurrentSpellManager instance for this window. More...
 
final GUICommandFactory guiCommandFactory
 The GUICommandFactory for creating commands. More...
 
final GuiStateManager guiStateManager
 The GuiStateManager instance. More...
 
final Macros macros
 The Macros instance. More...
 
final MetaserverModel metaserverModel
 The MetaserverModel instance for this window. More...
 
final Resolution resolution
 The size of the client area. More...
 
final CrossfireServerConnection server
 The CrossfireServerConnection to use. More...
 
final Shortcuts shortcuts
 The Shortcuts instance. More...
 
final JXCSkinLoader skinLoader
 The JXCSkinLoader instance. More...
 
final SmoothFaces smoothFaces
 The SmoothFaces. More...
 
final TooltipManager tooltipManager
 The TooltipManager instance. More...
 
final JXCWindowRenderer windowRenderer
 The JXCWindowRenderer for this window. More...
 

Detailed Description

Loader for JXCSkins and attaching them to the client.

Author
Andreas Kirschbaum

Definition at line 59 of file SkinLoader.java.

Constructor & Destructor Documentation

◆ SkinLoader()

com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader ( @NotNull final CommandCallback  commandCallback,
@NotNull final MetaserverModel  metaserverModel,
@Nullable final Resolution  resolution,
@NotNull final Macros  macros,
@NotNull final JXCWindowRenderer  windowRenderer,
@NotNull final CrossfireServerConnection  server,
@NotNull final GuiStateManager  guiStateManager,
@NotNull final TooltipManager  tooltipManager,
@NotNull final CommandQueue  commandQueue,
@NotNull final JXCSkinLoader  skinLoader,
@NotNull final CommandExecutor  commandExecutor,
@NotNull final Shortcuts  shortcuts,
@NotNull final CharacterModel  characterModel,
@NotNull final SmoothFaces  smoothFaces,
@NotNull final GUICommandFactory  guiCommandFactory 
)

Creates a new instance.

Parameters
commandCallbackthe command callback to use
metaserverModelthe metaserver model to use
resolutionthe size of the client area,
null
for default
macrosthe macros instance
windowRendererthe window renderer to use
serverthe crossfire server connection to use
guiStateManagerthe gui state manager to use
tooltipManagerthe tooltip manager to use
commandQueuethe command queue to use
skinLoaderthe skin loader instance
commandExecutorthe command executor to use
shortcutsthe shortcuts to use
characterModelthe character model to use
smoothFacesthe smooth faces
guiCommandFactorythe gui command factory for creating commands

Definition at line 175 of file SkinLoader.java.

References com.realtime.crossfire.jxclient.main.SkinLoader.characterModel, com.realtime.crossfire.jxclient.main.SkinLoader.commandCallback, com.realtime.crossfire.jxclient.main.SkinLoader.commandExecutor, com.realtime.crossfire.jxclient.main.SkinLoader.commandQueue, com.realtime.crossfire.jxclient.main.SkinLoader.guiCommandFactory, com.realtime.crossfire.jxclient.main.SkinLoader.guiStateManager, com.realtime.crossfire.jxclient.main.SkinLoader.macros, com.realtime.crossfire.jxclient.main.SkinLoader.metaserverModel, com.realtime.crossfire.jxclient.main.SkinLoader.resolution, com.realtime.crossfire.jxclient.main.SkinLoader.server, com.realtime.crossfire.jxclient.main.SkinLoader.shortcuts, com.realtime.crossfire.jxclient.main.SkinLoader.skinLoader, com.realtime.crossfire.jxclient.main.SkinLoader.smoothFaces, com.realtime.crossfire.jxclient.main.SkinLoader.tooltipManager, and com.realtime.crossfire.jxclient.main.SkinLoader.windowRenderer.

Member Function Documentation

◆ loadSkin()

Member Data Documentation

◆ characterModel

final CharacterModel com.realtime.crossfire.jxclient.main.SkinLoader.characterModel
private

The CharacterModel instance for this window.

Definition at line 77 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ commandCallback

final CommandCallback com.realtime.crossfire.jxclient.main.SkinLoader.commandCallback
private

The CommandCallback instance.

Definition at line 65 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ commandExecutor

final CommandExecutor com.realtime.crossfire.jxclient.main.SkinLoader.commandExecutor
private

The CommandExecutor instance.

Definition at line 149 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ commandQueue

final CommandQueue com.realtime.crossfire.jxclient.main.SkinLoader.commandQueue
private

The CommandQueue instance.

Definition at line 137 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ currentSpellManager

final CurrentSpellManager com.realtime.crossfire.jxclient.main.SkinLoader.currentSpellManager = new CurrentSpellManager()
private

The CurrentSpellManager instance for this window.

Definition at line 95 of file SkinLoader.java.

◆ guiCommandFactory

final GUICommandFactory com.realtime.crossfire.jxclient.main.SkinLoader.guiCommandFactory
private

The GUICommandFactory for creating commands.

Definition at line 89 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ guiStateManager

final GuiStateManager com.realtime.crossfire.jxclient.main.SkinLoader.guiStateManager
private

The GuiStateManager instance.

Definition at line 125 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ macros

final Macros com.realtime.crossfire.jxclient.main.SkinLoader.macros
private

The Macros instance.

Definition at line 107 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ metaserverModel

final MetaserverModel com.realtime.crossfire.jxclient.main.SkinLoader.metaserverModel
private

The MetaserverModel instance for this window.

Definition at line 71 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ resolution

final Resolution com.realtime.crossfire.jxclient.main.SkinLoader.resolution
private

The size of the client area.

Set to

null

for default.

Definition at line 101 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ server

final CrossfireServerConnection com.realtime.crossfire.jxclient.main.SkinLoader.server
private

◆ shortcuts

final Shortcuts com.realtime.crossfire.jxclient.main.SkinLoader.shortcuts
private

The Shortcuts instance.

Definition at line 155 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ skinLoader

final JXCSkinLoader com.realtime.crossfire.jxclient.main.SkinLoader.skinLoader
private

The JXCSkinLoader instance.

Definition at line 143 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ smoothFaces

final SmoothFaces com.realtime.crossfire.jxclient.main.SkinLoader.smoothFaces
private

◆ tooltipManager

final TooltipManager com.realtime.crossfire.jxclient.main.SkinLoader.tooltipManager
private

The TooltipManager instance.

Definition at line 131 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().

◆ windowRenderer

final JXCWindowRenderer com.realtime.crossfire.jxclient.main.SkinLoader.windowRenderer
private

The JXCWindowRenderer for this window.

Definition at line 113 of file SkinLoader.java.

Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().


The documentation for this class was generated from the following file: