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)
Deprecated.
since 5.2.20, use
setFormDefaults(FormData) . |
void |
setFormDefaults(FormData formData)
Set the default values for all editors based on the given form data.
|
void |
setUid(String uid)
Set the unique identifier for this provider.
|
getGomElementMappings
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
@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()
@Deprecated void setDefaults(Data data)
setFormDefaults(FormData)
.data
- The data providing default values.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210