Uses of Class
org.pepstock.charba.client.dom.elements.Img
-
Packages that use Img Package Description org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.ID
plugin (AKAchartjs-plugin-annotation.js
) for CHART.js.org.pepstock.charba.client.annotation.elements Contains theAnnotationPlugin.ID
plugin elements interfaces to use in the callbacks and events.org.pepstock.charba.client.colors Contains the enumerations of HTML and GWT Material colors, to consume out-of-the-box, and utilities to create and manage own colors and classes to define gradients of patterns for charts.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 Contains the fundamental java script resources to inject in order to use Charba by GWT.org.pepstock.charba.client.impl.plugins Contains some plugins implementations, available out-of-the box.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.labels Contains all classes to useLabelsPlugin.ID
plugin (AKAchartjs-plugin-labels.js
) available for CHART.JS.org.pepstock.charba.client.options Contains all elements to configure charts at global level (know as chart global options).org.pepstock.charba.client.utils Contains some utilities to use in Charba, like HTML annotation builder, and other java script utilities useful for debugging.org.pepstock.charba.client.utils.toast Contains all classes to useToaster
utility. -
-
Uses of Img in org.pepstock.charba.client.annotation
Methods in org.pepstock.charba.client.annotation with parameters of type Img Modifier and Type Method Description void
PointAnnotation. setPointStyle(Img pointStyle)
-
Uses of Img in org.pepstock.charba.client.annotation.elements
Methods in org.pepstock.charba.client.annotation.elements that return Img Modifier and Type Method Description Img
OptionsElement. getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returnsnull
.Methods in org.pepstock.charba.client.annotation.elements with parameters of type Img Modifier and Type Method Description void
OptionsElement. setPointStyle(Img pointStyle)
Sets the style of the point as image. -
Uses of Img in org.pepstock.charba.client.colors
Methods in org.pepstock.charba.client.colors that return Img Modifier and Type Method Description Img
Pattern. getImage()
Returns the image used in the pattern if exists.Methods in org.pepstock.charba.client.colors with parameters of type Img Modifier and Type Method Description static PatternBuilder
PatternBuilder. create(Img image)
Creates the object using an image to use in the pattern.
The repetition used is repeat.static PatternBuilder
PatternBuilder. create(Img image, Repetition repetition)
Creates the object using an image to use in the pattern and repetition to apply to pattern. -
Uses of Img in org.pepstock.charba.client.colors.tiles
Constructors in org.pepstock.charba.client.colors.tiles with parameters of type Img Constructor Description ImageShape(Img image)
Creates a shape with an image. -
Uses of Img in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return Img Modifier and Type Method Description Img
ArrayImage. get(int index)
Gets the value at a given index.Img
ArrayImageList. get(int index)
Returns the element at the specified position in this list.protected Img
NativeObjectContainer. getValue(Key key, Img defaultValue)
Returns a value (image) in the embedded JavaScript object at specific property.Img
ArrayImageList. 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).Img
ArrayImageList. set(int index, Img 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 Img Modifier and Type Method Description static List<Img>
ArrayListHelper. unmodifiableList(ArrayImage values)
Creates a array list of images by a java script array of images.Methods in org.pepstock.charba.client.commons with parameters of type Img Modifier and Type Method Description void
ArrayImageList. add(int index, Img 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
ArrayImageList. add(Img element)
Appends the specified element to the end of this listvoid
ArrayImageList. addAll(Img... values)
Loads an array of elements in the liststatic ArrayImage
ArrayImage. fromOrEmpty(Img... items)
This method creates new array instance with a variable number ofImageElement
arguments.static ArrayImage
ArrayImage. fromOrNull(Img... items)
This method creates new array instance with a variable number ofImageElement
arguments.protected Img
NativeObjectContainer. getValue(Key key, Img defaultValue)
Returns a value (image) in the embedded JavaScript object at specific property.protected ArrayImage
NativeObjectContainer. getValueOrArray(Key key, Img 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 image.Img
ArrayImageList. set(int index, Img element)
Replaces the element at the specified position in this list with the specified element.protected void
NativeObjectContainer. setValue(Key key, Img value)
Sets a value (image) in the embedded JavaScript object at specific property.protected void
AbstractNode. setValueAndAddToParent(Key key, Img value)
Sets a value (image) in the embedded JavaScript object at specific property.protected void
PropertyHandler. setValueAndAddToParent(Key key, Img value)
Sets a value (image) in the embedded JavaScript object at specific property.protected void
NativeObjectContainer. setValueOrArray(Key key, Img... values)
Sets a value (array or image) 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, Img... values)
Sets a value (array or image) 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
PropertyHandler. setValueOrArrayAndAddToParent(Key key, Img... values)
Sets a value (array or image) in the embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a image.Method parameters in org.pepstock.charba.client.commons with type arguments of type Img Modifier and Type Method Description boolean
ArrayImageList. addAll(Collection<? extends Img> 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 ArrayImage
ArrayImage. fromOrEmpty(List<Img> items)
Creates a java script array of images starting from list of images.static ArrayImage
ArrayImage. fromOrNull(List<Img> items)
Creates a java script array of images starting from list of images. -
Uses of Img in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration that return Img Modifier and Type Method Description Img
Bar. getPointStyleAsImage()
Returns the style of the point as image.Img
LegendLabels. getPointStyleAsImage()
Returns the style of the legend as image.Img
Point. getPointStyleAsImage()
Returns the style of the point as image.Methods in org.pepstock.charba.client.configuration with parameters of type Img Modifier and Type Method Description void
Bar. setPointStyle(Img pointStyle)
Sets the style of the point as image.void
LegendLabels. setPointStyle(Img pointStyle)
Sets the style of the legend, overriding point style from dataset, as image.
Only applies ifLegendLabels.setUsePointStyle(boolean)
is set totrue
.void
Point. setPointStyle(Img pointStyle)
Sets the style of the point as image. -
Uses of Img in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data that return Img Modifier and Type Method Description Img
BarDataset. getPointStyleAsImage()
Returns the style of the point for legend as image.Methods in org.pepstock.charba.client.data with parameters of type Img Modifier and Type Method Description void
BarDataset. setPointStyle(Img pointStyle)
Sets the style of the point for legend as image. -
Uses of Img in org.pepstock.charba.client.defaults
Methods in org.pepstock.charba.client.defaults that return Img Modifier and Type Method Description default Img
IsDefaultPointStyleHandler. getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returnsnull
. -
Uses of Img in org.pepstock.charba.client.defaults.chart
Methods in org.pepstock.charba.client.defaults.chart that return Img Modifier and Type Method Description Img
DefaultChartBar. getPointStyleAsImage()
Img
DefaultChartLegendLabels. getPointStyleAsImage()
Img
DefaultChartPoint. getPointStyleAsImage()
-
Uses of Img in org.pepstock.charba.client.defaults.globals
Methods in org.pepstock.charba.client.defaults.globals that return Img Modifier and Type Method Description Img
DefaultBar. getPointStyleAsImage()
Img
DefaultLegendLabels. getPointStyleAsImage()
-
Uses of Img in org.pepstock.charba.client.dom
Methods in org.pepstock.charba.client.dom that return Img Modifier and Type Method Description Img
DOMBuilder. createImageElement()
Creates a <img> element.Img
DOMBuilder. createImageElement(String src)
Creates a <img> element with the full URL of the image. -
Uses of Img in org.pepstock.charba.client.dom.elements
Methods in org.pepstock.charba.client.dom.elements that return Img Modifier and Type Method Description static Img
CastHelper. toImg(Object object)
Returns aImg
object casting the argument.Methods in org.pepstock.charba.client.dom.elements with parameters of type Img Modifier and Type Method Description CanvasPatternItem
Context2dItem. createPattern(Img image, Repetition repetition)
Creates a pattern using the specified image and repetition.void
Context2dItem. drawImage(Img image, double dx, double dy)
Draws an image onto the canvas.void
Context2dItem. drawImage(Img image, double dx, double dy, double dWidth)
Draws an image onto the canvas.void
Context2dItem. drawImage(Img image, double dx, double dy, double dWidth, double dHeight)
Draws an image onto the canvas. -
Uses of Img in org.pepstock.charba.client.gwt
Methods in org.pepstock.charba.client.gwt that return Img Modifier and Type Method Description static Img
ImagesHelper. toImg(com.google.gwt.resources.client.ImageResource image)
Creates a image element by image resource which provides access to image data at runtime.static Img
ImagesHelper. toImg(com.google.gwt.resources.client.ImageResource image, int width, int height)
Creates a image element by image resource which provides access to image data at runtime, forcing the size.static Img
ImagesHelper. toImg(com.google.gwt.user.client.ui.Image image)
Creates a image element by image widget that displays the image at a given URL.static Img
ImagesHelper. toImg(com.google.gwt.user.client.ui.Image image, int width, int height)
Creates a image element by image widget that displays the image at a given URL, forcing the size.static Img
ImagesHelper. toImg(String url)
Creates a image element by a data URL which is a URI scheme that provides a way to in-line data in a document, and it's commonly used to embed images in HTML and CSS.static Img
ImagesHelper. toImg(String url, int width, int height)
Creates a image element by a data URL which is a URI scheme that provides a way to in-line data in a document, and it's commonly used to embed images in HTML and CSS, forcing the size. -
Uses of Img in org.pepstock.charba.client.impl.plugins
Methods in org.pepstock.charba.client.impl.plugins that return Img Modifier and Type Method Description Img
SelectionCleaner. getImage()
Returns the selection cleaner image.Methods in org.pepstock.charba.client.impl.plugins with parameters of type Img Modifier and Type Method Description DatasetsItemsSelectorOptionsBuilder
DatasetsItemsSelectorOptionsBuilder. setImage(Img image)
Sets the selection cleaner image.void
SelectionCleaner. setImage(Img image)
Sets the selection cleaner image. -
Uses of Img in org.pepstock.charba.client.items
Fields in org.pepstock.charba.client.items declared as Img Modifier and Type Field Description static Img
Undefined. IMAGE_ELEMENT
Default value for ImageElement instances, null.Methods in org.pepstock.charba.client.items that return Img Modifier and Type Method Description Img
DatasetElementOptions. getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returnsnull
.Img
LegendItem. getPointStyleAsImage()
Returns the style (as image) of the legend box (only used if usePointStyle is true)Img
TooltipLabelPointStyle. getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returnsnull
.Methods in org.pepstock.charba.client.items with parameters of type Img Modifier and Type Method Description void
LegendLabelItem. setPointStyle(Img pointStyle)
Sets the style (as image) of the legend box (only used if usePointStyle is true)void
TooltipLabelPointStyle. setPointStyle(Img pointStyle)
Sets the style of the point as image.Constructors in org.pepstock.charba.client.items with parameters of type Img Constructor Description TooltipLabelPointStyle(Img poitnStyle)
Creates the object setting the point style argument -
Uses of Img in org.pepstock.charba.client.labels
Methods in org.pepstock.charba.client.labels that return types with arguments of type Img Modifier and Type Method Description List<Img>
Label. getImages()
Returns the images whenRender
isRender.IMAGE
.Methods in org.pepstock.charba.client.labels with parameters of type Img Modifier and Type Method Description void
Label. setImages(Img... images)
Sets the images whenRender
isRender.IMAGE
.LabelBuilder
LabelBuilder. setImages(Img... images)
Sets the images whenRender
isRender.IMAGE
. -
Uses of Img in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return Img Modifier and Type Method Description default Img
HasPointStyle. getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returnsnull
.Methods in org.pepstock.charba.client.options with parameters of type Img Modifier and Type Method Description default void
HasPointStyle. setPointStyle(Img pointStyle)
Sets the style of the point as image. -
Uses of Img in org.pepstock.charba.client.utils
Methods in org.pepstock.charba.client.utils that return Img Modifier and Type Method Description static Img
AnnotationBuilder. build(String htmlXmlContent, double width, double height)
Creates an image to apply to canvas with the HTML content (MUST BE XML well-formed) and width and height of the resulted image.static Img
AnnotationBuilder. build(BaseHtmlElement htmlXmlContent, double width, double height)
Creates an image to apply to canvas with the HTML content (passed as DOM element) and width and height of the resulted image.static Img
Utilities. toImageElement(String url)
Creates a image element by a data URL which is a URI scheme that provides a way to in-line data in a document, and it's commonly used to embed images in HTML and CSS.static Img
Utilities. toImageElement(String url, int width, int height)
Creates a image element by a data URL which is a URI scheme that provides a way to in-line data in a document, and it's commonly used to embed images in HTML and CSS, forcing the size.Methods in org.pepstock.charba.client.utils with parameters of type Img Modifier and Type Method Description static String
Utilities. toCSSBackgroundProperty(Img image)
Returns a URL CSS property for the current content of an image element instance. -
Uses of Img in org.pepstock.charba.client.utils.toast
Methods in org.pepstock.charba.client.utils.toast that return Img Modifier and Type Method Description default Img
IsDefaultToastOptions. getIcon()
Returns the icon image set for toast.Img
ToastItemOptions. getIcon()
Returns the icon image set for toast.Methods in org.pepstock.charba.client.utils.toast with parameters of type Img Modifier and Type Method Description ToastOptionsBuilder
ToastOptionsBuilder. setIcon(Img icon)
Sets the icon image set for toast.
-