com.funambol.client.controller
Class DialogController.FirstSyncDialogOption
java.lang.Object
com.funambol.client.controller.DialogOption
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 Screendescription
- the dialog option description (describe the
current option to the user)value
- the current option returned valueappSourceList
- the list of appSyncSourcessyncType
- the String representation for the sync type
(manual...)filteredSources
- the sources Vector to be updated in case the
user select to sync nowrefresh
- specifies if this sync is for a refreshdirection
- 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 millisecondsfromOutside
- used by the sync scheduler to manage the incoming
sync request from outside if truequestionCounter
- 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 syncsourceIndex
- the sync source index source which this dialog
alert is related.
run
public void run()
- Triggered in threaded like logic when the user selects an option.
Copyright © 2001-2009 Funambol.