BlowTorch
 All Classes Namespaces Files Functions Variables Enumerator Pages
Classes | Public Member Functions | Static Public Attributes | List of all members
com.offsetnull.bt.validator.Validator Class Reference
Collaboration diagram for com.offsetnull.bt.validator.Validator:
Collaboration graph
[legend]

Public Member Functions

 Validator ()
 
void add (EditText field, int what, String message)
 
void reset ()
 
String validate ()
 
void showMessage (Context c, String result)
 
void showMessageNoDecoration (Context c, String result)
 

Static Public Attributes

static int VALIDATE_NOT_BLANK = 0x01
 
static int VALIDATE_HOSTNAME = 0x02
 
static int VALIDATE_PORT_NUMBER = 0x04
 
static int VALIDATE_NUMBER = 0x08
 
static int VALIDATE_NUMBER_NOT_ZERO = 0x10
 
static int VALIDATE_NUMBER_OR_BLANK = 0x20
 

Constructor & Destructor Documentation

com.offsetnull.bt.validator.Validator.Validator ( )

Member Function Documentation

void com.offsetnull.bt.validator.Validator.add ( EditText  field,
int  what,
String  message 
)

Here is the caller graph for this function:

void com.offsetnull.bt.validator.Validator.reset ( )
void com.offsetnull.bt.validator.Validator.showMessage ( Context  c,
String  result 
)

Here is the caller graph for this function:

void com.offsetnull.bt.validator.Validator.showMessageNoDecoration ( Context  c,
String  result 
)
String com.offsetnull.bt.validator.Validator.validate ( )

Here is the caller graph for this function:

Member Data Documentation

int com.offsetnull.bt.validator.Validator.VALIDATE_HOSTNAME = 0x02
static
int com.offsetnull.bt.validator.Validator.VALIDATE_NOT_BLANK = 0x01
static
int com.offsetnull.bt.validator.Validator.VALIDATE_NUMBER = 0x08
static
int com.offsetnull.bt.validator.Validator.VALIDATE_NUMBER_NOT_ZERO = 0x10
static
int com.offsetnull.bt.validator.Validator.VALIDATE_NUMBER_OR_BLANK = 0x20
static
int com.offsetnull.bt.validator.Validator.VALIDATE_PORT_NUMBER = 0x04
static

The documentation for this class was generated from the following file: