public final class MouseWheelBehaviors extends FlagsEnum<MouseWheelBehaviors>
Flaggable
enumeration for the mouse wheel behavior options.
If ZOOM
and SCROLL
are both set, scrolling will be the default behavior. The control will zoom with
the Control key is pressed. ZOOM
and SCROLL
can be combined with ONLY_WHEN_FOCUSED
to
activate this behavior only when the control has focus.
Modifier and Type | Field and Description |
---|---|
static MouseWheelBehaviors |
NONE
The mouse wheel has no effect.
|
static MouseWheelBehaviors |
ONLY_WHEN_FOCUSED
|
static MouseWheelBehaviors |
SCROLL
The mouse wheel scrolls the view.
|
static MouseWheelBehaviors |
ZOOM
The mouse wheel changes the zoom factor.
|
Modifier and Type | Method and Description |
---|---|
static MouseWheelBehaviors |
fromName(String name) |
static MouseWheelBehaviors |
fromOrdinal(int value) |
protected MouseWheelBehaviors |
fromOrdinalImpl(int ordinal) |
protected MouseWheelBehaviors[] |
getItems()
Returns all items defined in this FlagsEnum.
|
int |
value() |
and, and, contains, containsAll, doubleValue, equals, equals, floatValue, hashCode, intValue, inverse, inverse, longValue, notContains, notEquals, or, or, ordinal, toString, xor, xor
byteValue, shortValue
public static final MouseWheelBehaviors NONE
public static final MouseWheelBehaviors ONLY_WHEN_FOCUSED
public static final MouseWheelBehaviors SCROLL
public static final MouseWheelBehaviors ZOOM
public static final MouseWheelBehaviors fromName(String name)
public static final MouseWheelBehaviors fromOrdinal(int value)
protected final MouseWheelBehaviors fromOrdinalImpl(int ordinal)
fromOrdinalImpl
in class FlagsEnum<MouseWheelBehaviors>
protected final MouseWheelBehaviors[] getItems()
FlagsEnum
getItems
in class FlagsEnum<MouseWheelBehaviors>
public int value()