com.funambol.client.ui
Interface SettingsUISyncSource

All Superinterfaces:
SettingsUIItem

public interface SettingsUISyncSource
extends SettingsUIItem

This interface is a model for a generic representation of a SyncSource in the settings screen.


Method Summary
 AppSyncSource getSource()
          Returns the AppSyncSource this item represents
 int getSyncMode()
          Get the sync mode
 boolean hasChanges()
           
 void layout()
          Called when the controller requests the item to be layout
 void loadCustomSettings()
           
 void saveCustomSettings()
           
 void setAvailableSyncModes(int[] modes)
          Set the available sync modes
 void setDisabledIcon(Bitmap icon)
          Set the icon when the item is disabled
 void setEnabled(boolean flag)
          Enable or disabled this item
 void setEnabledIcon(Bitmap icon)
          Set the icon when the item is enabled
 void setSource(AppSyncSource source)
          Set the AppSyncSource this item represents
 void setSyncMode(int mode)
          Set the sync mode
 void setTitle(java.lang.String value)
          Set the title
 
Methods inherited from interface com.funambol.client.ui.SettingsUIItem
saveSettings
 

Method Detail

setTitle

void setTitle(java.lang.String value)
Set the title


setAvailableSyncModes

void setAvailableSyncModes(int[] modes)
Set the available sync modes


setSyncMode

void setSyncMode(int mode)
Set the sync mode


getSyncMode

int getSyncMode()
Get the sync mode


setEnabledIcon

void setEnabledIcon(Bitmap icon)
Set the icon when the item is enabled


setDisabledIcon

void setDisabledIcon(Bitmap icon)
Set the icon when the item is disabled


setEnabled

void setEnabled(boolean flag)
Enable or disabled this item


getSource

AppSyncSource getSource()
Returns the AppSyncSource this item represents


setSource

void setSource(AppSyncSource source)
Set the AppSyncSource this item represents


layout

void layout()
Called when the controller requests the item to be layout


hasChanges

boolean hasChanges()
Specified by:
hasChanges in interface SettingsUIItem
Returns:
true if there are chages on this settings source

saveCustomSettings

void saveCustomSettings()

loadCustomSettings

void loadCustomSettings()


Copyright © 2001-2009 Funambol.