Package de.esoco.process.ui.component
Klasse UiIcon
java.lang.Object
org.obrel.core.RelatedObject
- Alle implementierten Schnittstellen:
org.obrel.core.Relatable
A component that displays an icon.
-
Konstruktorübersicht
KonstruktorBeschreibungUiIcon
(UiContainer<?> parent, UiIconSupplier iconSupplier) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
setIcon
(UiIconSupplier iconSupplier) Sets the icon to be displayed from an icon supplier.void
setIcon
(UiImageResource iconResource) Sets the icon to be displayed from an image resource (which must point to an icon reference).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
-
UiIcon
Creates a new instance.- Parameter:
parent
- The parent containericonSupplier
- icon image The initial image
-
-
Methodendetails
-
setIcon
Sets the icon to be displayed from an icon supplier.- Parameter:
iconSupplier
- The icon supplier
-
setIcon
Sets the icon to be displayed from an image resource (which must point to an icon reference).- Parameter:
iconResource
- The icon image resource
-