public final class Wheel extends AbstractNode
ZoomPlugin.ID plugin configuration.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLED
Default enabled, false.
|
static double |
DEFAULT_SPEED
Default speed, 0.1.
|
| Modifier and Type | Method and Description |
|---|---|
ModifierKey |
getModifierKey()
Returns the modifier key to activate zooming by wheeling.
|
double |
getSpeed()
Returns the speed of element via mouse wheel (percentage of element on a wheel event).
|
boolean |
isEnabled()
Returns
true to enable element for wheel zooming. |
void |
setEnabled(boolean enabled)
Sets
true to enable element for wheel zooming. |
void |
setModifierKey(ModifierKey modifierKey)
Sets the modifier key to activate zooming by wheeling.
|
void |
setSpeed(double speed)
Sets the speed of element via mouse wheel (percentage of element on a wheel event).
Must be a value from 0 and 1. |
checkAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParentcheckDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic static final boolean DEFAULT_ENABLED
public static final double DEFAULT_SPEED
public void setEnabled(boolean enabled)
true to enable element for wheel zooming.enabled - true to enable element for wheel zoomingpublic boolean isEnabled()
true to enable element for wheel zooming.true to enable element for wheel zoomingpublic void setSpeed(double speed)
speed - the speed of element via mouse wheelpublic double getSpeed()
public void setModifierKey(ModifierKey modifierKey)
modifierKey - the modifier key to activate zooming by wheelingpublic ModifierKey getModifierKey()