Package ch.nolix.system.element.style
Klasse StyleElement<SE extends StyleElement<SE>>
java.lang.Object
ch.nolix.system.element.mutableelement.MutableElement
ch.nolix.system.element.style.StylableElement<SE>
ch.nolix.system.element.style.StyleElement<SE>
- Typparameter:
SE
- is the type of aStyleElement
.
- Alle implementierten Schnittstellen:
IFluentMutableMultiTokenHolder<SE>
,IFluentMutableOptionalIdHolder<SE>
,IMultiTokenHolder
,IOptionalIdHolder
,TypeRequestable
,Resettable
,IElement
,IStructureElement
,IMutableElement
,IStylableElement<SE>
,IStyleElement<SE>
- Bekannte direkte Unterklassen:
WebGui
public abstract class StyleElement<SE extends StyleElement<SE>>
extends StylableElement<SE>
implements IStyleElement<SE>
- Version:
- 2016-05-01
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Applies theIStyle
of the currentIStyleElement
to the currentIStyleElement
and its child elements if the currentIStyleElement
has a {IStyle
final boolean
hasStyle()
final void
Removes theIStyle
of the currentIStyleElement
.protected abstract void
Resets the currentStyleElement
.protected final void
Sets 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, setId
Von Klasse geerbte Methoden ch.nolix.system.element.mutableelement.MutableElement
addOrChangeAttribute, addOrChangeAttribute, equals, getAttributes, getSpecification, hashCode, resetFromFileWithFilePath, toString
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.baseapi.IElement
getAttributes, getSpecification, toFormatedString, toXml
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.fluentmutablemultiattributeapi.IFluentMutableMultiTokenHolder
addToken, removeToken, removeTokens
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.fluentmutableoptionalattributeapi.IFluentMutableOptionalIdHolder
removeId, setId
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.multiattributeapi.IMultiTokenHolder
getTokens
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.mutableelementapi.IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecification
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.optionalattributeapi.IOptionalIdHolder
getId, getIdInQuotes, hasId, hasId
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.baseapi.IStructureElement
getChildStructureElements, getStructureSpecification
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.styleapi.IStylableElement
getStoredChildStylableElements, hasRole, resetStyleRecursively
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.statemutationapi.Resettable
reset
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.programstructureapi.typerequestapi.TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Konstruktordetails
-
StyleElement
public StyleElement()
-
-
Methodendetails
-
applyStyleIfHasStyle
public void applyStyleIfHasStyle()Applies theIStyle
of the currentIStyleElement
to the currentIStyleElement
and its child elements if the currentIStyleElement
has a {IStyle
- Angegeben von:
applyStyleIfHasStyle
in SchnittstelleIStyleElement<SE extends StyleElement<SE>>
-
hasStyle
public final boolean hasStyle()- Angegeben von:
hasStyle
in SchnittstelleIStyleElement<SE extends StyleElement<SE>>
- Gibt zurück:
- true if the current
IStyleElement
has aIStyle
.
-
removeStyle
public final void removeStyle()Removes theIStyle
of the currentIStyleElement
.- Angegeben von:
removeStyle
in SchnittstelleIStyleElement<SE extends StyleElement<SE>>
-
setStyle
Sets the given configuration to the currentIStyleElement
.- Angegeben von:
setStyle
in SchnittstelleIStyleElement<SE extends StyleElement<SE>>
- Parameter:
style
-- Gibt zurück:
- the current
IStyleElement
.
-
resetStylableElement
protected final void resetStylableElement()- Angegeben von:
resetStylableElement
in KlasseStylableElement<SE extends StyleElement<SE>>
-
resetConfigurationElement
protected abstract void resetConfigurationElement()Resets the currentStyleElement
.
-