Klasse AbstractStyleElement<E extends AbstractStyleElement<E>>
java.lang.Object
ch.nolix.system.element.mutableelement.AbstractMutableElement
ch.nolix.system.style.stylable.AbstractStylableElement<E>
ch.nolix.system.style.stylable.AbstractStyleElement<E>
- Typparameter:
E- is the type of aAbstractStyleElement.
- Alle implementierten Schnittstellen:
IFluentMutableMultiTokenHolder<E>, IFluentMutableOptionalIdHolder<E>, IMultiTokenHolder, IOptionalIdHolder, TypeRequestable, Resettable, IElement, IStructureElement, IMutableElement, IStylableElement<E>, IStyleElement<E>
- Bekannte direkte Unterklassen:
WebGui
public abstract class AbstractStyleElement<E extends AbstractStyleElement<E>>
extends AbstractStylableElement<E>
implements IStyleElement<E>
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungvoidApplies theIStyleof the currentIStyleElementto the currentIStyleElementand its child elements if the currentIStyleElementhas a {IStylefinal booleanhasStyle()final voidRemoves theIStyleof the currentIStyleElement.protected abstract voidResets the currentAbstractStyleElement.protected final voidSets the given configuration to the currentIStyleElement.Von Klasse geerbte Methoden AbstractStylableElement
addToken, asConcrete, getChildStructureElements, getId, getStructureSpecification, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyle, resetStyleRecursively, setIdVon Klasse geerbte Methoden AbstractMutableElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, resetFromFileWithFilePath, toStringVon 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
-
Konstruktordetails
-
AbstractStyleElement
public AbstractStyleElement()
-
-
Methodendetails
-
applyStyleIfHasStyle
public void applyStyleIfHasStyle()Applies theIStyleof the currentIStyleElementto the currentIStyleElementand its child elements if the currentIStyleElementhas a {IStyle- Angegeben von:
applyStyleIfHasStylein SchnittstelleIStyleElement<E extends AbstractStyleElement<E>>
-
hasStyle
public final boolean hasStyle()- Angegeben von:
hasStylein SchnittstelleIStyleElement<E extends AbstractStyleElement<E>>- Gibt zurück:
- true if the current
IStyleElementhas aIStyle, false otherwise.
-
removeStyle
public final void removeStyle()Removes theIStyleof the currentIStyleElement.- Angegeben von:
removeStylein SchnittstelleIStyleElement<E extends AbstractStyleElement<E>>
-
setStyle
Sets the given configuration to the currentIStyleElement.- Angegeben von:
setStylein SchnittstelleIStyleElement<E extends AbstractStyleElement<E>>- Parameter:
style-- Gibt zurück:
- the current
IStyleElement.
-
resetStylableElement
protected final void resetStylableElement()- Angegeben von:
resetStylableElementin KlasseAbstractStylableElement<E extends AbstractStyleElement<E>>
-
resetConfigurationElement
protected abstract void resetConfigurationElement()Resets the currentAbstractStyleElement.
-