Class TagChangeEvent
- java.lang.Object
-
- com.inductiveautomation.ignition.common.tags.model.event.TagChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FilteredTagChangeListener.FilteredTagChangeEvent
public class TagChangeEvent extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TagChangeEvent(TagPath path, QualifiedValue value)
Creates a new tag change event for the given tag.TagChangeEvent(TagPath path, QualifiedValue value, boolean initial)
TagChangeEvent(TagPath path, QualifiedValue value, int[] arrayIndexes)
Creates a tag change event for the given tag, which is assumed to have an array value, and specifies which indexes of the array changed.TagChangeEvent(TagPath path, QualifiedValue value, int[] arrayIndexes, boolean initial)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getChangedArrayIndexes()
TagPath
getTagPath()
QualifiedValue
getValue()
boolean
isInitial()
Indicates that this change event is the result of a new subscription- it is an artificial event to deliver the current value to a listener, it's not a true "change".java.lang.String
toString()
-
-
-
Constructor Detail
-
TagChangeEvent
public TagChangeEvent(TagPath path, QualifiedValue value)
Creates a new tag change event for the given tag.
-
TagChangeEvent
public TagChangeEvent(TagPath path, QualifiedValue value, boolean initial)
-
TagChangeEvent
public TagChangeEvent(TagPath path, QualifiedValue value, int[] arrayIndexes)
Creates a tag change event for the given tag, which is assumed to have an array value, and specifies which indexes of the array changed. If indexes are null, every value is assumed to have changed.
-
TagChangeEvent
public TagChangeEvent(TagPath path, QualifiedValue value, int[] arrayIndexes, boolean initial)
-
-
Method Detail
-
isInitial
public boolean isInitial()
Indicates that this change event is the result of a new subscription- it is an artificial event to deliver the current value to a listener, it's not a true "change".
-
getTagPath
public TagPath getTagPath()
-
getValue
public QualifiedValue getValue()
-
getChangedArrayIndexes
public int[] getChangedArrayIndexes()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-