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
 java.lang.String getRemoteUri()
          Get the source remote uri
 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 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 setRemoteUri(java.lang.String remoteUri)
          Set the source remote uri
 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
loadSettings, 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


setRemoteUri

void setRemoteUri(java.lang.String remoteUri)
Set the source remote uri


getRemoteUri

java.lang.String getRemoteUri()
Get the source remote uri


hasChanges

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


Copyright © 2001-2009 Funambol.