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,- java.io.Serializable,- java.lang.Iterable<PropertyValue>
 
 public class ChartUIElement extends BasicPropertySet - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetBasicPropertySet.Builder
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static Property<java.util.UUID>Idstatic Property<java.awt.Point>Locationstatic Property<java.awt.Rectangle>LocationAdjuststatic Property<java.awt.Dimension>Sizestatic Property<ElementType>Type- 
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
 
- 
 - 
Constructor SummaryConstructors Constructor Description ChartUIElement()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChartUIElementcopy(java.util.UUID newId)static ChartUIElementcreate(ElementType type)Creates a new element of the given type with a new idbooleanequals(java.lang.Object obj)voidfromXml(org.w3c.dom.Element element, StepRegistry registry, ChartUIModel parentModel)java.util.UUIDgetId()java.awt.PointgetLocation()java.awt.DimensiongetSize()ElementTypegetType()inthashCode()booleanisLink()Convenience method to test if this element is of type ElementType.LinkvoidtoXml(javax.xml.stream.XMLStreamWriter writer, StepRegistry registry, java.lang.String tab)Writes this element to the XML stream.- 
Methods inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySetaddPropertyChangeListener, 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.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSourcemerge
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySetextend, newDefaultInstance, newExtension
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSourcegetNonNull, getNonNull
 
- 
 
- 
- 
- 
Field Detail- 
Idpublic static final Property<java.util.UUID> Id 
 - 
Typepublic static final Property<ElementType> Type 
 - 
Locationpublic static final Property<java.awt.Point> Location 
 - 
Sizepublic static final Property<java.awt.Dimension> Size 
 - 
LocationAdjustpublic static final Property<java.awt.Rectangle> LocationAdjust 
 
- 
 - 
Method Detail- 
createpublic static ChartUIElement create(ElementType type) Creates a new element of the given type with a new id
 - 
toXmlpublic void toXml(javax.xml.stream.XMLStreamWriter writer, StepRegistry registry, java.lang.String tab) throws javax.xml.stream.XMLStreamExceptionWrites this element to the XML stream. Will open (and close) a new element such as <step> or <transition>, etc.- Throws:
- javax.xml.stream.XMLStreamException
 
 - 
fromXmlpublic void fromXml(org.w3c.dom.Element element, StepRegistry registry, ChartUIModel parentModel) throws XmlParseException- Throws:
- XmlParseException
 
 - 
getIdpublic java.util.UUID getId() 
 - 
getTypepublic ElementType getType() 
 - 
getLocationpublic java.awt.Point getLocation() 
 - 
getSizepublic java.awt.Dimension getSize() 
 - 
isLinkpublic boolean isLink() Convenience method to test if this element is of type ElementType.Link
 - 
copypublic ChartUIElement copy(java.util.UUID newId) 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- BasicPropertySet
 
 
- 
 
-