Class ShortcutsLoader
- java.lang.Object
-
- com.realtime.crossfire.jxclient.window.ShortcutsLoader
-
public class ShortcutsLoader extends java.lang.ObjectManages shortcuts.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidloadShortcuts(@NotNull Shortcuts shortcuts, @NotNull java.lang.CharSequence hostname, @NotNull java.lang.CharSequence character)Load shortcut info from the backing file.static voidsaveShortcuts(@NotNull Shortcuts shortcuts)Save all shortcut info to the backing file.
-
-
-
Method Detail
-
loadShortcuts
public static void loadShortcuts(@NotNull @NotNull Shortcuts shortcuts, @NotNull @NotNull java.lang.CharSequence hostname, @NotNull @NotNull java.lang.CharSequence character)Load shortcut info from the backing file.- Parameters:
shortcuts- the shortcuts instance to updatehostname- the current hostnamecharacter- the current character name
-
saveShortcuts
public static void saveShortcuts(@NotNull @NotNull Shortcuts shortcuts)Save all shortcut info to the backing file.- Parameters:
shortcuts- the shortcuts instance to save
-
-