public final class Controllers extends Object
chart.controllers.| Modifier and Type | Method and Description |
|---|---|
static Controllers |
get()
Singleton method to get static instance.
|
Controller |
getController(ControllerType type)
Returns the controller by name as
ControllerType. |
Controller |
getController(String type)
Returns the controller by name as string.
|
ControllerType |
getTypeByString(String type)
Returns the controller type by name as string.
|
Set<String> |
getTypeNames()
Gets all global registered controllers types.
|
boolean |
isRegistered(String type)
Checks if the controller is registered by its type.
|
public static Controllers get()
public boolean isRegistered(String type)
type - type of new chart as string.true if registered, otherwise false.public Set<String> getTypeNames()
public ControllerType getTypeByString(String type)
type - controller type as string.null if does not exist.public Controller getController(ControllerType type)
ControllerType.type - controller as ControllerType.null if does not exist.public Controller getController(String type)
type - controller as string.null if does not exist.