Klasse AbstractMutableElement
java.lang.Object
ch.nolix.system.element.mutableelement.AbstractMutableElement
- Alle implementierten Schnittstellen:
Resettable,IElement,IMutableElement
- Bekannte direkte Unterklassen:
AbstractStylableElement,GridCell,ItemMenuItem,MutableImage
- Version:
- 2017-10-29
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal voidaddOrChangeAttribute(INode<?> attribute) Adds or changes the given attribute to the currentIMutableElement.final voidaddOrChangeAttribute(String attribte, String... attributes) Adds or changes the given attributes to the currentIMutableElement.final booleanfinal IContainer<INode<?>> final INode<?> final inthashCode()final voidresetFromFileWithFilePath(String filePath) Resets the currentAbstractMutableElementfrom the file with the given filePath.final StringtoString()Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.systemapi.element.base.IElement
toFormatedString, toXmlVon Schnittstelle geerbte Methoden ch.nolix.systemapi.element.mutableelement.IMutableElement
addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationVon Schnittstelle geerbte Methoden ch.nolix.coreapi.state.statemutation.Resettable
reset
-
Konstruktordetails
-
AbstractMutableElement
public AbstractMutableElement()
-
-
Methodendetails
-
addOrChangeAttribute
Adds or changes the given attribute to the currentIMutableElement.- Angegeben von:
addOrChangeAttributein SchnittstelleIMutableElement- Parameter:
attribute-- Löst aus:
InvalidArgumentException- if the given attribute is not valid.
-
addOrChangeAttribute
Adds or changes the given attributes to the currentIMutableElement.- Angegeben von:
addOrChangeAttributein SchnittstelleIMutableElement- Parameter:
attribte-attributes-
-
equals
-
getAttributes
- Angegeben von:
getAttributesin SchnittstelleIElement- Gibt zurück:
- the attributes of the current
IElement.
-
getSpecification
- Angegeben von:
getSpecificationin SchnittstelleIElement- Gibt zurück:
- the specification of the current
IElement.
-
hashCode
public final int hashCode() -
resetFromFileWithFilePath
Resets the currentAbstractMutableElementfrom the file with the given filePath.- Parameter:
filePath-- Löst aus:
InvalidArgumentException- if the given filePath is not valid.
-
toString
-