public class

SCDialogFactory

extends Object
implements IDialogFactory
java.lang.Object
   ↳ com.c2call.sdk.pub.gui.dialog.SCDialogFactory

Summary

Public Constructors
SCDialogFactory()
Public Methods
SCChoiceDialog createAddCreditDialog(IController<?> controller)
Creates a dialog to choose a method to add credit
SCChoiceDialog createAddFriendDialog(IController<?> controller)
Creates a contetx dialog to chose a method to add a friend
SCChoiceDialog createAddNumberDialog(IContactDetailController controller)
Creates a dialog to choose a number type to add within a contact detail view
SCChoiceDialog createBoardItemDialog(IBoardListItemBaseController<?> controller)
Creates a contetx dialog for board list items
SCChoiceDialog createContactListItemDialog(IContactListItemController controller)
Creates a contetx dialog for address book list items
SCChoiceDialog createFilterBoardDialog(IBoardController controller)
Creates a dialog to choose a filter for the board
SCChoiceDialog createFilterFriendsDialog(IFriendsController controller)
Creates a dialog to choose a filter for friend list
SCChoiceDialog createFriendListItemDialog(IFriendListItemController controller)
Creates a contetx dialog for friend list items
SCChoiceDialog createInviteDialog(IController<?> controller)
Creates a dialog to choose a method to invite contacts
SCChoiceDialog createNumberChoiceDialog(IController<?> controller, SCCountry country)
Creates a dialog to choose country or area.
SCChoiceDialog createOfflineComunicationDialog(IUserController<?> controller)
Creates a dialog to choose a communication method if a friend is offline.
SCChoiceDialog createPhotoDialog(IController<?> controller, String filename)
Creates a dialog to choose how to get a photo.
SCChoiceDialog createRichMessageDialog(IController<?> controller, boolean isSms)
Creates a dialog to choose a rich media attachment for a message
SCChoiceDialog createSpreadDialog(IController<?> controller)
Creates a dialog to choose a method to let others now about your app
SCChoiceDialog createVideoDialog(IController<?> controller, String filename)
Creates a dialog to choose how to get a video.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.c2call.sdk.pub.gui.dialog.IDialogFactory

Public Constructors

public SCDialogFactory ()

Public Methods

public SCChoiceDialog createAddCreditDialog (IController<?> controller)

Creates a dialog to choose a method to add credit

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createAddFriendDialog (IController<?> controller)

Creates a contetx dialog to chose a method to add a friend

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createAddNumberDialog (IContactDetailController controller)

Creates a dialog to choose a number type to add within a contact detail view

Parameters
controller The controller to show the dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createBoardItemDialog (IBoardListItemBaseController<?> controller)

Creates a contetx dialog for board list items

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createContactListItemDialog (IContactListItemController controller)

Creates a contetx dialog for address book list items

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createFilterBoardDialog (IBoardController controller)

Creates a dialog to choose a filter for the board

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createFilterFriendsDialog (IFriendsController controller)

Creates a dialog to choose a filter for friend list

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createFriendListItemDialog (IFriendListItemController controller)

Creates a contetx dialog for friend list items

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createInviteDialog (IController<?> controller)

Creates a dialog to choose a method to invite contacts

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createNumberChoiceDialog (IController<?> controller, SCCountry country)

Creates a dialog to choose country or area.

Parameters
controller The controller to show the Dialog for. Must not be null
country The country from currentLocation.
Returns
  • Newly created dialog.

public SCChoiceDialog createOfflineComunicationDialog (IUserController<?> controller)

Creates a dialog to choose a communication method if a friend is offline.

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createPhotoDialog (IController<?> controller, String filename)

Creates a dialog to choose how to get a photo.

Parameters
controller The controller to show the Dialog for. Must not be null
filename The filename where the photo will be stored if taken from camera. If null a default location will be taken.
Returns
  • Newly created dialog.

public SCChoiceDialog createRichMessageDialog (IController<?> controller, boolean isSms)

Creates a dialog to choose a rich media attachment for a message

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createSpreadDialog (IController<?> controller)

Creates a dialog to choose a method to let others now about your app

Parameters
controller The controller to show the Dialog for. Must not be null
Returns
  • Newly created dialog.

public SCChoiceDialog createVideoDialog (IController<?> controller, String filename)

Creates a dialog to choose how to get a video.

Parameters
controller The controller to show the Dialog for. Must not be null
filename The filename where the video will be stored if taken from camera. If null a default location will be taken.
Returns
  • Newly created dialog.