M - the generic type of the modelV - the generic type of the viewpublic interface Controller<M,V>
| Modifier and Type | Method and Description |
|---|---|
Controller<M,V> |
getChild(String key)
Gets the child from this controller.
|
Map<String,Controller<M,V>> |
getChildren()
Gets the children from this controller.
|
M |
getModel()
Gets the model.
|
String |
getName()
Gets the name from the Controller.
|
Controller<M,V> |
getParent()
Gets the parent from this controller.
|
V |
getView()
Gets the view.
|
boolean |
hasChild(Controller<M,V> controller)
Checks for child.
|
boolean |
hasChild(String key)
Checks for child.
|
void |
process(ActionEvent event)
Process.
|
Controller<M,V> |
removeChild(Controller<M,V> controller)
Removes the child.
|
Controller<M,V> |
removeChild(String key)
Removes the child.
|
Object |
setChild(String key,
Controller<M,V> controller)
Sets a child from this controller.
|
void |
setModel(M model)
Sets the model.
|
void |
setParent(Controller<M,V> controller)
Sets the parent.
|
void |
setView(V view)
Sets the view.
|
V getView()
void setView(V view)
view - the new viewM getModel()
void setModel(M model)
model - the new modelController<M,V> getParent()
void setParent(Controller<M,V> controller)
controller - the new parentController<M,V> getChild(String key)
key - the keyObject setChild(String key, Controller<M,V> controller)
key - the keycontroller - the controllerController<M,V> removeChild(Controller<M,V> controller)
controller - the controllerController<M,V> removeChild(String key)
key - the key from the controllerMap<String,Controller<M,V>> getChildren()
void process(ActionEvent event)
event - the eventString getName()
boolean hasChild(String key)
key - the keyboolean hasChild(Controller<M,V> controller)
controller - the controllerCopyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.