com.funambol.client.controller
Class DialogController.FirstSyncDialogOption

java.lang.Object
  extended by com.funambol.client.controller.DialogOption
      extended by com.funambol.client.controller.DialogController.FirstSyncDialogOption
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
DialogController

protected class DialogController.FirstSyncDialogOption
extends DialogOption

Container for the first sync dialog options


Field Summary
 
Fields inherited from class com.funambol.client.controller.DialogOption
description, screen, value
 
Constructor Summary
DialogController.FirstSyncDialogOption(Screen screen, java.lang.String description, int value, AppSyncSource[] appSourceList, java.lang.String syncType, java.util.Vector filteredSources, boolean refresh, int direction, int delay, boolean fromOutside, int questionCounter, int sourceIndex)
          Public copy-constructor
 
Method Summary
 void run()
          Triggered in threaded like logic when the user selects an option.
 
Methods inherited from class com.funambol.client.controller.DialogOption
getDescription, getScreen, getValue, setDialogId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogController.FirstSyncDialogOption

public DialogController.FirstSyncDialogOption(Screen screen,
                                              java.lang.String description,
                                              int value,
                                              AppSyncSource[] appSourceList,
                                              java.lang.String syncType,
                                              java.util.Vector filteredSources,
                                              boolean refresh,
                                              int direction,
                                              int delay,
                                              boolean fromOutside,
                                              int questionCounter,
                                              int sourceIndex)
Public copy-constructor

Parameters:
screen - the dialog alert owner Screen
description - the dialog option description (describe the current option to the user)
value - the current option returned value
appSourceList - the list of appSyncSources
syncType - the String representation for the sync type (manual...)
filteredSources - the sources Vector to be updated in case the user select to sync now
refresh - specifies if this sync is for a refresh
direction - in case of refresh sync, this is the direction (client to server or server to client)
delay - request the sync scheduler to be initiate the sync after the given amount of milliseconds
fromOutside - used by the sync scheduler to manage the incoming sync request from outside if true
questionCounter - the number of question to be displayed to the user. This number depends by the number of sources that have a warning messgae to be displayed at the first sync
sourceIndex - the sync source index source which this dialog alert is related.
Method Detail

run

public void run()
Triggered in threaded like logic when the user selects an option.



Copyright © 2001-2009 Funambol.