Schnittstelle IStyleElement<E extends IStyleElement<E>>
- Typparameter:
E- is the type of aIStyleElement.
- Alle Superschnittstellen:
IElement,IFluentMutableMultiTokenHolder<E>,IFluentMutableOptionalIdHolder<E>,IMultiTokenHolder,IMutableElement,IOptionalIdHolder,IStructureElement,IStylableElement<E>,Resettable,TypeRequestable
- Alle bekannten Unterschnittstellen:
IWebGui<G>
- Alle bekannten Implementierungsklassen:
StyleElement,WebGui
A
IStyleElement can have a IStyle to apply to itself and to
its child elements.- Version:
- 2022-07-23
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidApplies theIStyleof the currentIStyleElementto the currentIStyleElementand its child elements if the currentIStyleElementhas a {IStylebooleanhasStyle()voidRemoves theIStyleof the currentIStyleElement.Sets the given configuration to the currentIStyleElement.Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.baseapi.IElement
getAttributes, getSpecification, toFormatedString, toXmlVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.fluentmutablemultiattributeapi.IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokensVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.fluentmutableoptionalattributeapi.IFluentMutableOptionalIdHolder
removeId, setIdVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.multiattributeapi.IMultiTokenHolder
getTokensVon Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.mutableelementapi.IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.optionalattributeapi.IOptionalIdHolder
getId, getIdInQuotes, hasId, hasIdVon Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.baseapi.IStructureElement
getChildStructureElements, getStructureSpecificationVon Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.styleapi.IStylableElement
getStoredChildStylableElements, hasRole, resetStyleRecursivelyVon Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.statemutationapi.Resettable
resetVon Schnittstelle geerbte Methoden ch.nolix.coreapi.structureapi.typerequestapi.TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Methodendetails
-
applyStyleIfHasStyle
void applyStyleIfHasStyle()Applies theIStyleof the currentIStyleElementto the currentIStyleElementand its child elements if the currentIStyleElementhas a {IStyle -
hasStyle
boolean hasStyle()- Gibt zurück:
- true if the current
IStyleElementhas aIStyle.
-
removeStyle
void removeStyle()Removes theIStyleof the currentIStyleElement. -
setStyle
Sets the given configuration to the currentIStyleElement.- Parameter:
style-- Gibt zurück:
- the current
IStyleElement. - Löst aus:
RuntimeException- if the given configuration is null.
-