Package | Description |
---|---|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
org.pepstock.charba.client.dom |
Contains all classes needed to work with DOM tree, base classes of a DOM tree.
|
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 |
---|---|
CallbackProxy.Proxy |
CallbackProxy.getProxy()
Returns the function
proxy implemented in the additional java script source. |
Modifier and Type | Method and Description |
---|---|
void |
CallbackPropertyHandler.setCallback(AbstractNode container,
String scope,
T callback,
CallbackProxy.Proxy proxy)
Stores the callback in the the cache, storing the proxy function and the hash code property key (unique id of callback) in the native object.
|
protected void |
AbstractNode.setInternalCallbackToModel(AbstractNode model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function to a model at the specific key.
|
protected void |
NativeObjectContainer.setValue(Key key,
CallbackProxy.Proxy value)
Sets a value (callback proxy function) in the embedded JavaScript object at specific property.
|
protected void |
PropertyHandler.setValueAndAddToParent(Key key,
CallbackProxy.Proxy value)
Sets a value (callback proxy function) in the embedded JavaScript object at specific property.
|
protected void |
AbstractNode.setValueAndAddToParent(Key key,
CallbackProxy.Proxy value)
Sets a value (callback proxy function) in the embedded JavaScript object at specific property.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseEventTarget.addEventListener(String type,
CallbackProxy.Proxy listener)
Sets up a function that will be called whenever the specified event is delivered to the target.
|
void |
BaseEventTarget.removeEventListener(String type,
CallbackProxy.Proxy listener)
Removes from the event target an event listener previously registered.
The event listener to be removed is identified using a combination of the event type and the event listener function itself. |
Modifier and Type | Method and Description |
---|---|
void |
ExtendedOptions.setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
CallbackProxy.Proxy proxy)
Adds a callback proxy function to a element node instance.
|
void |
ExtendedScale.setCallback(ConfigurationEnvelop<AbstractNode> envelop,
Key property,
CallbackProxy.Proxy proxy)
Adds a callback proxy function to a element node instance.
|
protected void |
AbstractModel.setCallbackToModel(AbstractNode model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function (for callbacks) to a model at the specific key.
|
protected void |
AbstractModel.setEventToModel(AbstractNode model,
Key key,
CallbackProxy.Proxy proxy)
Adds a proxy function (for events) to a model at the specific key.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtendedOptions.setEvent(AbstractNode node,
Key property,
ConfigurationEnvelop<CallbackProxy.Proxy> envelop)
Adds a event proxy function to animation element instance.
|