Class AbstractNamedHandleEvent

Direct Known Subclasses:
CategoryEvent, CommandEvent, ContextEvent, SchemeEvent

public abstract class AbstractNamedHandleEvent extends AbstractHandleObjectEvent

An event fired from a NamedHandleObject. This provides notification of changes to the defined state, the name and the description.

Since:
3.1
  • Field Details

    • CHANGED_DESCRIPTION

      protected static final int CHANGED_DESCRIPTION
      The bit used to represent whether the category has changed its description.
      See Also:
    • CHANGED_NAME

      protected static final int CHANGED_NAME
      The bit used to represent whether the category has changed its name.
      See Also:
    • LAST_USED_BIT

      protected static final int LAST_USED_BIT
      The last used bit so that subclasses can add more properties.
      See Also:
  • Constructor Details

    • AbstractNamedHandleEvent

      protected AbstractNamedHandleEvent(boolean definedChanged, boolean descriptionChanged, boolean nameChanged)
      Constructs a new instance of AbstractHandleObjectEvent.
      Parameters:
      definedChanged - true, iff the defined property changed.
      descriptionChanged - true, iff the description property changed.
      nameChanged - true, iff the name property changed.
  • Method Details

    • isDescriptionChanged

      public final boolean isDescriptionChanged()
      Returns whether or not the description property changed.
      Returns:
      true, iff the description property changed.
    • isNameChanged

      public final boolean isNameChanged()
      Returns whether or not the name property changed.
      Returns:
      true, iff the name property changed.