public class DefaultDynFormDefinition extends java.lang.Object implements DynFormDefinition
Constructor and Description |
---|
DefaultDynFormDefinition(DynStruct struct,
DefaultDynFormManager manager) |
DefaultDynFormDefinition(java.lang.String name,
DefaultDynFormManager manager) |
Modifier and Type | Method and Description |
---|---|
DynFormFieldDefinition |
add(DynField definition) |
void |
add(DynStruct definition) |
DynObject |
createElement() |
DynFormFieldDefinition |
get(int index) |
DynFormFieldDefinition |
get(java.lang.String name) |
java.util.List |
getDefinitions() |
java.util.List |
getDefinitions(java.lang.String group) |
java.util.List |
getDefinitions(java.lang.String group,
java.lang.String subgroup) |
DynStruct |
getElementsType() |
int |
getGroupOrder(java.lang.String group) |
java.util.List |
getGroups()
Return the list of groups names ordered,
|
java.lang.String |
getLabel() |
java.lang.String |
getName() |
java.util.List |
getSubgroups(java.lang.String group) |
Tags |
getTags() |
java.util.Iterator<DynFormFieldDefinition> |
iterator() |
void |
remove(java.lang.String name) |
void |
setElementsType(DynStruct struct) |
void |
setGroupOrder(java.lang.String group,
int order) |
void |
setLabel(java.lang.String label) |
int |
size() |
public DefaultDynFormDefinition(java.lang.String name, DefaultDynFormManager manager)
public DefaultDynFormDefinition(DynStruct struct, DefaultDynFormManager manager)
public java.lang.String getLabel()
getLabel
in interface DynFormDefinition
public void setLabel(java.lang.String label)
setLabel
in interface DynFormDefinition
public int getGroupOrder(java.lang.String group)
getGroupOrder
in interface DynFormDefinition
public void setGroupOrder(java.lang.String group, int order)
setGroupOrder
in interface DynFormDefinition
public DynFormFieldDefinition add(DynField definition)
add
in interface DynFormDefinition
public java.lang.String getName()
getName
in interface DynFormDefinition
public void add(DynStruct definition)
add
in interface DynFormDefinition
public DynFormFieldDefinition get(java.lang.String name)
get
in interface DynFormDefinition
public DynFormFieldDefinition get(int index)
get
in interface DynFormDefinition
public int size()
size
in interface DynFormDefinition
public void remove(java.lang.String name)
remove
in interface DynFormDefinition
public java.util.List getGroups()
DynFormDefinition
getGroups
in interface DynFormDefinition
public java.util.List getSubgroups(java.lang.String group)
getSubgroups
in interface DynFormDefinition
public java.util.List getDefinitions()
getDefinitions
in interface DynFormDefinition
public java.util.List getDefinitions(java.lang.String group)
getDefinitions
in interface DynFormDefinition
public java.util.List getDefinitions(java.lang.String group, java.lang.String subgroup)
getDefinitions
in interface DynFormDefinition
public Tags getTags()
getTags
in interface DynFormDefinition
public DynObject createElement()
createElement
in interface DynFormDefinition
public void setElementsType(DynStruct struct)
setElementsType
in interface DynFormDefinition
public DynStruct getElementsType()
getElementsType
in interface DynFormDefinition
public java.util.Iterator<DynFormFieldDefinition> iterator()
iterator
in interface java.lang.Iterable<DynFormFieldDefinition>