|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.form.Field
public class Field
Created: 2007-05-27 10:56:06
| Nested Class Summary | |
|---|---|
static class |
Field.FieldType
Enum description |
| Constructor Summary | |
|---|---|
Field(tigase.xml.Element fieldElement)
Constructs ... |
|
| Method Summary | |
|---|---|
static Field |
fieldBoolean(String var,
Boolean value,
String label)
Method description |
static Field |
fieldFixed(String value)
Method description |
static Field |
fieldHidden(String var,
String value)
Method description |
static Field |
fieldJidSingle(String var,
String value,
String label)
Method description |
static Field |
fieldListMulti(String var,
String[] values,
String label,
String[] optionsLabel,
String[] optionsValue)
Method description |
static Field |
fieldListSingle(String var,
String value,
String label,
String[] optionsLabel,
String[] optionsValue)
Method description |
static Field |
fieldTextMulti(String var,
String[] values,
String label)
Method description |
static Field |
fieldTextMulti(String var,
String value,
String label)
Method description |
static Field |
fieldTextPrivate(String var,
String value,
String label)
Method description |
static Field |
fieldTextSingle(String var,
String value,
String label)
Method description |
static Boolean |
getAsBoolean(Field f)
Method description |
String |
getDescription()
|
tigase.xml.Element |
getElement()
Method description |
String |
getLabel()
|
String[] |
getOptionLabels()
|
String[] |
getOptionValues()
|
Field.FieldType |
getType()
|
String |
getValue()
Method description |
String[] |
getValues()
|
String |
getVar()
|
boolean |
isRequired()
|
static void |
main(String[] args)
Method description |
void |
setDescription(String description)
|
void |
setLabel(String label)
|
void |
setOptionLabels(String[] optionLabels)
|
void |
setOptionValues(String[] optionValues)
|
void |
setRequired(boolean required)
|
void |
setType(Field.FieldType type)
|
void |
setValues(String[] values)
|
void |
setVar(String var)
|
String |
toString()
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Field(tigase.xml.Element fieldElement)
fieldElement - | Method Detail |
|---|
public static Field fieldBoolean(String var,
Boolean value,
String label)
var - value - label -
public static Field fieldFixed(String value)
value -
public static Field fieldHidden(String var,
String value)
var - value -
public static Field fieldJidSingle(String var,
String value,
String label)
var - value - label -
public static Field fieldListMulti(String var,
String[] values,
String label,
String[] optionsLabel,
String[] optionsValue)
var - values - label - optionsLabel - optionsValue -
public static Field fieldListSingle(String var,
String value,
String label,
String[] optionsLabel,
String[] optionsValue)
var - value - label - optionsLabel - optionsValue -
public static Field fieldTextMulti(String var,
String value,
String label)
var - value - label -
public static Field fieldTextMulti(String var,
String[] values,
String label)
var - values - label -
public static Field fieldTextPrivate(String var,
String value,
String label)
var - value - label -
public static Field fieldTextSingle(String var,
String value,
String label)
var - value - label -
public static Boolean getAsBoolean(Field f)
f -
public static void main(String[] args)
args - public String getDescription()
public tigase.xml.Element getElement()
public String getLabel()
public String[] getOptionLabels()
public String[] getOptionValues()
public Field.FieldType getType()
public String getValue()
public String[] getValues()
public String getVar()
public boolean isRequired()
public void setDescription(String description)
description - The description to set.public void setLabel(String label)
label - The label to set.public void setOptionLabels(String[] optionLabels)
optionLabels - The optionLabels to set.public void setOptionValues(String[] optionValues)
optionValues - The optionValues to set.public void setRequired(boolean required)
required - The required to set.public void setType(Field.FieldType type)
type - The type to set.public void setValues(String[] values)
values - The values to set.public void setVar(String var)
var - The var to set.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||