Class AbstractMutableElementWithProperties
java.lang.Object
ch.nolix.system.element.mutableelement.AbstractMutableElementWithProperties
- All Implemented Interfaces:
Resettable, AttributesRepresentable, Element, SpecificationRepresentable, MutableElement
- Direct Known Subclasses:
AbstractStylableElement, GridCell, ItemMenuItem, MutableImage, TabContainerTab
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddOrChangeAttribute(Node<?> attribute) Adds or changes the given attribute to the currentMutableElement.final voidaddOrChangeAttribute(String attribute) Adds or changes the given attribute to the currentMutableElement.final booleanfinal ExtendedIterable<Node<?>> final Node<?> final inthashCode()final StringtoString()Methods inherited from interface MutableElement
addOrChangeAttributes, resetFromAttributes, resetFromSpecificationMethods inherited from interface Resettable
resetMethods inherited from interface SpecificationRepresentable
hasEqualSpecificationAsElement, toFormatedString
-
Constructor Details
-
AbstractMutableElementWithProperties
public AbstractMutableElementWithProperties()
-
-
Method Details
-
addOrChangeAttribute
Adds or changes the given attribute to the currentMutableElement.- Specified by:
addOrChangeAttributein interfaceMutableElement- Parameters:
attribute-
-
addOrChangeAttribute
Adds or changes the given attribute to the currentMutableElement.- Specified by:
addOrChangeAttributein interfaceMutableElement- Parameters:
attribute-
-
equals
-
getAttributes
- Specified by:
getAttributesin interfaceAttributesRepresentable- Returns:
- the attributes of the current
AttributesRepresentable
-
getSpecification
- Specified by:
getSpecificationin interfaceSpecificationRepresentable- Returns:
- the specification of the current
SpecificationRepresentable
-
hashCode
-
toString
-