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.IDplugin (AKAchartjs-plugin-zoom.js) for CHART.js.org.pepstock.charba.client.zoom.enums Contains theZoomPlugin.IDplugin 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 ModeAbstractConfigurationItem. DEFAULT_MODEDefault mode directions,XY.static ModeAbstractConfigurationItem. DEFAULT_OVER_SCALE_MODEDefault mode directions, when over the scale,XY.Methods in org.pepstock.charba.client.zoom that return Mode Modifier and Type Method Description ModeAbstractConfigurationItem. getMode()Returns the element (panning or zooming) directions.ModeAbstractConfigurationItem. getOverScaleMode()Returns which of the enabled zooming directions should only be available when the mouse cursor is over one of scale.Methods in org.pepstock.charba.client.zoom with parameters of type Mode Modifier and Type Method Description voidAbstractConfigurationItem. setMode(Mode mode)Sets the element (panning or zooming) directions.voidAbstractConfigurationItem. 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. -
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 ModeMode. 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.
-