Package org.polyfrost.polyui.input
Class Modifiers
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanlShiftprivate final BooleanrShiftprivate final BooleanlCtrlprivate final BooleanrCtrlprivate final BooleanlAltprivate final BooleanrAltprivate final BooleanlMetaprivate final BooleanrMetaprivate final BooleanisEmptyprivate final BooleanhasShiftprivate final BooleanhasControlprivate final BooleanhasAltprivate final BooleanhasMetaprivate final StringprettyNameprivate final Stringnameprivate final Bytevalue
-
Constructor Summary
Constructors Constructor Description Modifiers(KeyModifiers modifiers)Modifiers(Byte value)
-
Method Summary
Modifier and Type Method Description final BooleangetLShift()final BooleangetRShift()final BooleangetLCtrl()final BooleangetRCtrl()final BooleangetLAlt()final BooleangetRAlt()final BooleangetLMeta()final BooleangetRMeta()final BooleanisEmpty()final BooleangetHasShift()final BooleangetHasControl()final BooleangetHasAlt()final BooleangetHasMeta()final StringgetPrettyName()final StringgetName()final BytegetValue()final Booleanequal(Modifiers other)precise equals, meaning that LSHIFT and RSHIFT are considered different, as well as LCONTROL and RCONTROL, etc. final Booleanequal(Byte other)precise equals, meaning that LSHIFT and RSHIFT are considered different, as well as LCONTROL and RCONTROL, etc. final BooleanequalLenient(Byte other)lenient equals, meaning that LSHIFT and RSHIFT are considered equal, as well as LCONTROL and RCONTROL, etc. final BooleanequalLenient(Modifiers other)lenient equals, meaning that LSHIFT and RSHIFT are considered equal, as well as LCONTROL and RCONTROL, etc. StringtoString()-
-
Constructor Detail
-
Modifiers
Modifiers(KeyModifiers modifiers)
-
Modifiers
Modifiers(Byte value)
-
-
Method Detail
-
getHasShift
final Boolean getHasShift()
-
getHasControl
final Boolean getHasControl()
-
getHasMeta
final Boolean getHasMeta()
-
getPrettyName
final String getPrettyName()
-
equal
final Boolean equal(Modifiers other)
precise equals, meaning that LSHIFT and RSHIFT are considered different, as well as LCONTROL and RCONTROL, etc.
-
equal
final Boolean equal(Byte other)
precise equals, meaning that LSHIFT and RSHIFT are considered different, as well as LCONTROL and RCONTROL, etc.
-
equalLenient
final Boolean equalLenient(Byte other)
lenient equals, meaning that LSHIFT and RSHIFT are considered equal, as well as LCONTROL and RCONTROL, etc.
-
equalLenient
final Boolean equalLenient(Modifiers other)
lenient equals, meaning that LSHIFT and RSHIFT are considered equal, as well as LCONTROL and RCONTROL, etc.
-
-
-
-