public abstract class AbstractConfigurationItem extends AbstractNode
ZoomPlugin.ID
.Modifier and Type | Field and Description |
---|---|
static InteractionAxis |
DEFAULT_MODE
Default mode directions,
InteractionAxis.XY . |
static InteractionAxis |
DEFAULT_OVER_SCALE_MODE
Default mode directions, when over the scale,
InteractionAxis.XY . |
Modifier and Type | Method and Description |
---|---|
CompletedCallback |
getCompletedCallback()
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.
|
InteractionAxis |
getOverScaleMode()
Returns which of the enabled zooming directions should only be available when the mouse cursor is over one of scale.
|
ModeCallback |
getOverScaleModeCallback()
Returns the element (panning or zooming) directions callback, to set the mode at runtime, which of the enabled zooming directions should only be available when the mouse
cursor is over one of scale
|
ProgressCallback |
getProgressCallback()
Returns the callback called while the user is zooming or panning.
|
RejectedCallback |
getRejectedCallback()
Returns the callback called once zooming or panning is completed.
|
StartCallback |
getStartCallback()
Returns the callback called once zooming or panning is started.
|
void |
setCompletedCallback(CompletedCallback completeCallback)
Sets the callback called once zooming or panning is completed.
|
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 |
setMode(NativeCallback modeCallback)
Sets the element (panning or zooming) directions callback, to set the mode at runtime.
|
void |
setOverScaleMode(InteractionAxis mode)
Sets which of the enabled zooming directions should only be available when the mouse cursor is over one of scale.
If under mouse hasn't scale, then return all other scales which 'mode' is different with overScaleMode. So 'overScaleMode' works as a limiter to scale the user-selected scale (in 'mode') only when the cursor is under the scale, and other directions in 'mode' works as before. |
void |
setOverScaleMode(ModeCallback modeCallback)
Sets the element (panning or zooming) directions callback, to set the mode at runtime, which of the enabled zooming directions should only be available when the mouse cursor
is over one of scale
|
void |
setOverScaleMode(NativeCallback modeCallback)
Sets the element (panning or zooming) directions callback, to set the mode at runtime, which of the enabled zooming directions should only be available when the mouse cursor
is over one of scale
|
void |
setProgressCallback(ProgressCallback progressCallback)
Sets the callback called while the user is zooming or panning.
|
void |
setRejectedCallback(RejectedCallback rejectCallback)
Sets the callback called once zooming or panning is rejected.
|
void |
setStartCallback(StartCallback startCallback)
Sets the callback called once zooming or panning is started.
|
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, setValueOrArrayAndAddToParent
checkDefaultValuesArgument, 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, type
public static final InteractionAxis DEFAULT_MODE
InteractionAxis.XY
.public static final InteractionAxis DEFAULT_OVER_SCALE_MODE
InteractionAxis.XY
.public final void setMode(InteractionAxis mode)
mode
- the element (panning or zooming) directionspublic final InteractionAxis getMode()
public final void setOverScaleMode(InteractionAxis mode)
mode
- which of the enabled zooming directions should only be available when the mouse cursor is over one of scalepublic final InteractionAxis getOverScaleMode()
public final ModeCallback getModeCallback()
public final void setMode(ModeCallback modeCallback)
modeCallback
- the element (panning or zooming) directions callbackpublic final void setMode(NativeCallback modeCallback)
modeCallback
- the element (panning or zooming) directions callbackpublic final ModeCallback getOverScaleModeCallback()
public final void setOverScaleMode(ModeCallback modeCallback)
modeCallback
- the element (panning or zooming) directions callbackpublic final void setOverScaleMode(NativeCallback modeCallback)
modeCallback
- the element (panning or zooming) directions callbackpublic final ProgressCallback getProgressCallback()
public final void setProgressCallback(ProgressCallback progressCallback)
progressCallback
- the callback called while the user is zooming or panningpublic final CompletedCallback getCompletedCallback()
public final void setCompletedCallback(CompletedCallback completeCallback)
completeCallback
- the callback called once zooming or panning is completedpublic final RejectedCallback getRejectedCallback()
public final void setRejectedCallback(RejectedCallback rejectCallback)
rejectCallback
- the callback called once zooming or panning is rejectedpublic final StartCallback getStartCallback()
public final void setStartCallback(StartCallback startCallback)
startCallback
- the callback called once zooming or panning is started