@Unstable
public interface RecordSection
| Modifier and Type | Method and Description |
|---|---|
List<RecordElement> |
getAllElements()
The list of elements configured in this section, whether they are enabled or not.
|
List<RecordElement> |
getEnabledElements()
The list of elements displayed in this section.
|
org.xwiki.uiextension.UIExtension |
getExtension()
The extension defining this section.
|
String |
getName()
The name of this section, displayed in the record and in the form designer.
|
boolean |
isEnabled()
Whether this section and its elements are going to be displayed in the record or not.
|
boolean |
isExpandedByDefault()
Whether this section should be expanded and fully visible in edit mode by default.
|
void |
setElements(List<RecordElement> elements)
Set the list of elements configured in this section.
|
void |
setEnabled(boolean enabled)
Set whether this section and its elements are going to be displayed in the record or not.
|
void |
setExpandedByDefault(boolean expanded)
Set whether this section should be expanded and fully visible in edit mode by default.
|
org.xwiki.uiextension.UIExtension getExtension()
UIExtension objectString getName()
boolean isEnabled()
true if this section must be displayed, false otherwisevoid setEnabled(boolean enabled)
enabled - true if this section must be displayed, false otherwiseboolean isExpandedByDefault()
true if this section must be expanded, false otherwisevoid setExpandedByDefault(boolean expanded)
expanded - true if this section must be expanded, false otherwiseList<RecordElement> getAllElements()
elements, empty if this section doesn't have any
elementsList<RecordElement> getEnabledElements()
enabled elements, empty if none are
configured or enabledvoid setElements(List<RecordElement> elements)
elements - the new list of elements to be included in this section, may be emptyCopyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.