Package de.esoco.process.ui.composite
Klasse UiEntityTableList<E extends Entity>
java.lang.Object
org.obrel.core.RelatedObject
de.esoco.process.param.ParameterWrapper<List<org.obrel.core.RelationType<?>>,UiTableList<E>>
de.esoco.process.ui.UiComponent<List<org.obrel.core.RelationType<?>>,UiTableList<E>>
de.esoco.process.ui.UiContainer<UiTableList<E>>
de.esoco.process.ui.UiComposite<UiTableList<E>>
de.esoco.process.ui.composite.UiTableList<E>
de.esoco.process.ui.composite.UiPagingTableList<E>
de.esoco.process.ui.composite.UiEntityTableList<E>
- Alle implementierten Schnittstellen:
de.esoco.lib.property.HasSelection<UiTableList<E>.Row>
,org.obrel.core.Relatable
A paging table list that displays the
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen de.esoco.process.ui.composite.UiTableList
UiTableList.Column<V>, UiTableList.Row
Von Klasse geerbte verschachtelte Klassen/Schnittstellen de.esoco.process.ui.UiContainer
UiContainer.UiContainerFragment
-
Konstruktorübersicht
KonstruktorBeschreibungUiEntityTableList
(UiContainer<?> parent, Class<E> entityType, de.esoco.lib.expression.Predicate<? super E> defaultCriteria) Creates a new simple, non-expanding entity list.UiEntityTableList
(UiContainer<?> parent, Class<E> entityType, de.esoco.lib.expression.Predicate<? super E> defaultCriteria, de.esoco.lib.expression.monad.Option<UiListPanel.ExpandableListStyle> expandStyle) Creates a new expanding entity list. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
changeDefaultCriteria
(de.esoco.lib.expression.Predicate<? super E> criteria) Changes the default criteria and updates the displayed data.final String
Returns the global filter string.void
setGlobalFilter
(String filter) Sets a global filter string for this list.final void
setGlobalFilterAttributes
(org.obrel.core.RelationType<String>... attributes) Sets the attributes to be considered by the global filter.Von Klasse geerbte Methoden de.esoco.process.ui.composite.UiPagingTableList
getEmptyPagelLabel, setData, setEmptyPageLabel, update
Von Klasse geerbte Methoden de.esoco.process.ui.composite.UiTableList
addColumn, addColumns, addEmptyTableInfo, addExpandedHeader, buildContent, createColumn, createRow, displayRows, getColumns, getData, getRows, getSelection, onColumnSelection, onRowSelection, removeRow, setColumnPrefix, setExpandedRowBuilder, setSelection, updateData
Von Klasse geerbte Methoden de.esoco.process.ui.UiContainer
applyProperties, attachTo, builder, clear, componentAdded, componentListChanged, getComponents, getLayout, isBuilt, onClickInContainerArea, remove, toString
Von Klasse geerbte Methoden de.esoco.process.ui.UiComponent
cell, cell, getComponentStyleName, getImage, getParent, getRootView, getValueImpl, getView, height, icon, image, label, placeBefore, resid, setValueImpl, size, style, style, styleName, tooltip, visibleOn, width
Von Klasse geerbte Methoden de.esoco.process.param.ParameterWrapper
clear, disable, enable, fragment, get, getParam, has, hide, id, initiateDownload, isEnabled, isVisible, remove, set, set, set, setEnabled, setFragment, setParam, setParameterEventHandler, setParameterType, setVisible, show, type
Von Klasse geerbte Methoden org.obrel.core.RelatedObject
deleteRelation, get, getRelation, getRelations, notifyRelationListeners, readRelations, relationsEqual, relationsHashCode, relationsString, set, set, transform, writeRelations
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.obrel.core.Relatable
deleteRelation, deleteRelations, getAll, getOption, getRelationCount, getRelations, hasFlag, hasRelation, hasRelations, init, set, set, set, setOption, streamRelations
-
Konstruktordetails
-
UiEntityTableList
public UiEntityTableList(UiContainer<?> parent, Class<E> entityType, de.esoco.lib.expression.Predicate<? super E> defaultCriteria) Creates a new simple, non-expanding entity list.- Parameter:
parent
- The parent containerentityType
- The class of the entity type to displaydefaultCriteria
- The default criteria or NULL for none
-
UiEntityTableList
public UiEntityTableList(UiContainer<?> parent, Class<E> entityType, de.esoco.lib.expression.Predicate<? super E> defaultCriteria, de.esoco.lib.expression.monad.Option<UiListPanel.ExpandableListStyle> expandStyle) Creates a new expanding entity list.- Parameter:
parent
- The parent containerentityType
- The class of the entity type to displaydefaultCriteria
- Default criteria that are always applied or NULL for noneexpandStyle
- The expand style
-
-
Methodendetails
-
changeDefaultCriteria
Changes the default criteria and updates the displayed data.- Parameter:
criteria
- The new default criteria
-
getGlobalFilter
Returns the global filter string.- Gibt zurück:
- The global filter string or NULL for none
-
setGlobalFilter
Sets a global filter string for this list. This will apply the filter to all attributes set withsetGlobalFilterAttributes(RelationType...)
.- Parameter:
filter
- The filter string or NULL or empty for no filter
-
setGlobalFilterAttributes
@SafeVarargs public final void setGlobalFilterAttributes(org.obrel.core.RelationType<String>... attributes) Sets the attributes to be considered by the global filter.- Parameter:
attributes
- The new filter attributes
-