Crossfire JXClient, Trunk
R20561
|
Manages shortcuts. More...
Static Public Member Functions | |
static void | loadShortcuts (@NotNull final Shortcuts shortcuts, @NotNull final CharSequence hostname, @NotNull final CharSequence character) |
Load shortcut info from the backing file. More... | |
static void | saveShortcuts (@NotNull final Shortcuts shortcuts) |
Save all shortcut info to the backing file. More... | |
Private Member Functions | |
ShortcutsLoader () | |
Private constructor to prevent instantiation. More... | |
Static Private Member Functions | |
static void | loadShortcuts (@NotNull final Shortcuts shortcuts, @NotNull final BufferedReader br) throws IOException |
Load shortcut info. More... | |
Manages shortcuts.
Definition at line 44 of file ShortcutsLoader.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 49 of file ShortcutsLoader.java.
|
static |
Load shortcut info from the backing file.
shortcuts | the shortcuts instance to update |
hostname | the current hostname |
character | the current character name |
Definition at line 58 of file ShortcutsLoader.java.
References com.realtime.crossfire.jxclient.settings.Filenames.getShortcutsFile().
Referenced by com.realtime.crossfire.jxclient.window.JXCConnection.setCharacter().
|
staticprivate |
Load shortcut info.
shortcuts | the shortcuts instance to update |
br | the buffered reader to read from |
IOException | if an I/O error occurs |
Definition at line 101 of file ShortcutsLoader.java.
|
static |
Save all shortcut info to the backing file.
shortcuts | the shortcuts instance to save |
Definition at line 131 of file ShortcutsLoader.java.
References com.realtime.crossfire.jxclient.shortcuts.ShortcutCommand.getCommand(), com.realtime.crossfire.jxclient.spells.Spell.getName(), com.realtime.crossfire.jxclient.shortcuts.ShortcutSpell.getSpell(), and com.realtime.crossfire.jxclient.shortcuts.ShortcutSpell.isCast().
Referenced by com.realtime.crossfire.jxclient.window.JXCConnection.setCharacter().