|
Crossfire JXClient, Trunk
R20561
|
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... | |
Loader for JXCSkins and attaching them to the client.
Definition at line 59 of file SkinLoader.java.
| 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.
| commandCallback | the command callback to use |
| metaserverModel | the metaserver model to use |
| resolution | the size of the client area, null |
| macros | the macros instance |
| windowRenderer | the window renderer to use |
| server | the crossfire server connection to use |
| guiStateManager | the gui state manager to use |
| tooltipManager | the tooltip manager to use |
| commandQueue | the command queue to use |
| skinLoader | the skin loader instance |
| commandExecutor | the command executor to use |
| shortcuts | the shortcuts to use |
| characterModel | the character model to use |
| smoothFaces | the smooth faces |
| guiCommandFactory | the 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.
| JXCSkin com.realtime.crossfire.jxclient.main.SkinLoader.loadSkin | ( | @NotNull final String | skinName | ) | throws JXCSkinException |
Loads a skin file.
| skinName | the skin file name |
| JXCSkinException | if the skin file cannot be loaded |
Definition at line 200 of file SkinLoader.java.
References com.realtime.crossfire.jxclient.gui.gui.GuiUtils.getGui(), com.realtime.crossfire.jxclient.util.Resolution.getHeight(), com.realtime.crossfire.jxclient.skin.skin.JXCSkin.getMaxResolution(), com.realtime.crossfire.jxclient.skin.skin.JXCSkin.getMinResolution(), com.realtime.crossfire.jxclient.util.Resolution.getWidth(), com.realtime.crossfire.jxclient.gui.gui.Gui.isActiveElement(), com.realtime.crossfire.jxclient.skin.io.JXCSkinLoader.load(), com.realtime.crossfire.jxclient.gui.misc.JXCWindowRenderer.raiseDialog(), and com.realtime.crossfire.jxclient.gui.gui.Gui.setActiveElement().
Here is the call graph for this function:
|
private |
The CharacterModel instance for this window.
Definition at line 77 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The CommandCallback instance.
Definition at line 65 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The CommandExecutor instance.
Definition at line 149 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The CommandQueue instance.
Definition at line 137 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The CurrentSpellManager instance for this window.
Definition at line 95 of file SkinLoader.java.
|
private |
The GUICommandFactory for creating commands.
Definition at line 89 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The GuiStateManager instance.
Definition at line 125 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The Macros instance.
Definition at line 107 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The MetaserverModel instance for this window.
Definition at line 71 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The size of the client area.
Set to
for default.
Definition at line 101 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The CrossfireServerConnection to use.
Definition at line 119 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The Shortcuts instance.
Definition at line 155 of file SkinLoader.java.
Referenced by 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().
|
private |
The SmoothFaces.
Definition at line 83 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The TooltipManager instance.
Definition at line 131 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().
|
private |
The JXCWindowRenderer for this window.
Definition at line 113 of file SkinLoader.java.
Referenced by com.realtime.crossfire.jxclient.main.SkinLoader.SkinLoader().