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 ChartUIElement
create
(ElementType type) Creates a new element of the given type with a new idboolean
void
fromXml
(Element element, StepRegistry registry, ChartUIModel parentModel) getId()
getSize()
getType()
int
hashCode()
boolean
isLink()
Convenience method to test if this element is of type ElementType.Linkvoid
toXml
(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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
merge
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
extend, newDefaultInstance, newExtension
Methods 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:
equals
in classBasicPropertySet
-