Package org.apache.batik.util.gui
Class DropDownComponent.ScrollablePopupMenuEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.batik.util.gui.DropDownComponent.ScrollablePopupMenuEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- DropDownComponent
public static class DropDownComponent.ScrollablePopupMenuEvent extends java.util.EventObject
Event to pass to listener.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ITEMS_ADDED
static int
ITEMS_REMOVED
-
Constructor Summary
Constructors Constructor Description ScrollablePopupMenuEvent(java.lang.Object source, int type, int itemNumber, java.lang.String details)
Creates the ScrollablePopupMenuEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDetails()
Gets the event details.int
getItemNumber()
Gets the item number.int
getType()
Gets the event type.void
initEvent(int type, int itemNumber, java.lang.String details)
Initializes this event.
-
-
-
Field Detail
-
ITEMS_ADDED
public static final int ITEMS_ADDED
- See Also:
- Constant Field Values
-
ITEMS_REMOVED
public static final int ITEMS_REMOVED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScrollablePopupMenuEvent
public ScrollablePopupMenuEvent(java.lang.Object source, int type, int itemNumber, java.lang.String details)
Creates the ScrollablePopupMenuEvent.- Parameters:
source
- The source componenttype
- The event typeitemNumber
- The item numberdetails
- The event details
-
-
Method Detail
-
initEvent
public void initEvent(int type, int itemNumber, java.lang.String details)
Initializes this event.
-
getDetails
public java.lang.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
-
-