Package ch.nolix.system.style.stylable
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>
- 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 currentAbstractStyleElement.protected final voidSets the given configuration to the currentIStyleElement.Von Klasse geerbte Methoden ch.nolix.system.style.stylable.AbstractStylableElement
addToken, asConcrete, getChildStructureElements, getId, getStructureSpecification, getTokens, hasId, removeId, removeToken, removeTokens, reset, resetStyle, resetStyleRecursively, setIdVon Klasse geerbte Methoden ch.nolix.system.element.mutableelement.AbstractMutableElement
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.element.base.IElement
getAttributes, getSpecification, toFormatedString, toXmlVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.fluentmutablemultiattribute.IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokensVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.fluentmutableoptionalattribute.IFluentMutableOptionalIdHolder
removeId, setIdVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.multiattribute.IMultiTokenHolder
getTokensVon Schnittstelle geerbte Methoden ch.nolix.systemapi.element.mutableelement.IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.optionalattribute.IOptionalIdHolder
getId, getIdInQuotes, hasId, hasIdVon Schnittstelle geerbte Methoden ch.nolix.systemapi.element.base.IStructureElement
getChildStructureElements, getStructureSpecificationVon Schnittstelle geerbte Methoden ch.nolix.systemapi.style.stylable.IStylableElement
getStoredChildStylableElements, hasRole, resetStyleRecursivelyVon Schnittstelle geerbte Methoden ch.nolix.coreapi.state.statemutation.Resettable
resetVon Schnittstelle geerbte Methoden ch.nolix.coreapi.objectstructure.typerequest.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.
-
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.
-