public final class Controllers
extends java.lang.Object
chart.controllers
.Constructor and Description |
---|
Controllers() |
Modifier and Type | Method and Description |
---|---|
boolean |
extend(Controller controller)
Registers a controller as global, to apply to all charts.
|
java.util.Set<java.lang.String> |
getTypeNames()
Gets all global registered controllers ids.
|
public boolean extend(Controller controller) throws InvalidControllerTypeException
controller
- controller instancetrue
if registered, otherwise false
if the controller is already registered with the controller type of controller instance.InvalidControllerTypeException
- if the controller type is not correct.public java.util.Set<java.lang.String> getTypeNames()