Package | Description |
---|---|
org.pepstock.charba.client.annotation |
Contains all classes to activate the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
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 use
LabelsPlugin.ID plugin (AKA chartjs-plugin-labels.js ) available for CHART.JS. |
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 use
Toaster utility. |
Modifier and Type | Method and Description |
---|---|
Img |
LineLabel.getContentAsImage()
Returns the text to display in label as list.
|
Modifier and Type | Method and Description |
---|---|
void |
LineLabel.setContent(Img content)
Sets the image to display in label.
|
Modifier and Type | Method and Description |
---|---|
Img |
Pattern.getImage()
Returns the image used in the pattern if exists.
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
ImageShape(Img image)
Creates a shape with an image.
|
Modifier and Type | Method and Description |
---|---|
Img |
ArrayImageList.get(int index)
Returns the element at the specified position in this list.
|
Img |
ArrayImage.get(int index)
Gets the value at a given index.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static List<Img> |
ArrayListHelper.unmodifiableList(ArrayImage values)
Creates a array list of images by a java script array of images.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ArrayImageList.add(Img element)
Appends the specified element to the end of this list
|
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). |
void |
ArrayImageList.addAll(Img... values)
Loads an array of elements in the the list
|
static ArrayImage |
ArrayImage.fromOrEmpty(Img... items)
This method creates new array instance with a variable number of
ImageElement arguments. |
static ArrayImage |
ArrayImage.fromOrNull(Img... items)
This method creates new array instance with a variable number of
ImageElement 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 |
PropertyHandler.setValueAndAddToParent(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 |
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 |
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. |
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. |
Modifier and Type | Method and 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 iterator
|
static 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.
|
Modifier and Type | Method and Description |
---|---|
Img |
Bar.getPointStyleAsImage()
Returns the style of the point as image.
|
Img |
Point.getPointStyleAsImage()
Returns the style of the point as image.
|
Img |
LegendLabels.getPointStyleAsImage()
Returns the style of the legend as image.
|
Modifier and Type | Method and Description |
---|---|
void |
Bar.setPointStyle(Img pointStyle)
Sets the style of the point as image.
|
void |
Point.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 if LegendLabels.setUsePointStyle(boolean) is set to true . |
Modifier and Type | Method and Description |
---|---|
Img |
BarDataset.getPointStyleAsImage()
Returns the style of the point for legend as image.
|
Modifier and Type | Method and Description |
---|---|
void |
BarDataset.setPointStyle(Img pointStyle)
Sets the style of the point for legend as image.
|
Modifier and Type | Method and Description |
---|---|
default Img |
IsDefaultPointStyleHandler.getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null . |
Modifier and Type | Method and Description |
---|---|
Img |
DefaultChartLegendLabels.getPointStyleAsImage() |
Img |
DefaultChartPoint.getPointStyleAsImage() |
Img |
DefaultChartBar.getPointStyleAsImage() |
Modifier and Type | Method and Description |
---|---|
Img |
DefaultLegendLabels.getPointStyleAsImage() |
Img |
DefaultBar.getPointStyleAsImage() |
Modifier and Type | Method and Description |
---|---|
Img |
DOMBuilder.createImageElement()
Creates a <img> element.
|
Img |
DOMBuilder.createImageElement(String src)
Creates a <img> element with the full URL of the image.
|
Modifier and Type | Method and Description |
---|---|
static Img |
CastHelper.toImg(Object object)
Returns a
Img object casting the argument. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static Img |
ImagesHelper.toImg(Image image)
Creates a image element by image widget that displays the image at a given URL.
|
static Img |
ImagesHelper.toImg(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(ImageResource image)
Creates a image element by image resource which provides access to image data at runtime.
|
static Img |
ImagesHelper.toImg(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(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.
|
Modifier and Type | Method and Description |
---|---|
Img |
SelectionCleaner.getImage()
Returns the selection cleaner image.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectionCleaner.setImage(Img image)
Sets the selection cleaner image.
|
DatasetsItemsSelectorOptionsBuilder |
DatasetsItemsSelectorOptionsBuilder.setImage(Img image)
Sets the selection cleaner image.
|
Modifier and Type | Field and Description |
---|---|
static Img |
Undefined.IMAGE_ELEMENT
Default value for ImageElement instances, null.
|
Modifier and Type | Method and Description |
---|---|
Img |
LegendItem.getPointStyleAsImage()
Returns the style (as image) of the legend box (only used if usePointStyle is true)
|
Img |
DatasetElementOptions.getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null . |
Img |
TooltipLabelPointStyle.getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null . |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
TooltipLabelPointStyle(Img poitnStyle)
Creates the object setting the point style argument
|
Modifier and Type | Method and Description |
---|---|
List<Img> |
Label.getImages()
Returns the images when
Render is Render.IMAGE . |
Modifier and Type | Method and Description |
---|---|
LabelBuilder |
LabelBuilder.setImages(Img... images)
Sets the images when
Render is Render.IMAGE . |
void |
Label.setImages(Img... images)
Sets the images when
Render is Render.IMAGE . |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
static String |
Utilities.toCSSBackgroundProperty(Img image)
Returns a URL CSS property for the current content of an image element instance.
|
Modifier and Type | Method and Description |
---|---|
Img |
ToastItemOptions.getIcon()
Returns the icon image set for toast.
|
default Img |
IsDefaultToastOptions.getIcon()
Returns the icon image set for toast.
|
Modifier and Type | Method and Description |
---|---|
ToastOptionsBuilder |
ToastOptionsBuilder.setIcon(Img icon)
Sets the icon image set for toast.
|