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:
AbstractStyleElement, WebGui
A
IStyleElement can have a IStyle to apply to itself and to
its child elements.- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifikator 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 IElement
getAttributes, getSpecification, toFormatedString, toXmlVon Schnittstelle geerbte Methoden IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokensVon Schnittstelle geerbte Methoden IFluentMutableOptionalIdHolder
removeId, setIdVon Schnittstelle geerbte Methoden IMultiTokenHolder
getTokensVon Schnittstelle geerbte Methoden IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationVon Schnittstelle geerbte Methoden IOptionalIdHolder
getId, getIdInQuotes, hasId, hasIdVon Schnittstelle geerbte Methoden IStructureElement
getChildStructureElements, getStructureSpecificationVon Schnittstelle geerbte Methoden IStylableElement
getStoredChildStylableElements, hasRole, resetStyleRecursivelyVon Schnittstelle geerbte Methoden Resettable
resetVon Schnittstelle geerbte Methoden 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, false otherwise.
-
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.
-