PTLib
Version 2.10.4
|
#include <httpform.h>
Public Member Functions | |
PHTTPRadioField (const char *name, const PStringArray &valueArray, PINDEX initVal=0, const char *help=NULL) | |
PHTTPRadioField (const char *name, const PStringArray &valueArray, const PStringArray &titleArray, PINDEX initVal=0, const char *help=NULL) | |
PHTTPRadioField (const char *name, PINDEX count, const char *const *valueStrings, PINDEX initVal=0, const char *help=NULL) | |
PHTTPRadioField (const char *name, PINDEX count, const char *const *valueStrings, const char *const *titleStrings, PINDEX initVal=0, const char *help=NULL) | |
PHTTPRadioField (const char *name, const char *groupTitle, const PStringArray &valueArray, PINDEX initVal=0, const char *help=NULL) | |
PHTTPRadioField (const char *name, const char *groupTitle, const PStringArray &valueArray, const PStringArray &titleArray, PINDEX initVal=0, const char *help=NULL) | |
PHTTPRadioField (const char *name, const char *groupTitle, PINDEX count, const char *const *valueStrings, PINDEX initVal=0, const char *help=NULL) | |
PHTTPRadioField (const char *name, const char *groupTitle, PINDEX count, const char *const *valueStrings, const char *const *titleStrings, PINDEX initVal=0, const char *help=NULL) | |
virtual PHTTPField * | NewField () const |
Create a new field of the same class as the current field. | |
virtual void | GetHTMLTag (PHTML &html) const |
Convert the field to HTML form tag for inclusion into the HTTP page. | |
virtual PString | GetHTMLInput (const PString &input) const |
Convert the field input to HTML for inclusion into the HTTP page. | |
virtual PString | GetValue (PBoolean dflt=false) const |
Get the string value of the field. | |
virtual void | SetValue (const PString &newVal) |
Set the value of the field. | |
Protected Attributes | |
PStringArray | values |
PStringArray | titles |
PString | value |
PString | initialValue |
PHTTPRadioField::PHTTPRadioField | ( | const char * | name, |
const PStringArray & | valueArray, | ||
PINDEX | initVal = 0 , |
||
const char * | help = NULL |
||
) |
PHTTPRadioField::PHTTPRadioField | ( | const char * | name, |
const PStringArray & | valueArray, | ||
const PStringArray & | titleArray, | ||
PINDEX | initVal = 0 , |
||
const char * | help = NULL |
||
) |
PHTTPRadioField::PHTTPRadioField | ( | const char * | name, |
PINDEX | count, | ||
const char *const * | valueStrings, | ||
PINDEX | initVal = 0 , |
||
const char * | help = NULL |
||
) |
PHTTPRadioField::PHTTPRadioField | ( | const char * | name, |
PINDEX | count, | ||
const char *const * | valueStrings, | ||
const char *const * | titleStrings, | ||
PINDEX | initVal = 0 , |
||
const char * | help = NULL |
||
) |
PHTTPRadioField::PHTTPRadioField | ( | const char * | name, |
const char * | groupTitle, | ||
const PStringArray & | valueArray, | ||
PINDEX | initVal = 0 , |
||
const char * | help = NULL |
||
) |
PHTTPRadioField::PHTTPRadioField | ( | const char * | name, |
const char * | groupTitle, | ||
const PStringArray & | valueArray, | ||
const PStringArray & | titleArray, | ||
PINDEX | initVal = 0 , |
||
const char * | help = NULL |
||
) |
PHTTPRadioField::PHTTPRadioField | ( | const char * | name, |
const char * | groupTitle, | ||
PINDEX | count, | ||
const char *const * | valueStrings, | ||
PINDEX | initVal = 0 , |
||
const char * | help = NULL |
||
) |
PHTTPRadioField::PHTTPRadioField | ( | const char * | name, |
const char * | groupTitle, | ||
PINDEX | count, | ||
const char *const * | valueStrings, | ||
const char *const * | titleStrings, | ||
PINDEX | initVal = 0 , |
||
const char * | help = NULL |
||
) |
virtual PString PHTTPRadioField::GetHTMLInput | ( | const PString & | input | ) | const [virtual] |
Convert the field input to HTML for inclusion into the HTTP page.
Reimplemented from PHTTPField.
virtual void PHTTPRadioField::GetHTMLTag | ( | PHTML & | html | ) | const [virtual] |
Convert the field to HTML form tag for inclusion into the HTTP page.
html | HTML to receive the field info. |
Implements PHTTPField.
virtual PString PHTTPRadioField::GetValue | ( | PBoolean | dflt = false | ) | const [virtual] |
virtual PHTTPField* PHTTPRadioField::NewField | ( | ) | const [virtual] |
Create a new field of the same class as the current field.
Implements PHTTPField.
virtual void PHTTPRadioField::SetValue | ( | const PString & | newValue | ) | [virtual] |
Set the value of the field.
Implements PHTTPField.
PString PHTTPRadioField::initialValue [protected] |
PStringArray PHTTPRadioField::titles [protected] |
PString PHTTPRadioField::value [protected] |
PStringArray PHTTPRadioField::values [protected] |