Class MetaDataGroup
java.lang.Object
se.conciliate.extensions.documents.MetaDataGroup
MetaDataGroup is used to construct a UI for editing and displaying a document.
All MetaData belonging to the same group will be displayed in that group's edit
area, currently a side-tab.
-
Method Summary
Modifier and TypeMethodDescriptionaddMetaDataType
(MetaDataType<? extends MetaData<?>> type) addMetaDataTypes
(List<? extends MetaDataType<? extends MetaData<?>>> types) Adds a small gap between the last added meta data type and the next added meta data type.static MetaDataGroup
createGroup
(String ID, String title, URL icon) static MetaDataGroup
createGroup
(String title, URL icon) List<MetaDataType<? extends MetaData<?>>>
getIcon()
getID()
getTitle()
boolean
setDefaultGroup
(boolean defaultGroup) setMetaDataTypes
(List<? extends MetaDataType<? extends MetaData<?>>> types)
-
Method Details
-
createGroup
-
createGroup
-
addMetaDataType
-
addMetaDataTypes
-
addSeparator
Adds a small gap between the last added meta data type and the next added meta data type. This can be useful to separate different meta data in the same group to make the group's layout feel more "roomy" and less cluttered.- Returns:
- A new MetaDataGroup with all of this group's properties and a new separator. (This class is immutable which is why a new group is returned.)
-
setMetaDataTypes
-
setTitle
-
setIcon
-
setDefaultGroup
-
getID
-
getIcon
-
getTitle
-
getContentTypes
-
getSeparatorIndices
-
isDefaultGroup
public boolean isDefaultGroup()
-