Crossfire JXClient, Trunk
ShortcutSlot.java
Go to the documentation of this file.
1 package com.realtime.crossfire.jxclient.shortcuts;
2 
3 import org.jetbrains.annotations.NotNull;
4 
8 public enum ShortcutSlot {
9 
13  F1(0),
14 
18  F2(1),
19 
23  F3(2),
24 
28  F4(3),
29 
33  F5(4),
34 
38  F6(5),
39 
43  F7(6),
44 
48  F8(7),
49 
53  F9(8),
54 
58  F10(9),
59 
63  F11(10),
64 
68  F12(11);
69 
73  private final int slot;
74 
79  ShortcutSlot(final int slot) {
80  this.slot = slot;
81  }
82 
87  public int getSlot() {
88  return slot;
89  }
90 
91  @NotNull
92  @Override
93  @SuppressWarnings("MethodDoesntCallSuperMethod")
94  public String toString() {
95  return "F"+(slot+1);
96  }
97 
98 }
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F1
F1
Definition: ShortcutSlot.java:13
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F11
F11
Definition: ShortcutSlot.java:63
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F3
F3
Definition: ShortcutSlot.java:23
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F7
F7
Definition: ShortcutSlot.java:43
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F2
F2
Definition: ShortcutSlot.java:18
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F4
F4
Definition: ShortcutSlot.java:28
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F12
F12
Definition: ShortcutSlot.java:68
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F9
F9
Definition: ShortcutSlot.java:53
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot
Definition: ShortcutSlot.java:8
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F5
F5
Definition: ShortcutSlot.java:33
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.slot
final int slot
Definition: ShortcutSlot.java:73
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F6
F6
Definition: ShortcutSlot.java:38
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F10
F10
Definition: ShortcutSlot.java:58
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.F8
F8
Definition: ShortcutSlot.java:48
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.getSlot
int getSlot()
Definition: ShortcutSlot.java:87
com.realtime.crossfire.jxclient.shortcuts.ShortcutSlot.ShortcutSlot
ShortcutSlot(final int slot)
Definition: ShortcutSlot.java:79