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.
|
Controller<M,V> getChild(String key)
key - the keyMap<String,Controller<M,V>> getChildren()
M getModel()
String getName()
Controller<M,V> getParent()
V getView()
boolean hasChild(Controller<M,V> controller)
controller - the controllerboolean hasChild(String key)
key - the keyvoid process(ActionEvent event)
event - the eventController<M,V> removeChild(Controller<M,V> controller)
controller - the controllerController<M,V> removeChild(String key)
key - the key from the controllerObject setChild(String key, Controller<M,V> controller)
key - the keycontroller - the controllervoid setModel(M model)
model - the new modelvoid setParent(Controller<M,V> controller)
controller - the new parentvoid setView(V view)
view - the new viewCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.