Class ChartAttribute
java.lang.Object
org.graffiti.attributes.AbstractAttribute
org.graffiti.attributes.StringAttribute
de.ipk_gatersleben.ag_nw.graffiti.plugins.editcomponents.chart_settings.ChartAttribute
- All Implemented Interfaces:
Attribute,DeepCopy,Displayable
public class ChartAttribute extends StringAttribute
-
Field Summary
Fields Modifier and Type Field Description static StringCHARTPOSITION -
Constructor Summary
Constructors Constructor Description ChartAttribute()ChartAttribute(String id)ChartAttribute(String id, String value) -
Method Summary
Methods inherited from class org.graffiti.attributes.StringAttribute
getString, getTypedStringAttribute, getTypedStringAttribute, getValue, putAttributeType, setDefaultValue, setStringMethods inherited from class org.graffiti.attributes.AbstractAttribute
addEdgeAttributeType, addNodeAttributeType, getAttributable, getDescription, getIcon, getId, getName, getParent, getPath, getTypedAttribute, isDeleted, isTypedAttributeFromID, setDeleted, setDescription, setId, setParent, setValue, toString
-
Field Details
-
CHARTPOSITION
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChartAttribute
public ChartAttribute() -
ChartAttribute
-
ChartAttribute
-
-
Method Details
-
copy
Description copied from class:StringAttributeReturns a deep copy of this instance.- Specified by:
copyin interfaceDeepCopy- Overrides:
copyin classStringAttribute- Returns:
- a deep copy of this instance.
-
toString
Description copied from interface:AttributeReturns a string representation prepended bynspaces of this attribute.- Specified by:
toStringin interfaceAttribute- Overrides:
toStringin classStringAttribute- Returns:
- DOCUMENT ME!
- See Also:
Attribute.toString(int)
-
toXMLString
Description copied from interface:DisplayableReturns a well-formed XML string representing the Displayable. The Displayable should be reconstructable via this representation. Therefore it must at least include the type of Displayable (classname) and a representation of its value. PROBABLE FUTURE DESIGN: The Displayables themselves will provide a method to reconstruct their value from the XML representation they provided.- Specified by:
toXMLStringin interfaceDisplayable- Overrides:
toXMLStringin classStringAttribute- Returns:
- string holding an XML representation of this Displayable
- See Also:
Displayable.toXMLString()
-