Uses of Class
org.apache.pivot.wtk.Keyboard.Modifier
-
Packages that use Keyboard.Modifier Package Description org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components. -
-
Uses of Keyboard.Modifier in org.apache.pivot.wtk
Fields in org.apache.pivot.wtk with type parameters of type Keyboard.Modifier Modifier and Type Field Description static Set<Keyboard.Modifier>
Keyboard.Modifier. ALL_MODIFIERS
The set of all possible keyboard modifiers (for use withKeyboard.isPressed(org.apache.pivot.wtk.Keyboard.Modifier)
, orgetMask(Set)
,Keyboard.areAllPressed(Set)
, orKeyboard.areAnyPressed(Set)
).Methods in org.apache.pivot.wtk that return Keyboard.Modifier Modifier and Type Method Description static Keyboard.Modifier
Keyboard.Modifier. decode(java.lang.String input)
Convert the input string into one of our enum values.static Keyboard.Modifier
Platform. getCommandModifier()
static Keyboard.Modifier
Platform. getWordNavigationModifier()
static Keyboard.Modifier
Keyboard.Modifier. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Keyboard.Modifier[]
Keyboard.Modifier. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.pivot.wtk with parameters of type Keyboard.Modifier Modifier and Type Method Description static boolean
Keyboard. areAllPressed(Keyboard.Modifier... modifiers)
Are all of the given list ofKeyboard.Modifier
s pressed?static boolean
Keyboard. areAnyPressed(Keyboard.Modifier... modifiers)
Are any of the given list ofKeyboard.Modifier
s pressed?static boolean
Keyboard. arePressed(Keyboard.Modifier... modifiers)
Test to see if and only if the given modifier(s) are pressed.static int
Keyboard.Modifier. getMask(Keyboard.Modifier... modifiers)
Determine the complete mask for all the given modifiers.static boolean
Keyboard. isPressed(Keyboard.Modifier modifier)
Tests the pressed state of a modifier.Method parameters in org.apache.pivot.wtk with type arguments of type Keyboard.Modifier Modifier and Type Method Description static boolean
Keyboard. areAllPressed(Set<Keyboard.Modifier> modifierSet)
Are all of the given set ofKeyboard.Modifier
s pressed?static boolean
Keyboard. areAnyPressed(Set<Keyboard.Modifier> modifierSet)
Are any of the given set ofKeyboard.Modifier
s pressed?static boolean
Keyboard. arePressed(Set<Keyboard.Modifier> modifierSet)
Test to see if and only if the given set of modifier(s) are pressed.static int
Keyboard.Modifier. getMask(Set<Keyboard.Modifier> modifiers)
Determine the complete mask for all the given modifiers.
-