public abstract class AbstractConfigurationItem extends NativeObjectContainer
ZoomPlugin.ID.| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ENABLED
Default enabled, false.
|
static InteractionAxis |
DEFAULT_MODE
Default mode directions,
InteractionAxis.XY. |
| Modifier and Type | Method and Description |
|---|---|
CompleteCallback |
getCompleteCallback()
Returns the callback called once zooming or panning is completed.
|
InteractionAxis |
getMode()
Returns the element (panning or zooming) directions.
|
ModeCallback |
getModeCallback()
Returns the element (panning or zooming) directions callback, to set the mode at runtime.
|
ProgressCallback |
getProgressCallback()
Returns the callback called while the user is zooming or panning.
|
Range |
getRangeMax()
Returns the maximum element (panning or zooming) range depending on scale type.
|
Range |
getRangeMin()
Returns the minimum element (panning or zooming) range depending on scale type.
|
boolean |
isEnabled()
Returns
true to enable element (panning or zooming). |
void |
setCompleteCallback(CompleteCallback completeCallback)
Sets the callback called once zooming or panning is completed.
|
void |
setEnabled(boolean enabled)
Sets
true to enable element (panning or zooming). |
void |
setMode(InteractionAxis mode)
Sets the element (panning or zooming) directions.
|
void |
setMode(ModeCallback modeCallback)
Sets the element (panning or zooming) directions callback, to set the mode at runtime.
|
void |
setProgressCallback(ProgressCallback progressCallback)
Sets the callback called while the user is zooming or panning.
|
checkValue, empty, getArrayValue, 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, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic static final boolean DEFAULT_ENABLED
public static final InteractionAxis DEFAULT_MODE
InteractionAxis.XY.public final void setEnabled(boolean enabled)
true to enable element (panning or zooming).enabled - true to enable element (panning or zooming)public final boolean isEnabled()
true to enable element (panning or zooming).true to enable element (panning or zooming)public final void setMode(InteractionAxis mode)
mode - the element (panning or zooming) directionspublic final InteractionAxis getMode()
public final ModeCallback getModeCallback()
public final void setMode(ModeCallback modeCallback)
modeCallback - the element (panning or zooming) directions callbackpublic final Range getRangeMin()
public final Range getRangeMax()
public final ProgressCallback getProgressCallback()
public final void setProgressCallback(ProgressCallback progressCallback)
progressCallback - the callback called while the user is zooming or panningpublic final CompleteCallback getCompleteCallback()
public final void setCompleteCallback(CompleteCallback completeCallback)
completeCallback - the callback called once zooming or panning is completed