public interface

IGroupDetailController

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

Class Overview

Interface for GroupDetail controllers

Summary

Public Methods
abstract void enableSecureMessage(boolean enabled)
This method is called to enable/disable secure messaging for this conroller
abstract SCFriendGroup getData()
Gets the group data
abstract boolean isEditing()
Check if the controller is in edit mode
abstract boolean isModerator()
Checks if the user is the moderator of the group
abstract boolean isSecureMessage()
Checkes whether this is group is secure
abstract void onButtonCallClick(View v)
On Button for call clicked
abstract void onButtonEditClick(View v)
On Button for edit clicked
abstract void onButtonMessageClick(View v)
On Button for message clicked
abstract void onButtonVideoCallClick(View v)
On button for video call clicked
abstract void onCheckedChangedSecure(CompoundButton cb)
Called when the checkbox for secure messaging changed its checked-state
abstract void onEditGroupNameFocusChange(View v)
Called if the the focus of the EditText for the group name changed
abstract void onEditGroupNameTextChanged(CharSequence s, int start, int before, int count)
Colled if the input of the EditText for the group name changed
abstract void refreshUserPicture(boolean tryDownloadIfNotExist)
Refreshes the user picture
abstract void refreshUserPicture()
Refreshes the user picture;
abstract void save()
Save the group
abstract void setData(SCFriendGroup data)
Sets the group data
abstract void setEditing(boolean value)
Sets the 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 void enableSecureMessage (boolean enabled)

This method is called to enable/disable secure messaging for this conroller

Parameters
enabled true to enable secure messaging.

public abstract SCFriendGroup getData ()

Gets the group data

Returns
  • the group data

public abstract boolean isEditing ()

Check if the controller is in edit mode

Returns
  • true, if in edit mode

public abstract boolean isModerator ()

Checks if the user is the moderator of the group

Returns
  • true, if the user is moderator of the group

public abstract boolean isSecureMessage ()

Checkes whether this is group is secure

Returns
  • true, if this group is secure

public abstract void onButtonCallClick (View v)

On Button for call clicked

Parameters
v the clicked Button

public abstract void onButtonEditClick (View v)

On Button for edit clicked

Parameters
v the clicked button

public abstract void onButtonMessageClick (View v)

On Button for message clicked

Parameters
v the clicked Button

public abstract void onButtonVideoCallClick (View v)

On button for video call clicked

Parameters
v the clicked button

public abstract void onCheckedChangedSecure (CompoundButton cb)

Called when the checkbox for secure messaging changed its checked-state

Parameters
cb the checkbox that changed the state

public abstract void onEditGroupNameFocusChange (View v)

Called if the the focus of the EditText for the group name changed

Parameters
v the focus that changed

public abstract void onEditGroupNameTextChanged (CharSequence s, int start, int before, int count)

Colled if the input of the EditText for the group name changed

public abstract void refreshUserPicture (boolean tryDownloadIfNotExist)

Refreshes the user picture

Parameters
tryDownloadIfNotExist if true, tries to download again if it does not already exist

public abstract void refreshUserPicture ()

Refreshes the user picture;

public abstract void save ()

Save the group

public abstract void setData (SCFriendGroup data)

Sets the group data

Parameters
data the group data

public abstract void setEditing (boolean value)

Sets the controller into edit mode

Parameters
value if true, the controller will enter the edit mode, otherwise it leaves the edit mode