public class ControlConfig extends Object implements ControlConfigIF
Implementors wanting to provide special models, view or skins can implement their own version which may use the controller.xml configuration file. The new class must implement ControlConfigIF.
| Constructor and Description |
|---|
ControlConfig(String resource)
Constructor which takes a path to the configuration file.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBehaviour() |
String |
getContentType() |
String |
getModel() |
String |
getModelPath() |
String |
getSkin() |
String |
getSkinPath() |
String |
getView() |
String |
getViewPath() |
void |
update(String model,
String view,
String skin)
Updates the state of the object to include user preferences.
|
public ControlConfig(String resource)
public void update(String model, String view, String skin)
userUpdate allows the user preferences to be
incorporatedupdate in interface ControlConfigIFmodel - a string representing the model choiceview - a string representing the view choiceskin - a string representing the skin choicepublic String getModelPath()
getModelPath in interface ControlConfigIFpublic String getViewPath()
getViewPath in interface ControlConfigIFpublic String getSkinPath()
getSkinPath in interface ControlConfigIFpublic String getBehaviour()
getBehaviour in interface ControlConfigIFpublic String getContentType()
getContentType in interface ControlConfigIFpublic String getModel()
getModel in interface ControlConfigIFpublic String getView()
getView in interface ControlConfigIFpublic String getSkin()
getSkin in interface ControlConfigIF