Package ch.nolix.system.style.stylable
Klasse AbstractStylableElement<E extends IStylableElement<E>>
java.lang.Object
ch.nolix.system.element.mutableelement.AbstractMutableElement
ch.nolix.system.style.stylable.AbstractStylableElement<E>
- Alle implementierten Schnittstellen:
IFluentMutableMultiTokenHolder<E>,IFluentMutableOptionalIdHolder<E>,IMultiTokenHolder,IOptionalIdHolder,TypeRequestable,Resettable,IElement,IStructureElement,IMutableElement,IStylableElement<E>
- Bekannte direkte Unterklassen:
AbstractStyleElement,Control,Layer
public abstract class AbstractStylableElement<E extends IStylableElement<E>>
extends AbstractMutableElement
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 voidremoveId()Removes the id of the currentIFluentMutableOptionalIdHolder.final voidremoveToken(String token) Removes the token that equals the given token from the currentIFluentMutableMultiTokenHolderif the currentIFluentMutableMultiTokenHoldercontains such a token.final voidRemoves 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.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.systemapi.element.mutableelement.IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.optionalattribute.IOptionalIdHolder
getIdInQuotes, hasIdVon Schnittstelle geerbte Methoden ch.nolix.systemapi.style.stylable.IStylableElement
getStoredChildStylableElements, hasRoleVon Schnittstelle geerbte Methoden ch.nolix.coreapi.objectstructure.typerequest.TypeRequestable
getType, isOfConcreteType, isOfConcreteType, isOfType, isOfType
-
Konstruktordetails
-
AbstractStylableElement
public AbstractStylableElement()
-
-
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
public final void removeId()Beschreibung aus Schnittstelle kopiert:IFluentMutableOptionalIdHolderRemoves the id of the currentIFluentMutableOptionalIdHolder.- Angegeben von:
removeIdin SchnittstelleIFluentMutableOptionalIdHolder<E extends IStylableElement<E>>
-
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-
-
removeTokens
public final void removeTokens()Beschreibung aus Schnittstelle kopiert:IFluentMutableMultiTokenHolderRemoves all tokens from the currentIFluentMutableMultiTokenHolder.- Angegeben von:
removeTokensin SchnittstelleIFluentMutableMultiTokenHolder<E extends IStylableElement<E>>
-
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()
-