Class TagChangeEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class TagChangeEvent
    extends javax.swing.event.ChangeEvent
    See Also:
    Serialized Form
    • Constructor Detail

      • TagChangeEvent

        public TagChangeEvent​(TagPath path,
                              Tag tag,
                              TagProp prop)
        Creates a new tag change event for the given tag.
        Parameters:
        prop - Represents which tag property has changed, or null which means a "config change" has occured - the entire tag has changed.
      • TagChangeEvent

        public TagChangeEvent​(TagPath path,
                              Tag tag,
                              TagProp prop,
                              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.
    • Method Detail

      • getTag

        public Tag getTag()
      • getTagPath

        public TagPath getTagPath()
      • getTagProperty

        public TagProp getTagProperty()
      • getChangedArrayIndexes

        public int[] getChangedArrayIndexes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.EventObject