Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options 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.enums |
Contains all enumerations of some chart options where only a specific set of values can be set.
|
org.pepstock.charba.client.options |
Contains all elements to configure charts at global level (know as chart global options).
|
Modifier and Type | Method and Description |
---|---|
AnimationCollection |
UpdateConfiguration.create(AnimationCollectionKey collection)
Creates an animation collection instance and stores in the the animation options.
|
AnimationCollection |
UpdateConfiguration.get(AnimationCollectionKey collection)
Returns an animation collection instance if stored in the the animation options.
|
boolean |
UpdateConfiguration.has(AnimationCollectionKey collection)
Returns
true if an animation collection instance is stored in the the animation options. |
boolean |
UpdateConfiguration.isEnabled(AnimationCollectionKey collection)
Returns
true if the animation collection is enabled, otherwise false . |
void |
UpdateConfiguration.remove(AnimationCollectionKey collection)
Removes an animation collection previously added.
|
void |
UpdateConfiguration.set(AnimationCollectionKey collection,
AnimationCollection animationCollection)
Sets an animation collection instance to store in the animation options.
|
void |
UpdateConfiguration.setEnabled(AnimationCollectionKey collection,
boolean enabled)
Enables or disables an animation collection instance in the animation options.
|
Modifier and Type | Method and Description |
---|---|
AnimationCollection |
Animations.create(AnimationCollectionKey collection)
Creates an animation collection instance and stores in the the animation options.
|
AnimationCollection |
Animations.get(AnimationCollectionKey collection)
Returns an animation collection instance if stored in the the animation options.
|
boolean |
Animations.has(AnimationCollectionKey collection)
Returns
true if an animation collection instance is stored in the the animation options. |
boolean |
Animations.isEnabled(AnimationCollectionKey collection)
Returns
true if the animation collection is enabled, otherwise false . |
void |
Animations.remove(AnimationCollectionKey collection)
Removes an animation collection previously added.
|
void |
Animations.set(AnimationCollectionKey collection,
AnimationCollection animationCollection)
Sets an animation collection instance to store in the animation options.
|
void |
Animations.setEnabled(AnimationCollectionKey collection,
boolean enabled)
Enables or disables an animation collection instance in the animation options.
|
Modifier and Type | Method and Description |
---|---|
IsDefaultAnimationCollection |
IsDefaultAnimations.get(AnimationCollectionKey collection)
Returns an animation collection instance if stored in the the animation options.
|
boolean |
IsDefaultAnimations.has(AnimationCollectionKey collection)
Returns
true if an animation collection instance is stored in the the animation options. |
Modifier and Type | Method and Description |
---|---|
IsDefaultAnimationCollection |
DefaultChartAnimations.get(AnimationCollectionKey collection) |
boolean |
DefaultChartAnimations.has(AnimationCollectionKey collection) |
Modifier and Type | Method and Description |
---|---|
IsDefaultAnimationCollection |
DefaultAnimations.get(AnimationCollectionKey collection) |
boolean |
DefaultAnimations.has(AnimationCollectionKey collection) |
Constructor and Description |
---|
DefaultAnimationCollection(AnimationCollectionKey collection)
Creates a default animation collection wrapping the
AnimationCollectionKey . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultAnimationCollectionKey
Cores animation collections names provided out of the box by CHART.JS.
|
class |
DefaultAnimationPropertyKey
Cores animation properties, to use to animate, provided out of the box by CHART.JS.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DefaultAnimationCollectionKey.is(AnimationCollectionKey collection)
Returns
true if the argument is equals to a default animation collection. |
Modifier and Type | Interface and Description |
---|---|
interface |
AnimationPropertyKey
Represents the property id to set to the configure animation collection items.
|
Modifier and Type | Class and Description |
---|---|
class |
StandardAnimationCollection
This is a standard implementation of an animation collection
|
class |
StandardAnimationProperty
This is a standard implementation of an animation property.
|
Modifier and Type | Method and Description |
---|---|
static AnimationCollectionKey |
AnimationCollectionKey.checkAndGetIfValid(AnimationCollectionKey collection)
Checks if collection passed as argument is not
null and its value is not null as well.If not, throw a IllegalArgumentException , otherwise it returns the argument. |
static AnimationCollectionKey |
AnimationCollectionKey.create(String collection,
AnimationPropertyKey... properties)
Returns a animation collection instance by its string value.
|
static AnimationCollectionKey |
AnimationCollectionKey.create(String collection,
AnimationType type)
Returns a animation collection instance by its string value.
|
Modifier and Type | Method and Description |
---|---|
static AnimationCollectionKey |
AnimationCollectionKey.checkAndGetIfValid(AnimationCollectionKey collection)
Checks if collection passed as argument is not
null and its value is not null as well.If not, throw a IllegalArgumentException , otherwise it returns the argument. |
static void |
AnimationCollectionKey.checkIfValid(AnimationCollectionKey collection)
Checks if type passed as argument is not
null and its type is not null as well.If not, throw a IllegalArgumentException . |
AnimationCollection |
Animations.create(AnimationCollectionKey collection)
Creates an animation collection instance and stores in the the animation options.
|
AnimationCollection |
IsAnimations.create(AnimationCollectionKey collection)
Creates an animation collection instance and stores in the the animation options.
|
AnimationCollection |
Animations.get(AnimationCollectionKey collection)
Returns an animation collection instance if stored in the the animation options.
|
AnimationCollection |
IsAnimations.get(AnimationCollectionKey collection)
Returns an animation collection instance if stored in the the animation options.
|
boolean |
Animations.has(AnimationCollectionKey collection)
Returns
true if an animation collection instance is stored in the the animation options. |
boolean |
Animations.isEnabled(AnimationCollectionKey collection)
Returns
true if the animation collection is enabled, otherwise false . |
boolean |
IsAnimations.isEnabled(AnimationCollectionKey collection)
Returns
true if the animation collection is enabled, otherwise false . |
static boolean |
AnimationCollectionKey.isValid(AnimationCollectionKey collection)
Returns
true if type passed as argument is not null and its type is not null as well. |
void |
Animations.remove(AnimationCollectionKey collection)
Removes an animation collection previously added.
|
void |
IsAnimations.remove(AnimationCollectionKey collection)
Removes an animation collection previously added.
|
void |
Animations.set(AnimationCollectionKey collection,
AnimationCollection animationCollection)
Sets an animation collection instance to store in the animation options.
|
void |
IsAnimations.set(AnimationCollectionKey collection,
AnimationCollection animationCollection)
Sets an animation collection instance to store in the animation options.
|
void |
Animations.setEnabled(AnimationCollectionKey collection,
boolean enabled)
Enables or disables an animation collection instance in the animation options.
|
void |
IsAnimations.setEnabled(AnimationCollectionKey collection,
boolean enabled)
Enables or disables an animation collection instance in the animation options.
|