scala.swing.event

Key

object Key extends Enumeration

Enumeration of key codes used by key events.

Inherits

  1. Enumeration
  2. AnyRef
  3. Any

Type Members

  1. type Modifiers = Int

  2. class Value extends Ordered[Value]

    The type of the enumerated values

  3. class ValueSet extends Set[Value] with SetLike[Value, ValueSet]

    A class for sets of values Iterating through this set will yield values in increasing order of their ids

Value Members

  1. val A: Value

  2. val Accept: Value

  3. val Add: Value

  4. val Again: Value

  5. val AllCandidates: Value

  6. val Alphanumeric: Value

  7. val Alt: Value

  8. val AltGraph: Value

  9. val Ampersand: Value

  10. val Asterisk: Value

  11. val At: Value

  12. val B: Value

  13. val BackQuote: Value

  14. val BackSlash: Value

  15. val BackSpace: Value

  16. val Begin: Value

  17. val Braceleft: Value

  18. val Braceright: Value

  19. val C: Value

  20. val Cancel: Value

  21. val CapsLock: Value

  22. val Circumflex: Value

  23. val Clear: Value

  24. val CloseBracket: Value

  25. val CodeInput: Value

  26. val Colon: Value

  27. val Comma: Value

  28. val Compose: Value

  29. val ContextMenu: Value

  30. val Control: Value

  31. val Convert: Value

  32. val Copy: Value

  33. val Cut: Value

  34. val D: Value

  35. val DeadAbovedot: Value

  36. val DeadAbovering: Value

  37. val DeadAcute: Value

  38. val DeadBreve: Value

  39. val DeadCaron: Value

  40. val DeadCedilla: Value

  41. val DeadCircumflex: Value

  42. val DeadDiaeresis: Value

  43. val DeadDoubleacute: Value

  44. val DeadGrave: Value

  45. val DeadIota: Value

  46. val DeadMacron: Value

  47. val DeadOgonek: Value

  48. val DeadSemivoicedSound: Value

  49. val DeadTilde: Value

  50. val DeadVoicedSound: Value

  51. val Decimal: Value

  52. val Delete: Value

  53. val Divide: Value

  54. val Dollar: Value

  55. val Down: Value

  56. val E: Value

  57. val End: Value

  58. val Enter: Value

  59. val Equals: Value

  60. val Escape: Value

  61. val EuroSign: Value

  62. val ExclamationMark: Value

  63. val F: Value

  64. val F1: Value

  65. val F10: Value

  66. val F11: Value

  67. val F12: Value

  68. val F13: Value

  69. val F14: Value

  70. val F15: Value

  71. val F16: Value

  72. val F17: Value

  73. val F18: Value

  74. val F19: Value

  75. val F2: Value

  76. val F20: Value

  77. val F21: Value

  78. val F22: Value

  79. val F23: Value

  80. val F24: Value

  81. val F3: Value

  82. val F4: Value

  83. val F5: Value

  84. val F6: Value

  85. val F7: Value

  86. val F8: Value

  87. val F9: Value

  88. val Final: Value

  89. val Find: Value

  90. val FullWidth: Value

  91. val G: Value

  92. val Greater: Value

  93. val H: Value

  94. val HalfWidth: Value

  95. val Help: Value

  96. val Hiragana: Value

  97. val Home: Value

  98. val I: Value

  99. val InputMethodOnOff: Value

  100. val Insert: Value

  101. val InvertedExclamationMark: Value

  102. val J: Value

  103. val JapaneseHiragana: Value

  104. val JapaneseKatakana: Value

  105. val JapaneseRoman: Value

  106. val K: Value

  107. val Kana: Value

  108. val KanaLock: Value

  109. val Kanji: Value

  110. val Katakana: Value

  111. val Key0: Value

  112. val Key1: Value

  113. val Key2: Value

  114. val Key3: Value

  115. val Key4: Value

  116. val Key5: Value

  117. val Key6: Value

  118. val Key7: Value

  119. val Key8: Value

  120. val Key9: Value

  121. val KpDown: Value

  122. val KpLeft: Value

  123. val KpRight: Value

  124. val KpUp: Value

  125. val L: Value

  126. val Left: Value

  127. val LeftParenthesis: Value

  128. val Less: Value

  129. object Location extends Enumeration

  130. val M: Value

  131. val Meta: Value

  132. val Minus: Value

  133. val Modechange: Value

  134. object Modifier extends AnyRef

  135. val Multiply: Value

  136. val N: Value

  137. val Nonconvert: Value

  138. val NumLock: Value

  139. val NumberSign: Value

  140. val Numpad0: Value

  141. val Numpad1: Value

  142. val Numpad2: Value

  143. val Numpad3: Value

  144. val Numpad4: Value

  145. val Numpad5: Value

  146. val Numpad6: Value

  147. val Numpad7: Value

  148. val Numpad8: Value

  149. val Numpad9: Value

  150. val O: Value

  151. val OpenBracket: Value

  152. val P: Value

  153. val PageDown: Value

  154. val PageUp: Value

  155. val Paste: Value

  156. val Pause: Value

  157. val Period: Value

  158. val Plus: Value

  159. val PreviousCandidate: Value

  160. val Printscreen: Value

  161. val Props: Value

  162. val Q: Value

  163. val Quote: Value

  164. val Quotedbl: Value

  165. val R: Value

  166. val Right: Value

  167. val RightParenthesis: Value

  168. val RomanCharacters: Value

  169. val S: Value

  170. val ScrollLock: Value

  171. val Semicolon: Value

  172. val Separator: Value

  173. val Shift: Value

  174. val Slash: Value

  175. val Space: Value

  176. val Stop: Value

  177. val Subtract: Value

  178. val T: Value

  179. val Tab: Value

  180. val U: Value

  181. val Undefined: Value

  182. val Underscore: Value

  183. val Undo: Value

  184. val Up: Value

  185. val V: Value

  186. object ValueSet extends AnyRef

    A factory object for value sets

  187. val W: Value

  188. val Windows: Value

  189. val X: Value

  190. val Y: Value

  191. val Z: Value

  192. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    The default implementations of this method is an equivalence relation:

    • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
    • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
    • It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override hashCode to ensure that objects that are "equal" (o1.equals(o2) returns true) hash to the same Int (o1.hashCode.equals(o2.hashCode)).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    definition classes: AnyRef ⇐ Any
  193. def exists(p: (Value) ⇒ Boolean): Boolean

    Apply a predicate p to all values of this enumeration and return true, iff there is at least one value for which p yields true

    Apply a predicate p to all values of this enumeration and return true, iff there is at least one value for which p yields true.

    definition classes: Enumeration
  194. def filter(p: (Value) ⇒ Boolean): Iterator[Value]

    Returns all values of this enumeration that satisfy the predicate p

    Returns all values of this enumeration that satisfy the predicate p. The order of values is preserved.

    definition classes: Enumeration
  195. def flatMap[B](f: (Value) ⇒ Iterator[B]): Iterator[B]

    Applies the given function f to each value of this enumeration, then concatenates the results

    Applies the given function f to each value of this enumeration, then concatenates the results.

    definition classes: Enumeration
  196. def forall(p: (Value) ⇒ Boolean): Boolean

    Apply a predicate p to all values of this enumeration and return true, iff the predicate yields true for all values

    Apply a predicate p to all values of this enumeration and return true, iff the predicate yields true for all values.

    definition classes: Enumeration
  197. def foreach(f: (Value) ⇒ Unit): Unit

    Apply a function f to all values of this enumeration

    Apply a function f to all values of this enumeration.

    definition classes: Enumeration
  198. def hashCode(): Int

    Returns a hash code value for the object

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    definition classes: AnyRef ⇐ Any
  199. def map[B](f: (Value) ⇒ B): Iterator[B]

    Returns an iterator resulting from applying the given function f to each value of this enumeration

    Returns an iterator resulting from applying the given function f to each value of this enumeration.

    definition classes: Enumeration
  200. def name: String

    The name of this enumeration

    The name of this enumeration.

    definition classes: Enumeration
  201. def toString(): String

    The name of this enumeration

    The name of this enumeration.

    definition classes: Enumeration ⇐ AnyRef ⇐ Any
  202. def valueOf(s: String): Option[Value]

  203. def values: ValueSet

    The values of this enumeration as a set

    The values of this enumeration as a set.

    definition classes: Enumeration