public class Form extends AbstractForm
Created: 2007-05-27 11:41:02
| Modifier and Type | Field and Description |
|---|---|
protected Fields |
fields |
instruction, log, title, type| Constructor and Description |
|---|
Form(Element form) |
Form(String type,
String title,
String instruction) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(Field field) |
void |
clear() |
void |
copyValuesFrom(Element form) |
void |
copyValuesFrom(Form form) |
Field |
get(String var) |
List<Field> |
getAllFields() |
Boolean |
getAsBoolean(String var) |
Integer |
getAsInteger(String var) |
Long |
getAsLong(String var) |
String |
getAsString(String var) |
String[] |
getAsStrings(String var) |
Element |
getElement() |
String |
getInstruction() |
String |
getTitle() |
String |
getType() |
String |
getTypeOrElse(String defValue) |
boolean |
is(String var) |
boolean |
isType(String type) |
void |
removeField(String var) |
void |
setInstruction(String instruction) |
void |
setTitle(String title) |
void |
setType(String type) |
String |
toString() |
protected Fields fields
public Form(Element form)
public void addField(Field field)
public void clear()
public void copyValuesFrom(Element form)
public void copyValuesFrom(Form form)
public Element getElement()
getElement in class AbstractFormpublic String getInstruction()
getInstruction in class AbstractFormpublic void setInstruction(String instruction)
setInstruction in class AbstractFormpublic String getTitle()
getTitle in class AbstractFormpublic void setTitle(String title)
setTitle in class AbstractFormpublic String getType()
getType in class AbstractFormpublic void setType(String type)
setType in class AbstractFormpublic String getTypeOrElse(String defValue)
getTypeOrElse in class AbstractFormpublic boolean is(String var)
public boolean isType(String type)
isType in class AbstractFormpublic void removeField(String var)
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.