Class DropDownComponent.ScrollablePopupMenuEvent

java.lang.Object
java.util.EventObject
org.apache.batik.util.gui.DropDownComponent.ScrollablePopupMenuEvent
All Implemented Interfaces:
Serializable
Enclosing class:
DropDownComponent

public static class DropDownComponent.ScrollablePopupMenuEvent extends EventObject
Event to pass to listener.
See Also:
  • Field Details

    • ITEMS_ADDED

      public static final int ITEMS_ADDED
      See Also:
    • ITEMS_REMOVED

      public static final int ITEMS_REMOVED
      See Also:
    • type

      private int type
      The event type.
    • itemNumber

      private int itemNumber
      The number of items that were added / removed.
    • details

      private String details
      The details about the event.
  • Constructor Details

    • ScrollablePopupMenuEvent

      public ScrollablePopupMenuEvent(Object source, int type, int itemNumber, String details)
      Creates the ScrollablePopupMenuEvent.
      Parameters:
      source - The source component
      type - The event type
      itemNumber - The item number
      details - The event details
  • Method Details

    • initEvent

      public void initEvent(int type, int itemNumber, String details)
      Initializes this event.
    • getDetails

      public String getDetails()
      Gets the event details.
      Returns:
      the details
    • getItemNumber

      public int getItemNumber()
      Gets the item number.
      Returns:
      the item number
    • getType

      public int getType()
      Gets the event type.
      Returns:
      the type