Package de.esoco.process.ui.component
Klasse UiList<T>
java.lang.Object
org.obrel.core.RelatedObject
de.esoco.process.param.ParameterWrapper<T,UiList<T>>
de.esoco.process.ui.UiComponent<T,UiList<T>>
de.esoco.process.ui.UiControl<T,UiList<T>>
de.esoco.process.ui.UiListControl<T,UiList<T>>
de.esoco.process.ui.UiSingleSelectionList<T,UiList<T>>
de.esoco.process.ui.component.UiList<T>
- Alle implementierten Schnittstellen:
UiHasActionEvents<T,
,UiList<T>> UiHasFocusEvents<T,
,UiList<T>> UiHasUpdateEvents<T,
,UiList<T>> org.obrel.core.Relatable
public class UiList<T>
extends UiSingleSelectionList<T,UiList<T>>
implements UiHasActionEvents<T,UiList<T>>
A list of selectable values. The datatype of of the list values can be
defined on creation. Typically string and enum values are supported.
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungRegisters an event handler that will be invoked on action events with the new component value.onSelectionConfirmed
(Consumer<T> eventHandler) Sets the event handler for selection confirmed events (e.g. by double click) of this list.Von Klasse geerbte Methoden de.esoco.process.ui.UiSingleSelectionList
getListValues, setListValues, setListValues, setNoSelectionValue
Von Klasse geerbte Methoden de.esoco.process.ui.UiListControl
getSelection, onSelection, onUpdate, select, setSelection
Von Klasse geerbte Methoden de.esoco.process.ui.UiControl
onFocusLost, validateFinally, validateInteractive, validateNow
Von Klasse geerbte Methoden de.esoco.process.ui.UiComponent
applyProperties, attachTo, cell, cell, getComponentStyleName, getImage, getParent, getRootView, getValueImpl, getView, height, icon, image, label, placeBefore, resid, setValueImpl, size, style, style, styleName, tooltip, toString, update, 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
-
UiList
Creates a new instance. If the datatype is an enum all enum values will be pre-set as the list values. This can be changed after construction through thesetListValues
methods.- Parameter:
parent
- The parent containerdatatype
- The datatype of the list values
-
-
Methodendetails
-
onAction
Registers an event handler that will be invoked on action events with the new component value.- Angegeben von:
onAction
in SchnittstelleUiHasActionEvents<T,
UiList<T>> - Parameter:
eventHandler
- The event handler to be invoked- Gibt zurück:
- The component the handler has been registered on
-
onSelectionConfirmed
Sets the event handler for selection confirmed events (e.g. by double click) of this list.- Parameter:
eventHandler
- The event handler- Gibt zurück:
- This instance for concatenation
-