com.funambol.client.ui
Interface AdvancedSettingsScreen

All Superinterfaces:
Screen

public interface AdvancedSettingsScreen
extends Screen

Advanced Settings Screen interface. Useful to realize the view on the high level client. The complete view is composed by two sections:

  • Logs section: contains the description, a selector view with log levels (can be a spinner, a checkbox or another multiple choice item) and two commands to send log or view log (they can be buttons or just menu commands).
  • Reset section: contains a description of the reset feature and a command to start the reset action (can be a button or a menu command or more in general a selection item)
  • The log section can be completely hidden or shown depending by the customization implementation. The send log and the reset commands can be dinamically enabled or disabled if another sync or connection is in progress. The send log and view log commands can also be hidden separately.


    Method Summary
     void enableResetCommand(boolean enable)
              Disable the item related to the reset command.
     void enableSendLogCommand(boolean enable)
              Disable the item related to the Send Log command.
     int getViewLogLevel()
              Accessor method to get the log level set on the view selector item
     void hideLogsSection()
              Hide the entire log section.
     void hideSendLogCommand()
              Hide the send log button.
     void hideViewLogCommand()
              Hide the view log button.
     void setViewLogLevel(int logLevel)
              Accessor method to set the log level on the view selector item
     
    Methods inherited from interface com.funambol.client.ui.Screen
    getScreen
     

    Method Detail

    hideLogsSection

    void hideLogsSection()
    Hide the entire log section. The section is removed by the settings screen during the initialization depending by customization implementation. No parameters are passed to this method for this reason


    hideSendLogCommand

    void hideSendLogCommand()
    Hide the send log button. It can be requested by the customization implementation.


    hideViewLogCommand

    void hideViewLogCommand()
    Hide the view log button. It can be requested by the customization implementation.


    enableResetCommand

    void enableResetCommand(boolean enable)
    Disable the item related to the reset command. Useful not to have concurrent sync or connections.

    Parameters:
    hidden - true if hidden, false otherwise

    enableSendLogCommand

    void enableSendLogCommand(boolean enable)
    Disable the item related to the Send Log command. Useful not to have concurrent sync or connections.

    Parameters:
    hidden - true if hidden, false otherwise

    setViewLogLevel

    void setViewLogLevel(int logLevel)
    Accessor method to set the log level on the view selector item

    Parameters:
    logLevel - the log level to be set

    getViewLogLevel

    int getViewLogLevel()
    Accessor method to get the log level set on the view selector item

    Parameters:
    logLevel - the log level to be set
    Returns:
    int the log level set by the user on the view


    Copyright © 2001-2009 Funambol.