public abstract class ControllerBundle
extends Object
| Constructor and Description |
|---|
ControllerBundle(ControllerAdapter adapter,
View view,
Model model)
Instantiates a new ControllerBundle.
|
ControllerBundle(View view,
Model model)
Instantiates a new ControllerBundle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(Object component)
Adds the component to the view.
|
void |
addComponent(Object component,
long behavior)
Adds the component to the view using behavior modifier.
|
void |
free()
Frees the memory.
|
Controller |
getController()
Gets the controller.
|
View |
getView()
Gets the view.
|
void |
init()
Starts MVC.
|
void |
setControllerAdapter(ControllerAdapter value)
Sets the controller adapter.
|
public ControllerBundle(ControllerAdapter adapter, View view, Model model) throws Exception
adapter - the adapterview - the viewmodel - the modelException - in case of any errorpublic void addComponent(Object component)
component - the componentpublic void addComponent(Object component,
long behavior)
component - the componentbehavior - the behaviorpublic void free()
public Controller getController()
public View getView()
public void init()
public void setControllerAdapter(ControllerAdapter value)
value - the new controller adapterCopyright © 2010-2020 Toolsverse. All Rights Reserved.