Uses of Class
org.pepstock.charba.client.dom.elements.Canvas
-
Packages that use Canvas Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.IDplugin (AKAchartjs-plugin-annotation.js) for CHART.js.org.pepstock.charba.client.annotation.elements Contains theAnnotationPlugin.IDplugin elements interfaces to use in the callbacks and events.org.pepstock.charba.client.colors.tiles Contains all classes to build tiles to use in the a canvas patterns or a Charba pattern.org.pepstock.charba.client.commons Core classes to manage the inter-operations with java script code.org.pepstock.charba.client.configuration Contains all elements to configure a chart instance (know as chart options at instance level).org.pepstock.charba.client.data Contains all elements to configure the datasets of a chart instance (know as chart data at instance level).org.pepstock.charba.client.defaults Contains all interfaces need to provide defaults values of the chart options.org.pepstock.charba.client.defaults.chart Contains the default values of chart options based on type of chart instance.org.pepstock.charba.client.defaults.globals Contains the default values of chart options for all chart types (CHART.JS options defaults).org.pepstock.charba.client.dom Contains all classes needed to work with DOM tree, base classes of a DOM tree.org.pepstock.charba.client.dom.elements Contains a set of DOM elements that Charba is using.org.pepstock.charba.client.gwt.widgets Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder.org.pepstock.charba.client.items Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.org.pepstock.charba.client.options Contains all elements to configure charts at global level (know as chart global options). -
-
Uses of Canvas in org.pepstock.charba.client
Methods in org.pepstock.charba.client that return Canvas Modifier and Type Method Description CanvasAbstractChart. getCanvas()Returns the canvas element used to draw the chart.CanvasIsChart. getCanvas()Returns the canvas element used to draw the chart.Methods in org.pepstock.charba.client with parameters of type Canvas Modifier and Type Method Description voidHelpers. clipArea(Canvas canvas, double width, double height)Clips an area on the canvas context, using theContext2dItemof the canvas.
The area is specified by size.
Starting points are 0.voidHelpers. clipArea(Canvas canvas, double x, double y, double width, double height)Clips an area on the canvas context, using theContext2dItemof the canvas.
The area is specified by coordinates and size.voidHelpers. clipArea(Canvas canvas, IsArea area)Clips an area on the canvas context, using theContext2dItemof the canvas. -
Uses of Canvas in org.pepstock.charba.client.annotation
Methods in org.pepstock.charba.client.annotation with parameters of type Canvas Modifier and Type Method Description voidPointAnnotation. setPointStyle(Canvas pointStyle) -
Uses of Canvas in org.pepstock.charba.client.annotation.elements
Methods in org.pepstock.charba.client.annotation.elements that return Canvas Modifier and Type Method Description CanvasOptionsElement. getPointStyleAsCanvas()Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull.Methods in org.pepstock.charba.client.annotation.elements with parameters of type Canvas Modifier and Type Method Description voidOptionsElement. setPointStyle(Canvas pointStyle)Sets the style of the point as canvas. -
Uses of Canvas in org.pepstock.charba.client.colors.tiles
Methods in org.pepstock.charba.client.colors.tiles that return Canvas Modifier and Type Method Description protected CanvasShapeDrawer. initCanvas(Canvas outerCanvas, int size)Initialized the internal canvas to use for drawing.Methods in org.pepstock.charba.client.colors.tiles with parameters of type Canvas Modifier and Type Method Description protected CanvasShapeDrawer. initCanvas(Canvas outerCanvas, int size)Initialized the internal canvas to use for drawing. -
Uses of Canvas in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return Canvas Modifier and Type Method Description CanvasArrayCanvas. get(int index)Gets the value at a given index.CanvasArrayCanvasList. get(int index)Returns the element at the specified position in this list.protected CanvasNativeObjectContainer. getValue(Key key, Canvas defaultValue)Returns a value (canvas) in the embedded JavaScript object at specific property.CanvasArrayCanvasList. remove(int index)Removes the element at the specified position in this list.
Shifts any subsequent elements to the left (subtracts one from their indices).CanvasArrayCanvasList. set(int index, Canvas element)Replaces the element at the specified position in this list with the specified element.Methods in org.pepstock.charba.client.commons that return types with arguments of type Canvas Modifier and Type Method Description static List<Canvas>ArrayListHelper. unmodifiableList(ArrayCanvas values)Creates a array list of canvas by a java script array of canvas.Methods in org.pepstock.charba.client.commons with parameters of type Canvas Modifier and Type Method Description voidArrayCanvasList. add(int index, Canvas element)Inserts the specified element at the specified position in this list.
Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).booleanArrayCanvasList. add(Canvas element)Appends the specified element to the end of this listvoidArrayCanvasList. addAll(Canvas... values)Loads an array of elements in the liststatic ArrayCanvasArrayCanvas. fromOrEmpty(Canvas... items)This method creates new array instance with a variable number ofHTMLCanvasElementarguments.static ArrayCanvasArrayCanvas. fromOrNull(Canvas... items)This method creates new array instance with a variable number ofHTMLCanvasElementarguments.protected CanvasNativeObjectContainer. getValue(Key key, Canvas defaultValue)Returns a value (canvas) in the embedded JavaScript object at specific property.protected ArrayCanvasNativeObjectContainer. getValueOrArray(Key key, Canvas defaultValue)Returns a value (array) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a canvas.CanvasArrayCanvasList. set(int index, Canvas element)Replaces the element at the specified position in this list with the specified element.protected voidNativeObjectContainer. setValue(Key key, Canvas value)Sets a value (canvas) in the embedded JavaScript object at specific property.protected voidAbstractNode. setValueAndAddToParent(Key key, Canvas value)Sets a value (canvas) in the embedded JavaScript object at specific property.protected voidPropertyHandler. setValueAndAddToParent(Key key, Canvas value)Sets a value (canvas) in the embedded JavaScript object at specific property.protected voidNativeObjectContainer. setValueOrArray(Key key, Canvas... values)Sets a value (array or canvas) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a image.protected voidAbstractNode. setValueOrArrayAndAddToParent(Key key, Canvas... values)Sets a value (array or canvas) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a canvas.protected voidPropertyHandler. setValueOrArrayAndAddToParent(Key key, Canvas... values)Sets a value (array or canvas) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a canvas.Method parameters in org.pepstock.charba.client.commons with type arguments of type Canvas Modifier and Type Method Description booleanArrayCanvasList. addAll(Collection<? extends Canvas> collection)Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iteratorstatic ArrayCanvasArrayCanvas. fromOrEmpty(List<Canvas> items)Creates a java script array of canvas starting from list of canvas.static ArrayCanvasArrayCanvas. fromOrNull(List<Canvas> items)Creates a java script array of canvas starting from list of canvas. -
Uses of Canvas in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration that return Canvas Modifier and Type Method Description CanvasBar. getPointStyleAsCanvas()Returns the style of the point as canvas.CanvasLegendLabels. getPointStyleAsCanvas()Returns the style of the point as canvas.CanvasPoint. getPointStyleAsCanvas()Returns the style of the point as canvas.Methods in org.pepstock.charba.client.configuration with parameters of type Canvas Modifier and Type Method Description voidBar. setPointStyle(Canvas pointStyle)Sets the style of the point as canvas.voidLegendLabels. setPointStyle(Canvas pointStyle)Sets the style of the legend, overriding point style from dataset, as canvas.
Only applies ifLegendLabels.setUsePointStyle(boolean)is set totrue.voidPoint. setPointStyle(Canvas pointStyle)Sets the style of the point as canvas. -
Uses of Canvas in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data that return Canvas Modifier and Type Method Description CanvasBarDataset. getPointStyleAsCanvas()Returns the style of the point for legend as canvas.Methods in org.pepstock.charba.client.data with parameters of type Canvas Modifier and Type Method Description voidBarDataset. setPointStyle(Canvas pointStyle)Sets the style of the point for legend as canvas. -
Uses of Canvas in org.pepstock.charba.client.defaults
Methods in org.pepstock.charba.client.defaults that return Canvas Modifier and Type Method Description default CanvasIsDefaultPointStyleHandler. getPointStyleAsCanvas()Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull. -
Uses of Canvas in org.pepstock.charba.client.defaults.chart
Methods in org.pepstock.charba.client.defaults.chart that return Canvas Modifier and Type Method Description CanvasDefaultChartBar. getPointStyleAsCanvas()CanvasDefaultChartLegendLabels. getPointStyleAsCanvas()CanvasDefaultChartPoint. getPointStyleAsCanvas() -
Uses of Canvas in org.pepstock.charba.client.defaults.globals
Methods in org.pepstock.charba.client.defaults.globals that return Canvas Modifier and Type Method Description CanvasDefaultBar. getPointStyleAsCanvas()CanvasDefaultLegendLabels. getPointStyleAsCanvas() -
Uses of Canvas in org.pepstock.charba.client.dom
Methods in org.pepstock.charba.client.dom that return Canvas Modifier and Type Method Description CanvasDOMBuilder. createCanvasElement()Creates a <canvas> element. -
Uses of Canvas in org.pepstock.charba.client.dom.elements
Methods in org.pepstock.charba.client.dom.elements that return Canvas Modifier and Type Method Description CanvasContext2dItem. getCanvas()Returns the canvas of the canvas rendering context 2D object.static CanvasCastHelper. toCanvas(Object object)Returns aCanvasobject casting the argument.Methods in org.pepstock.charba.client.dom.elements with parameters of type Canvas Modifier and Type Method Description CanvasPatternItemContext2dItem. createPattern(Canvas canvas, Repetition repetition)Creates a pattern using the specified canvas and repetition.voidContext2dItem. drawImage(Canvas canvas, double dx, double dy)Draws a canvas onto the canvas.voidContext2dItem. drawImage(Canvas canvas, double dx, double dy, double dWidth)Draws a canvas onto the canvas.voidContext2dItem. drawImage(Canvas canvas, double dx, double dy, double dWidth, double dHeight)Draws a canvas onto the canvas. -
Uses of Canvas in org.pepstock.charba.client.gwt.widgets
Methods in org.pepstock.charba.client.gwt.widgets that return Canvas Modifier and Type Method Description CanvasAbstractChartWidget. getCanvas() -
Uses of Canvas in org.pepstock.charba.client.items
Fields in org.pepstock.charba.client.items declared as Canvas Modifier and Type Field Description static CanvasUndefined. CANVAS_ELEMENTDefault value for HTMLCanvasElement instances, null.Methods in org.pepstock.charba.client.items that return Canvas Modifier and Type Method Description CanvasDatasetElementOptions. getPointStyleAsCanvas()Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull.CanvasLegendItem. getPointStyleAsCanvas()Returns the style (as canvas) of the legend box (only used if usePointStyle is true)CanvasTooltipLabelPointStyle. getPointStyleAsCanvas()Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull.Methods in org.pepstock.charba.client.items with parameters of type Canvas Modifier and Type Method Description voidLegendLabelItem. setPointStyle(Canvas pointStyle)Sets the style (as canvas) of the legend box (only used if usePointStyle is true)voidTooltipLabelPointStyle. setPointStyle(Canvas pointStyle)Sets the style of the point as canvas.Constructors in org.pepstock.charba.client.items with parameters of type Canvas Constructor Description TooltipLabelPointStyle(Canvas poitnStyle)Creates the object setting the point style argument -
Uses of Canvas in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return Canvas Modifier and Type Method Description default CanvasHasPointStyle. getPointStyleAsCanvas()Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull.Methods in org.pepstock.charba.client.options with parameters of type Canvas Modifier and Type Method Description default voidHasPointStyle. setPointStyle(Canvas pointStyle)Sets the style of the point as canvas.
-