#include <httpform.h>
Inheritance diagram for PHTTPSelectField:
Public Member Functions | |
PHTTPSelectField (const char *name, const PStringArray &valueArray, PINDEX initVal=0, const char *help=NULL) | |
PHTTPSelectField (const char *name, PINDEX count, const char *const *valueStrings, PINDEX initVal=0, const char *help=NULL) | |
PHTTPSelectField (const char *name, const char *title, const PStringArray &valueArray, PINDEX initVal=0, const char *help=NULL) | |
PHTTPSelectField (const char *name, const char *title, PINDEX count, const char *const *valueStrings, PINDEX initVal=0, const char *help=NULL) | |
virtual PHTTPField * | NewField () const |
virtual void | GetHTMLTag (PHTML &html) const |
virtual PString | GetValue (BOOL dflt=FALSE) const |
virtual void | SetValue (const PString &newVal) |
Public Attributes | |
PStringArray | values |
Protected Attributes | |
PString | value |
PINDEX | initialValue |
PHTTPSelectField::PHTTPSelectField | ( | const char * | name, | |
const PStringArray & | valueArray, | |||
PINDEX | initVal = 0 , |
|||
const char * | help = NULL | |||
) |
PHTTPSelectField::PHTTPSelectField | ( | const char * | name, | |
PINDEX | count, | |||
const char *const * | valueStrings, | |||
PINDEX | initVal = 0 , |
|||
const char * | help = NULL | |||
) |
PHTTPSelectField::PHTTPSelectField | ( | const char * | name, | |
const char * | title, | |||
const PStringArray & | valueArray, | |||
PINDEX | initVal = 0 , |
|||
const char * | help = NULL | |||
) |
PHTTPSelectField::PHTTPSelectField | ( | const char * | name, | |
const char * | title, | |||
PINDEX | count, | |||
const char *const * | valueStrings, | |||
PINDEX | initVal = 0 , |
|||
const char * | help = NULL | |||
) |
virtual PHTTPField* PHTTPSelectField::NewField | ( | ) | const [virtual] |
Create a new field of the same class as the current field.
Implements PHTTPField.
virtual void PHTTPSelectField::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 PHTTPSelectField::GetValue | ( | BOOL | dflt = FALSE |
) | const [virtual] |
virtual void PHTTPSelectField::SetValue | ( | const PString & | newVal | ) | [virtual] |
Set the value of the field.
Implements PHTTPField.
PString PHTTPSelectField::value [protected] |
PINDEX PHTTPSelectField::initialValue [protected] |