com.funambol.client.controller
Class Controller

java.lang.Object
  extended by com.funambol.client.controller.Controller

public class Controller
extends java.lang.Object


Field Summary
static int ABOUT_SCREEN_ID
           
static int ACCOUNT_SCREEN_ID
           
static int ADVANCED_SETTINGS_SCREEN_ID
           
protected  AppSyncSourceManager appSyncSourceManager
           
protected  Configuration configuration
           
static int CONFIGURATION_SCREEN_ID
           
protected  Customization customization
           
static int HOME_SCREEN_ID
           
protected  Localization localization
           
protected  SyncModeHandler syncModeHandler
           
 
Constructor Summary
Controller(ControllerDataFactory fact, Configuration configuration, Customization customization, Localization localization, AppSyncSourceManager appSyncSourceManager)
           
 
Method Summary
 boolean checkForUpdate()
           
 AboutScreenController getAboutScreenController()
           
 AccountScreenController getAccountScreenController()
           
 AppSyncSourceManager getAppSyncSourceManager()
           
 Configuration getConfiguration()
           
 Customization getCustomization()
           
 DialogController getDialogController()
           
 DisplayManager getDisplayManager()
           
 HomeScreenController getHomeScreenController()
           
 Localization getLocalization()
           
 SourceConfig getSourceConfig(int x)
           
 SyncSettingsScreenController getSyncSettingsScreenController()
           
 void hideScreen(Screen screen)
           
 boolean isUpdate()
           
 void promptUpdate()
          Called when user selected Download Update from the menu
 void reapplyAccountConfiguration()
           
 void reapplyConfiguration()
           
 void reapplyMiscConfiguration()
           
 void reapplyServerCaps(DevInf devInf)
           
 void reapplySourceConfiguration(AppSyncSource appSource)
           
 void reapplySyncModeConfiguration()
           
 void reapplyUpdaterConfiguration()
           
 void setAboutScreenController(AboutScreenController aboutScreenController)
           
 void setAccountScreenController(AccountScreenController accountScreenController)
           
 void setHomeScreenController(HomeScreenController homeScreenController)
           
 void setSyncSettingsScreenController(SyncSettingsScreenController syncSettingsScreenController)
           
 boolean shallLoginScreenBeRun()
           
 void showScreen(Screen screen, int screenId)
           
 void toBackground()
           
 void toForeground()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOME_SCREEN_ID

public static final int HOME_SCREEN_ID
See Also:
Constant Field Values

CONFIGURATION_SCREEN_ID

public static final int CONFIGURATION_SCREEN_ID
See Also:
Constant Field Values

ACCOUNT_SCREEN_ID

public static final int ACCOUNT_SCREEN_ID
See Also:
Constant Field Values

ABOUT_SCREEN_ID

public static final int ABOUT_SCREEN_ID
See Also:
Constant Field Values

ADVANCED_SETTINGS_SCREEN_ID

public static final int ADVANCED_SETTINGS_SCREEN_ID
See Also:
Constant Field Values

customization

protected Customization customization

configuration

protected Configuration configuration

localization

protected Localization localization

appSyncSourceManager

protected AppSyncSourceManager appSyncSourceManager

syncModeHandler

protected SyncModeHandler syncModeHandler
Constructor Detail

Controller

public Controller(ControllerDataFactory fact,
                  Configuration configuration,
                  Customization customization,
                  Localization localization,
                  AppSyncSourceManager appSyncSourceManager)
Method Detail

setHomeScreenController

public void setHomeScreenController(HomeScreenController homeScreenController)

getHomeScreenController

public HomeScreenController getHomeScreenController()

setAccountScreenController

public void setAccountScreenController(AccountScreenController accountScreenController)

getAccountScreenController

public AccountScreenController getAccountScreenController()

setSyncSettingsScreenController

public void setSyncSettingsScreenController(SyncSettingsScreenController syncSettingsScreenController)

getSyncSettingsScreenController

public SyncSettingsScreenController getSyncSettingsScreenController()

setAboutScreenController

public void setAboutScreenController(AboutScreenController aboutScreenController)

getAboutScreenController

public AboutScreenController getAboutScreenController()

getDialogController

public DialogController getDialogController()
Returns:
the DialogController;

getDisplayManager

public DisplayManager getDisplayManager()

showScreen

public void showScreen(Screen screen,
                       int screenId)

hideScreen

public void hideScreen(Screen screen)

toForeground

public void toForeground()

toBackground

public void toBackground()

isUpdate

public boolean isUpdate()

reapplyConfiguration

public void reapplyConfiguration()

reapplyAccountConfiguration

public void reapplyAccountConfiguration()

reapplyUpdaterConfiguration

public void reapplyUpdaterConfiguration()

reapplySourceConfiguration

public void reapplySourceConfiguration(AppSyncSource appSource)

reapplySyncModeConfiguration

public void reapplySyncModeConfiguration()

reapplyMiscConfiguration

public void reapplyMiscConfiguration()

reapplyServerCaps

public void reapplyServerCaps(DevInf devInf)

promptUpdate

public void promptUpdate()
Called when user selected Download Update from the menu


checkForUpdate

public boolean checkForUpdate()

getSourceConfig

public SourceConfig getSourceConfig(int x)

getConfiguration

public Configuration getConfiguration()

getCustomization

public Customization getCustomization()

getLocalization

public Localization getLocalization()

getAppSyncSourceManager

public AppSyncSourceManager getAppSyncSourceManager()

shallLoginScreenBeRun

public boolean shallLoginScreenBeRun()


Copyright © 2001-2009 Funambol.