public interface

IForgotPassController

implements IController<T extends IViewHolder>
com.c2call.sdk.pub.gui.forgotpassword.controller.IForgotPassController
Known Indirect Subclasses

Class Overview

Interface for ForgotPassword controllers

Summary

Public Methods
abstract String getData()
Gets the entered email address
abstract boolean isInputValid()
Checks if the input is valid.
abstract void onButtonSubmitClick(View v)
Called when the submit Button was clicked
abstract boolean onEditEmailAction(TextView v, int actionId, KeyEvent event)
Called if a keyboard action (enter pressed) was triggered for the email field
abstract void onEditEmailChanged(TextView v, Editable text)
Called if the text of the email fiele changed.
abstract void setData(String data)
Set an email address to request the password for
abstract void submit()
Submit the request.
[Expand]
Inherited Methods
From interface com.c2call.sdk.pub.gui.core.controller.IController

Public Methods

public abstract String getData ()

Gets the entered email address

Returns
  • the entered email address

public abstract boolean isInputValid ()

Checks if the input is valid.

Returns
  • true, if the input is valid

public abstract void onButtonSubmitClick (View v)

Called when the submit Button was clicked

Parameters
v the Buttno that was clicked

public abstract boolean onEditEmailAction (TextView v, int actionId, KeyEvent event)

Called if a keyboard action (enter pressed) was triggered for the email field

Parameters
v the view that triggered the action
actionId tha action id
event the key vent
Returns
  • true, if action was consumed

public abstract void onEditEmailChanged (TextView v, Editable text)

Called if the text of the email fiele changed.

Parameters
v thet TextView that changed
text the new text

public abstract void setData (String data)

Set an email address to request the password for

Parameters
data an email address

public abstract void submit ()

Submit the request.