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.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. -
-
Uses of Canvas in org.pepstock.charba.client
Methods in org.pepstock.charba.client that return Canvas Modifier and Type Method Description Canvas
AbstractChart. getCanvas()
Returns the canvas element used to draw the chart.Canvas
IsChart. 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 void
Helpers. clipArea(Canvas canvas, double width, double height)
Clips an area on the canvas context, using theContext2dItem
of the canvas.
The area is specified by size.
Starting points are 0.void
Helpers. clipArea(Canvas canvas, double x, double y, double width, double height)
Clips an area on the canvas context, using theContext2dItem
of the canvas.
The area is specified by coordinates and size.void
Helpers. clipArea(Canvas canvas, IsArea area)
Clips an area on the canvas context, using theContext2dItem
of the 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 Canvas
ShapeDrawer. 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 Canvas
ShapeDrawer. 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 Canvas
ArrayCanvas. get(int index)
Gets the value at a given index.Canvas
ArrayCanvasList. get(int index)
Returns the element at the specified position in this list.protected Canvas
NativeObjectContainer. getValue(Key key, Canvas defaultValue)
Returns a value (canvas) in the embedded JavaScript object at specific property.Canvas
ArrayCanvasList. 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).Canvas
ArrayCanvasList. 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 void
ArrayCanvasList. 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).boolean
ArrayCanvasList. add(Canvas element)
Appends the specified element to the end of this listvoid
ArrayCanvasList. addAll(Canvas... values)
Loads an array of elements in the liststatic ArrayCanvas
ArrayCanvas. fromOrEmpty(Canvas... items)
This method creates new array instance with a variable number ofHTMLCanvasElement
arguments.static ArrayCanvas
ArrayCanvas. fromOrNull(Canvas... items)
This method creates new array instance with a variable number ofHTMLCanvasElement
arguments.protected Canvas
NativeObjectContainer. getValue(Key key, Canvas defaultValue)
Returns a value (canvas) in the embedded JavaScript object at specific property.protected ArrayCanvas
NativeObjectContainer. 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.Canvas
ArrayCanvasList. set(int index, Canvas element)
Replaces the element at the specified position in this list with the specified element.protected void
NativeObjectContainer. setValue(Key key, Canvas value)
Sets a value (canvas) in the embedded JavaScript object at specific property.protected void
AbstractNode. setValueAndAddToParent(Key key, Canvas value)
Sets a value (canvas) in the embedded JavaScript object at specific property.protected void
PropertyHandler. setValueAndAddToParent(Key key, Canvas value)
Sets a value (canvas) in the embedded JavaScript object at specific property.protected void
NativeObjectContainer. 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 void
AbstractNode. 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 void
PropertyHandler. 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 boolean
ArrayCanvasList. 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 ArrayCanvas
ArrayCanvas. fromOrEmpty(List<Canvas> items)
Creates a java script array of canvas starting from list of canvas.static ArrayCanvas
ArrayCanvas. 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 Canvas
Bar. getPointStyleAsCanvas()
Returns the style of the point as canvas.Canvas
LegendLabels. getPointStyleAsCanvas()
Returns the style of the point as canvas.Canvas
Point. 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 void
Bar. setPointStyle(Canvas pointStyle)
Sets the style of the point as canvas.void
LegendLabels. setPointStyle(Canvas pointStyle)
Sets the style of the legend, overriding point style from dataset, as canvas.
Only applies ifLegendLabels.setUsePointStyle(boolean)
is set totrue
.void
Point. 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 Canvas
BarDataset. 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 void
BarDataset. 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 Canvas
IsDefaultPointStyleHandler. 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 Canvas
DefaultChartBar. getPointStyleAsCanvas()
Canvas
DefaultChartLegendLabels. getPointStyleAsCanvas()
Canvas
DefaultChartPoint. 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 Canvas
DefaultBar. getPointStyleAsCanvas()
Canvas
DefaultLegendLabels. 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 Canvas
DOMBuilder. 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 Canvas
Context2dItem. getCanvas()
Returns the canvas of the canvas rendering context 2D object.static Canvas
CastHelper. toCanvas(Object object)
Returns aCanvas
object casting the argument.Methods in org.pepstock.charba.client.dom.elements with parameters of type Canvas Modifier and Type Method Description CanvasPatternItem
Context2dItem. createPattern(Canvas canvas, Repetition repetition)
Creates a pattern using the specified canvas and repetition.void
Context2dItem. drawImage(Canvas canvas, double dx, double dy)
Draws a canvas onto the canvas.void
Context2dItem. drawImage(Canvas canvas, double dx, double dy, double dWidth)
Draws a canvas onto the canvas.void
Context2dItem. 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 Canvas
AbstractChartWidget. 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 Canvas
Undefined. CANVAS_ELEMENT
Default value for HTMLCanvasElement instances, null.Methods in org.pepstock.charba.client.items that return Canvas Modifier and Type Method Description Canvas
DatasetElementOptions. getPointStyleAsCanvas()
Returns the style of the point as canvas.
If property is missing or not an canvas, returnsnull
.Canvas
LegendItem. getPointStyleAsCanvas()
Returns the style (as canvas) of the legend box (only used if usePointStyle is true)Canvas
TooltipLabelPointStyle. 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 void
LegendLabelItem. setPointStyle(Canvas pointStyle)
Sets the style (as canvas) of the legend box (only used if usePointStyle is true)void
TooltipLabelPointStyle. 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
-