|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.client.controller.AdvancedSettingsScreenController
public abstract class AdvancedSettingsScreenController
Realize the MVC control section of the view elements' in all of the AdvancedSettingsScreen interface implementation. It uses the screen in order to set and get the log level and correctly initialize and dinamically manage its view elements. This class is abstract as it contains generic methods to send and view log; such those methods are implementation dependent as their realization is different on different platforms.
Field Summary | |
---|---|
protected Configuration |
configuration
|
protected Controller |
controller
|
protected Customization |
customization
|
protected Localization |
localization
|
protected AdvancedSettingsScreen |
screen
|
static java.lang.String |
TAG_LOG
The tag to be wirtten into the log |
Constructor Summary | |
---|---|
AdvancedSettingsScreenController(Controller controller,
AdvancedSettingsScreen screen)
public constructor: uses the simple controller object and the controlled screen because on one side it must be compliant with the customization, localization and configuration related to the screen and on the other side it must control the behavior of the screen elements referring to the AdvancedSettingsScreen interface. |
Method Summary | |
---|---|
void |
checkAndSave()
Check the view parameters and save the configuration related to the AdvancedSettingsScreen implementation that uses this class. |
void |
initialize()
Initialize the config parameter on the screen, in particular the log level. |
void |
reset()
Realize the "Reset" action. |
abstract void |
sendLog()
Realize the Send log action. |
abstract void |
viewLog()
Realize the View log action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG_LOG
protected AdvancedSettingsScreen screen
protected Controller controller
protected Configuration configuration
protected Customization customization
protected Localization localization
Constructor Detail |
---|
public AdvancedSettingsScreenController(Controller controller, AdvancedSettingsScreen screen)
controller
- the object that contains the customization,
localization and configuration instances.screen
- the AdvancedSettingsScreen implementation to be controlled
by this class.Method Detail |
---|
public void checkAndSave()
public void reset()
public void initialize()
public abstract void sendLog()
public abstract void viewLog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |