public interface

IContactDetailController

implements IPictureController<V extends IPictureViewHolder> IUserController<V extends IViewHolder>
com.c2call.sdk.pub.gui.contactdetail.controller.IContactDetailController
Known Indirect Subclasses

Class Overview

Interface for ContactDetail controllers.

Summary

Public Methods
abstract SCFriendData getData()
Gets the friend data.
abstract SCFriendExtraData getExtraData()
Gets the extra data.
abstract boolean isEditing()
Checks if this controller is in edit mode.
abstract void onButtonAddNumberClick(View v)
On button add number click.
abstract void onButtonCallClick(View v)
On button call click.
abstract void onButtonInviteClick(View v)
On button invite click.
abstract void onButtonMessageClick(View v)
On button message click.
abstract void onButtonSaveClick(View v)
On button save click.
abstract void onButtonVideoCallClick(View v)
On button video call click.
abstract SCChoiceDialog onCreateAddNumberDialog()
Called to create a AddNumber diaog.
abstract boolean onCreateExtraDataIfNecessary()
Creates an instance of SCFriendExtraData for the SCFriendData of this controller, if that is not already existing
abstract void onIconFavoriteClick(View v)
On icon favorite click.
abstract void onNumberCallClicked(View v, SCPhoneNumberType type, String number)
On number call clicked.
abstract void onNumberDeleteClicked(View v, SCPhoneNumberType type)
On number delete clicked.
abstract void onNumberSmsClicked(View v, SCPhoneNumberType type, String number)
On number sms clicked.
abstract void onNumberTextChanged(View v, SCPhoneNumberType type, CharSequence s)
On number text changed.
abstract void onSectionAddNumberClick(View v)
On section add number click.
abstract void save()
Saves the friend data.
abstract void setData(SCFriendData data)
Sets the friend data.
abstract void setEditing(boolean value)
Sets this controller into edit mode.
[Expand]
Inherited Methods
From interface com.c2call.sdk.pub.gui.core.controller.IController
From interface com.c2call.sdk.pub.gui.core.controller.IPictureController
From interface com.c2call.sdk.pub.gui.core.controller.IUserController

Public Methods

public abstract SCFriendData getData ()

Gets the friend data.

Returns
  • the friend data

public abstract SCFriendExtraData getExtraData ()

Gets the extra data.

Returns
  • the extra data

public abstract boolean isEditing ()

Checks if this controller is in edit mode.

Returns
  • whether this controller is in edit mode

public abstract void onButtonAddNumberClick (View v)

On button add number click.

Parameters
v the button that was clicked

public abstract void onButtonCallClick (View v)

On button call click.

Parameters
v the button that was clicked

public abstract void onButtonInviteClick (View v)

On button invite click.

Parameters
v the button that was clicked

public abstract void onButtonMessageClick (View v)

On button message click.

Parameters
v the button that was clicked

public abstract void onButtonSaveClick (View v)

On button save click.

Parameters
v the button that was clicked

public abstract void onButtonVideoCallClick (View v)

On button video call click.

Parameters
v the v

public abstract SCChoiceDialog onCreateAddNumberDialog ()

Called to create a AddNumber diaog. The dialog contains choices which number type (home, mobile, work, other) should be added

Returns
  • the sC choice dialog

public abstract boolean onCreateExtraDataIfNecessary ()

Creates an instance of SCFriendExtraData for the SCFriendData of this controller, if that is not already existing

Returns
  • true, if successful

public abstract void onIconFavoriteClick (View v)

On icon favorite click.

Parameters
v the icon that was clicked

public abstract void onNumberCallClicked (View v, SCPhoneNumberType type, String number)

On number call clicked.

Parameters
v the button that was clicked
type the type
number the number

public abstract void onNumberDeleteClicked (View v, SCPhoneNumberType type)

On number delete clicked.

Parameters
v the button that was clicked
type the type

public abstract void onNumberSmsClicked (View v, SCPhoneNumberType type, String number)

On number sms clicked.

Parameters
v the button that was clicked
type the type
number the number

public abstract void onNumberTextChanged (View v, SCPhoneNumberType type, CharSequence s)

On number text changed.

Parameters
v the TextView that was changed
type the type
s the s

public abstract void onSectionAddNumberClick (View v)

On section add number click.

Parameters
v the button that was clicked

public abstract void save ()

Saves the friend data.

public abstract void setData (SCFriendData data)

Sets the friend data.

Parameters
data the friend data

public abstract void setEditing (boolean value)

Sets this controller into edit mode.

Parameters
value if true the contrller will be set into edit mode and leave it otherwise