Package | Description |
---|---|
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 into 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.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.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.
|
Modifier and Type | Method and Description |
---|---|
Img |
Pattern.getImage()
Returns the image used into pattern if exists.
|
Constructor and Description |
---|
Pattern(Img image)
Creates the object using an image to use in the pattern.
The repetition used is repeat. |
Pattern(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) into 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 into 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) into embedded JavaScript object at specific property.
|
protected ArrayImage |
NativeObjectContainer.getValueOrArray(Key key,
Img defaultValue)
Returns a value (array) into 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) into embedded JavaScript object at specific property.
|
protected void |
NativeObjectContainer.setValueOrArray(Key key,
Img... values)
Sets a value (Array or image) into 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 |
Point.getPointStyleAsImage()
Returns the style of the point as image.
|
Modifier and Type | Method and Description |
---|---|
void |
Point.setPointStyle(Img pointStyle)
Sets the style of the point as image .
|
Modifier and Type | Method and Description |
---|---|
List<Img> |
LiningDataset.getPointStyleAsImages()
Returns the style of the point as image.
|
Modifier and Type | Method and Description |
---|---|
void |
LiningDataset.setPointStyle(Img... pointStyle)
Sets the style of the point as image.
|
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 | Field and Description |
---|---|
static Img |
ClearSelection.DEFAULT_CLEAR_SELECTION_18
Default clear selection image,
|
static Img |
ClearSelection.DEFAULT_CLEAR_SELECTION_24
Default clear selection image,
|
static Img |
ClearSelection.DEFAULT_CLEAR_SELECTION_36
Default clear selection image,
|
static Img |
ClearSelection.DEFAULT_IMAGE
Default image for clear selection element.
|
Modifier and Type | Method and Description |
---|---|
Img |
ClearSelection.getImage()
Returns the clear selection image.
|
Modifier and Type | Method and Description |
---|---|
DatasetsItemsSelectorOptionsBuilder |
DatasetsItemsSelectorOptionsBuilder.setImage(Img image)
Sets the clear selection image.
|
void |
ClearSelection.setImage(Img image)
Sets the clear selection image.
|
Modifier and Type | Field and Description |
---|---|
static Img |
UndefinedValues.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)
|
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)
|
Modifier and Type | Method and Description |
---|---|
List<Img> |
LabelsOptions.getImages()
Returns the images when
Render is Render.IMAGE . |
Modifier and Type | Method and Description |
---|---|
LabelsOptionsBuilder |
LabelsOptionsBuilder.setImages(Img... images)
Sets the images when
Render is Render.IMAGE . |
void |
LabelsOptions.setImages(Img... images)
Sets the images when
Render is Render.IMAGE . |
Modifier and Type | Method and Description |
---|---|
Img |
Point.getPointStyleAsImage()
Returns the style of the point as image.
|
Modifier and Type | Method and Description |
---|---|
void |
Point.setPointStyle(Img pointStyle)
Sets the style of the point as 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 GWT 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.
|