public final class Pan extends AbstractConfigurationItem
ZoomPlugin.ID plugin configuration.| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_SPEED
Default speed, 20.0.
|
static double |
DEFAULT_THRESHOLD
Default threshold, 10.0.
|
DEFAULT_ENABLED, DEFAULT_MODE| Modifier and Type | Method and Description |
|---|---|
double |
getSpeed()
Returns the threshold factor before applying pan, on category scale.
|
double |
getThreshold()
Returns the minimal pan distance required before actually applying pan.
|
void |
setSpeed(double speed)
Sets the threshold factor before applying pan, on category scale.
|
void |
setThreshold(double threshold)
Sets the minimal pan distance required before actually applying pan.
|
getCompleteCallback, getMode, getModeCallback, getProgressCallback, getRangeMax, getRangeMin, isEnabled, setCompleteCallback, setEnabled, setMode, setMode, setProgressCallbackcheckValue, empty, getArrayValue, getNativeChart, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic static final double DEFAULT_SPEED
public static final double DEFAULT_THRESHOLD
public void setThreshold(double threshold)
threshold - the minimal pan distance required before actually applying panpublic double getThreshold()
public final void setSpeed(double speed)
speed - the threshold factor before applying pan, on category scalepublic final double getSpeed()