Package ch.nolix.system.element.style
Klasse StylableElement<E extends IStylableElement<E>>
java.lang.Object
ch.nolix.system.element.mutableelement.MutableElement
ch.nolix.system.element.style.StylableElement<E>
- Alle implementierten Schnittstellen:
IFluentMutableMultiTokenHolder<E>,IFluentMutableOptionalIdHolder<E>,IMultiTokenHolder,IOptionalIdHolder,Resettable,TypeRequestable,IElement,IStructureElement,IMutableElement,IStylableElement<E>
- Bekannte direkte Unterklassen:
Control,Layer,StyleElement
public abstract class StylableElement<E extends IStylableElement<E>>
extends MutableElement
implements IStylableElement<E>
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal EAdds the given token to the currentIFluentMutableMultiTokenHolder.protected final Efinal IContainer<? extends IStructureElement> final StringgetId()final INode<?> final IContainer<String> final booleanhasId()final EremoveId()Removes the id of the currentIFluentMutableOptionalIdHolder.final EremoveToken(String token) Removes the token that equals the given token from the currentIFluentMutableMultiTokenHolderif the currentIFluentMutableMultiTokenHoldercontains such a token.final ERemoves all tokens from the currentIFluentMutableMultiTokenHolder.final voidreset()Resets the currentResettable.protected abstract voidprotected abstract voidfinal voidResets the style of the currentIStylableElementand the style of the childIStylableElements of the currentIStylableElement.final ESets the id of the currentIFluentMutableOptionalIdHolder.Von 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.systemapi.elementapi.mutableelementapi.IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.optionalattributeapi.IOptionalIdHolder
getIdInQuotes, hasIdVon Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.styleapi.IStylableElement
getStoredChildStylableElements, hasRoleVon Schnittstelle geerbte Methoden ch.nolix.coreapi.structureapi.typerequestapi.TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Konstruktordetails
-
StylableElement
public StylableElement()
-
-
Methodendetails
-
addToken
Beschreibung aus Schnittstelle kopiert:IFluentMutableMultiTokenHolderAdds the given token to the currentIFluentMutableMultiTokenHolder.- Angegeben von:
addTokenin SchnittstelleIFluentMutableMultiTokenHolder<E extends IStylableElement<E>>- Parameter:
token-- Gibt zurück:
- the current
IFluentMutableMultiTokenHolder.
-
getChildStructureElements
- Angegeben von:
getChildStructureElementsin SchnittstelleIStructureElement- Gibt zurück:
- the child
IStructureElements of the currentIStructureElement.
-
getId
- Angegeben von:
getIdin SchnittstelleIOptionalIdHolder- Gibt zurück:
- the id of the current
IOptionalIdHolder.
-
getTokens
- Angegeben von:
getTokensin SchnittstelleIMultiTokenHolder- Gibt zurück:
- the tokens of the current
IMultiTokenHolder.
-
getStructureSpecification
- Angegeben von:
getStructureSpecificationin SchnittstelleIStructureElement- Gibt zurück:
- the structure specification of the current
IStructureElement. A structure specification of aIStructureElementcontains only the attributes of theIStructureElementthat areIStructureElements themselves.
-
hasId
public final boolean hasId()- Angegeben von:
hasIdin SchnittstelleIOptionalIdHolder- Gibt zurück:
- true if the current
IOptionalIdHolderhas an id.
-
removeId
Beschreibung aus Schnittstelle kopiert:IFluentMutableOptionalIdHolderRemoves the id of the currentIFluentMutableOptionalIdHolder.- Angegeben von:
removeIdin SchnittstelleIFluentMutableOptionalIdHolder<E extends IStylableElement<E>>- Gibt zurück:
- the current
IFluentMutableOptionalIdHolder.
-
removeToken
Beschreibung aus Schnittstelle kopiert:IFluentMutableMultiTokenHolderRemoves the token that equals the given token from the currentIFluentMutableMultiTokenHolderif the currentIFluentMutableMultiTokenHoldercontains such a token.- Angegeben von:
removeTokenin SchnittstelleIFluentMutableMultiTokenHolder<E extends IStylableElement<E>>- Parameter:
token-- Gibt zurück:
- the current
IFluentMutableMultiTokenHolder.
-
removeTokens
Beschreibung aus Schnittstelle kopiert:IFluentMutableMultiTokenHolderRemoves all tokens from the currentIFluentMutableMultiTokenHolder.- Angegeben von:
removeTokensin SchnittstelleIFluentMutableMultiTokenHolder<E extends IStylableElement<E>>- Gibt zurück:
- the current
IFluentMutableMultiTokenHolder.
-
reset
public final void reset()Beschreibung aus Schnittstelle kopiert:ResettableResets the currentResettable.- Angegeben von:
resetin SchnittstelleResettable
-
resetStyleRecursively
public final void resetStyleRecursively()Beschreibung aus Schnittstelle kopiert:IStylableElementResets the style of the currentIStylableElementand the style of the childIStylableElements of the currentIStylableElement.- Angegeben von:
resetStyleRecursivelyin SchnittstelleIStylableElement<E extends IStylableElement<E>>
-
setId
Beschreibung aus Schnittstelle kopiert:IFluentMutableOptionalIdHolderSets the id of the currentIFluentMutableOptionalIdHolder.- Angegeben von:
setIdin SchnittstelleIFluentMutableOptionalIdHolder<E extends IStylableElement<E>>- Parameter:
id-- Gibt zurück:
- the current
IFluentMutableOptionalIdHolder.
-
asConcrete
-
resetStylableElement
protected abstract void resetStylableElement() -
resetStyle
protected abstract void resetStyle()
-