Class ChartUIElement
java.lang.Object
com.inductiveautomation.ignition.common.config.BasicPropertySet
com.inductiveautomation.sfc.uimodel.ChartUIElement
- All Implemented Interfaces:
Countable,Extendable<PropertySet>,Mergable<PropertySet>,MutablePropertyValueSource,ObservablePropertySet,PropertySet,PropertyValueSource,Serializable,Iterable<PropertyValue>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
BasicPropertySet.Builder -
Field Summary
FieldsFields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChartUIElementcreate(ElementType type) Creates a new element of the given type with a new idbooleanvoidfromXml(Element element, StepRegistry registry, ChartUIModel parentModel) getId()getSize()getType()inthashCode()booleanisLink()Convenience method to test if this element is of type ElementType.LinkvoidtoXml(XMLStreamWriter writer, StepRegistry registry, String tab) Writes this element to the XML stream.Methods inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
addPropertyChangeListener, addPropertyChangeListener, change, coerceValue, contains, firePropertyChange, get, getCount, getExtension, getOrDefault, getOrElse, getProperties, getRaw, getRawValueMap, getValues, isExtended, isInherited, iterator, of, remove, removePropertyChangeListener, removePropertyChangeListener, set, set, setDirect, setImpl, setRawValueMap, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
mergeMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
extend, newDefaultInstance, newExtensionMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
getNonNull, getNonNull
-
Field Details
-
Id
-
Type
-
Location
-
Size
-
LocationAdjust
-
-
Constructor Details
-
ChartUIElement
public ChartUIElement()
-
-
Method Details
-
create
Creates a new element of the given type with a new id -
toXml
public void toXml(XMLStreamWriter writer, StepRegistry registry, String tab) throws XMLStreamException Writes this element to the XML stream. Will open (and close) a new element such as <step> or <transition>, etc.- Throws:
XMLStreamException
-
fromXml
public void fromXml(Element element, StepRegistry registry, ChartUIModel parentModel) throws XmlParseException - Throws:
XmlParseException
-
getId
-
getType
-
getLocation
-
getSize
-
isLink
public boolean isLink()Convenience method to test if this element is of type ElementType.Link -
copy
-
hashCode
public int hashCode() -
equals
- Overrides:
equalsin classBasicPropertySet
-