public class DefaultDynFormDefinition extends Object implements DynFormDefinition
| Constructor and Description |
|---|
DefaultDynFormDefinition(DynStruct struct,
DefaultDynFormManager manager) |
DefaultDynFormDefinition(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(String name) |
List |
getDefinitions() |
List |
getDefinitions(String group) |
List |
getDefinitions(String group,
String subgroup) |
DynStruct |
getElementsType() |
int |
getGroupOrder(String group) |
List |
getGroups()
Return the list of groups names ordered,
|
String |
getLabel() |
String |
getName() |
List |
getSubgroups(String group) |
Tags |
getTags() |
void |
remove(String name) |
void |
setElementsType(DynStruct struct) |
void |
setGroupOrder(String group,
int order) |
void |
setLabel(String label) |
int |
size() |
public DefaultDynFormDefinition(String name, DefaultDynFormManager manager)
public DefaultDynFormDefinition(DynStruct struct, DefaultDynFormManager manager)
public String getLabel()
getLabel in interface DynFormDefinitionpublic void setLabel(String label)
setLabel in interface DynFormDefinitionpublic int getGroupOrder(String group)
getGroupOrder in interface DynFormDefinitionpublic void setGroupOrder(String group, int order)
setGroupOrder in interface DynFormDefinitionpublic DynFormFieldDefinition add(DynField definition)
add in interface DynFormDefinitionpublic String getName()
getName in interface DynFormDefinitionpublic void add(DynStruct definition)
add in interface DynFormDefinitionpublic DynFormFieldDefinition get(String name)
get in interface DynFormDefinitionpublic DynFormFieldDefinition get(int index)
get in interface DynFormDefinitionpublic int size()
size in interface DynFormDefinitionpublic void remove(String name)
remove in interface DynFormDefinitionpublic List getGroups()
DynFormDefinitiongetGroups in interface DynFormDefinitionpublic List getSubgroups(String group)
getSubgroups in interface DynFormDefinitionpublic List getDefinitions()
getDefinitions in interface DynFormDefinitionpublic List getDefinitions(String group)
getDefinitions in interface DynFormDefinitionpublic List getDefinitions(String group, String subgroup)
getDefinitions in interface DynFormDefinitionpublic Tags getTags()
getTags in interface DynFormDefinitionpublic DynObject createElement()
createElement in interface DynFormDefinitionpublic void setElementsType(DynStruct struct)
setElementsType in interface DynFormDefinitionpublic DynStruct getElementsType()
getElementsType in interface DynFormDefinition