Package ch.nolix.system.element.style
Klasse StyleElement<E extends StyleElement<E>>
java.lang.Object
ch.nolix.system.element.mutableelement.MutableElement
ch.nolix.system.element.style.StylableElement<E>
ch.nolix.system.element.style.StyleElement<E>
- Typparameter:
E- is the type of aStyleElement.
- Alle implementierten Schnittstellen:
IFluentMutableMultiTokenHolder<E>,IFluentMutableOptionalIdHolder<E>,IMultiTokenHolder,IOptionalIdHolder,Resettable,TypeRequestable,IElement,IStructureElement,IMutableElement,IStylableElement<E>,IStyleElement<E>
- Bekannte direkte Unterklassen:
WebGui
public abstract class StyleElement<E extends StyleElement<E>>
extends StylableElement<E>
implements IStyleElement<E>
- Version:
- 2016-05-01
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer 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 currentStyleElement.protected final voidSets the given configuration to the currentIStyleElement.Von Klasse geerbte Methoden ch.nolix.system.element.style.StylableElement
addToken, asConcrete, getChildStructureElements, getId, getStructureSpecification, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyle, resetStyleRecursively, setIdVon Klasse geerbte Methoden ch.nolix.system.element.mutableelement.MutableElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, resetFromFileWithFilePath, toStringVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon 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
-
Konstruktordetails
-
StyleElement
public StyleElement()
-
-
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 StyleElement<E>>
-
hasStyle
public final boolean hasStyle()- Angegeben von:
hasStylein SchnittstelleIStyleElement<E extends StyleElement<E>>- Gibt zurück:
- true if the current
IStyleElementhas aIStyle.
-
removeStyle
public final void removeStyle()Removes theIStyleof the currentIStyleElement.- Angegeben von:
removeStylein SchnittstelleIStyleElement<E extends StyleElement<E>>
-
setStyle
Sets the given configuration to the currentIStyleElement.- Angegeben von:
setStylein SchnittstelleIStyleElement<E extends StyleElement<E>>- Parameter:
style-- Gibt zurück:
- the current
IStyleElement.
-
resetStylableElement
protected final void resetStylableElement()- Angegeben von:
resetStylableElementin KlasseStylableElement<E extends StyleElement<E>>
-
resetConfigurationElement
protected abstract void resetConfigurationElement()Resets the currentStyleElement.
-