public class SimpleViewItemGroup extends AbstractViewItemGroup implements ModifiableLabelable
| Modifier and Type | Field and Description |
|---|---|
private I18nizableText |
_description |
private I18nizableText |
_label |
private String |
_name |
_children, _roleFIELDSET_ROLE, TAB_ROLE| Constructor and Description |
|---|
SimpleViewItemGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyGroupItem(SimpleViewItemGroup groupToCopy,
View referenceView)
Copy the given group to the current one.
|
I18nizableText |
getDescription()
Retrieves the description.
|
I18nizableText |
getLabel()
Retrieves the label.
|
String |
getName()
Get the name.
|
void |
includeView(View viewToInclude,
View referenceView)
Include the given view to the group.
|
void |
setDescription(I18nizableText description)
Set the description.
|
void |
setLabel(I18nizableText label)
Set the label.
|
void |
setName(String name)
Set the name.
|
Map<String,Object> |
toJSON()
Converts the view item in a JSON map
|
addViewItem, getRole, getViewItems, hasViewItem, insertViewItem, setRoleprivate I18nizableText _label
private I18nizableText _description
public SimpleViewItemGroup()
public void setName(String name)
ModifiableLabelablesetName in interface ModifiableLabelablename - the name.public I18nizableText getLabel()
Labelablepublic void setLabel(I18nizableText label)
ModifiableLabelablesetLabel in interface ModifiableLabelablelabel - the label.public I18nizableText getDescription()
LabelablegetDescription in interface Labelablepublic void setDescription(I18nizableText description)
ModifiableLabelablesetDescription in interface ModifiableLabelabledescription - the description.public Map<String,Object> toJSON() throws ProcessingException
ViewItemtoJSON in interface ViewItemProcessingException - If an error occurs when converting the view itempublic void includeView(View viewToInclude, View referenceView)
viewToInclude - the view to includereferenceView - the reference viewpublic void copyGroupItem(SimpleViewItemGroup groupToCopy, View referenceView)
groupToCopy - the group to copyreferenceView - the reference view