Class AbstractController
- java.lang.Object
-
- org.pepstock.charba.client.controllers.AbstractController
-
- All Implemented Interfaces:
Controller
public abstract class AbstractController extends Object implements Controller
Abstract implementation of a controller.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractController(ControllerType type)
Creates the controller by its type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControllerType
getType()
Controller must define a unique id in order to be configurable.
Returns the controller id.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.Controller
getType, mustBeRegistered, onAfterDraw, onAfterInitialize, onAfterLinkScales, onAfterParse, onAfterUpdate, onBeforeDraw, onBeforeInitialize, onBeforeLinkScales, onBeforeParse, onBeforeUpdate
-
-
-
-
Constructor Detail
-
AbstractController
protected AbstractController(ControllerType type)
Creates the controller by its type.- Parameters:
type
- the type of this controller.
-
-
Method Detail
-
getType
public final ControllerType getType()
Controller must define a unique id in order to be configurable.
Returns the controller id.- Returns:
- the controller id.
-
-