public interface GomEditorProvider extends GomList<GomElement>
Modifier and Type | Method and Description |
---|---|
List<String> |
appendEditorNames(List<String> names)
Append the names of all local and children's editors to the given list of
names and return the list.
|
GomFormElement |
findEditor(String name)
Look up a GOM editor element within this provider.
|
Iterable<GomFormElement> |
forms()
Returns an iterable on all form elements within this provider.
|
GomElement |
get(int index)
Getter for GomElements.
|
String |
getUid()
Get the unique identifier of this provider.
|
void |
setDefaults(Data data)
Set the default values for all editors based on the given data.
|
void |
setUid(String uid)
Set the unique identifier for this provider.
|
getGomElementMappings
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration, validate
@Nullable String getUid()
void setUid(String uid)
uid
- The identifier to be used for this provider.@Nullable GomElement get(int index)
get
in interface List<GomElement>
@Nullable GomFormElement findEditor(String name)
name
- The name of the editor.null
.@NotNull List<String> appendEditorNames(@Nullable List<String> names)
names
is null
,
returns a new list.names
- A list of names or null.@NotNull Iterable<GomFormElement> forms()
void setDefaults(Data data)
data
- The data providing default values.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408