public class AemFieldset extends Object implements FieldContainer
| Constructor and Description |
|---|
AemFieldset() |
| Modifier and Type | Method and Description |
|---|---|
AemFieldset |
expand()
Expands the fieldset if not expanded already.
|
AemFieldset |
fold()
Folds the fieldset if not folded already.
|
<T> T |
getField(String label,
Class<T> dialogFieldType)
Fetches field from the container, identified by its label.
|
String |
getItemValue(String fieldLabel,
Class<?> dialogFieldType)
Get the value from one of the fields in this fieldset, identified by label
|
boolean |
isExpanded() |
boolean |
isFolded() |
AemFieldset |
setItemValue(String value,
String fieldLabel,
Class<?> dialogFieldType)
Set the value in one of the fields in this fieldset, identified by label.
|
public boolean isFolded()
public boolean isExpanded()
public AemFieldset fold()
public AemFieldset expand()
public <T> T getField(String label, Class<T> dialogFieldType)
FieldContainergetField in interface FieldContainerT - dialog field classlabel - field labeldialogFieldType - field typepublic AemFieldset setItemValue(String value, String fieldLabel, Class<?> dialogFieldType)
value - the configuration value to be setfieldLabel - label to determine fielddialogFieldType - type to determine fieldCopyright © 2016–2018 Cognifide Ltd.. All rights reserved.