Uses of Class
org.pepstock.charba.client.zoom.enums.Mode
-
Packages that use Mode Package Description org.pepstock.charba.client.zoom Contains all classes to activate theZoomPlugin.ID
plugin (AKAchartjs-plugin-zoom.js
) for CHART.js.org.pepstock.charba.client.zoom.enums Contains theZoomPlugin.ID
plugin enumerations to configure the plugin. -
-
Uses of Mode in org.pepstock.charba.client.zoom
Fields in org.pepstock.charba.client.zoom declared as Mode Modifier and Type Field Description static Mode
AbstractConfigurationItem. DEFAULT_MODE
Default mode directions,XY
.static Mode
AbstractConfigurationItem. DEFAULT_OVER_SCALE_MODE
Default mode directions, when over the scale,XY
.static Mode
AbstractConfigurationItem. DEFAULT_SCALE_MODE
Default mode directions for the scale,XY
.Methods in org.pepstock.charba.client.zoom that return Mode Modifier and Type Method Description Mode
AbstractConfigurationItem. getMode()
Returns the element (panning or zooming) directions.Mode
AbstractConfigurationItem. getOverScaleMode()
Returns which of the enabled zooming directions should only be available when the mouse cursor is over one of scale.Mode
AbstractConfigurationItem. getScaleMode()
Returns panning over a scale for that axis (regardless of mode).Methods in org.pepstock.charba.client.zoom with parameters of type Mode Modifier and Type Method Description void
AbstractConfigurationItem. setMode(Mode mode)
Sets the element (panning or zooming) directions.void
AbstractConfigurationItem. setOverScaleMode(Mode 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
AbstractConfigurationItem. setScaleMode(Mode mode)
Enables panning over a scale for that axis (regardless of mode). -
Uses of Mode in org.pepstock.charba.client.zoom.enums
Methods in org.pepstock.charba.client.zoom.enums that return Mode Modifier and Type Method Description static Mode
Mode. valueOf(String name)
Returns the enum constant of this type with the specified name.static Mode[]
Mode. values()
Returns an array containing the constants of this enum type, in the order they are declared.
-