Class AttributeEvent

All Implemented Interfaces:
Serializable

public class AttributeEvent
extends AbstractEvent
Contains an attribute event.
Version:
$Revision: 1.7 $
See Also:
Serialized Form
  • Constructor Details

    • AttributeEvent

      public AttributeEvent​(Attribute attribute)
      Contructor that is called when one attribute is concerned.
      Parameters:
      attribute - the attribute, which was altered.
    • AttributeEvent

      public AttributeEvent​(String path, Attribute attribute)
      Contructor that is called when one composite attribute is concerned, where it is comfortable to pass the path of attribute, too.
      Parameters:
      path - the path to the attribute that was altered.
      attribute - the attribute, which was altered.
  • Method Details

    • getAttribute

      public Attribute getAttribute()
      Returns the attribute that has been changed by this event.
      Returns:
      the attribute that has been changed by this event.
    • getPath

      public String getPath()
      Returns the path to the attribute that has been changed by this event.
      Returns:
      the path to the attribute that has been changed by this event.
    • getAttributeable

      public Attributable getAttributeable()