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:
Serializable
- Enclosing class:
DropDownComponent
Event to pass to listener.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionScrollablePopupMenuEvent
(Object source, int type, int itemNumber, String details) Creates the ScrollablePopupMenuEvent. -
Method Summary
Modifier and TypeMethodDescriptionGets the event details.int
Gets the item number.int
getType()
Gets the event type.void
Initializes this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
ITEMS_ADDED
public static final int ITEMS_ADDED- See Also:
-
ITEMS_REMOVED
public static final int ITEMS_REMOVED- See Also:
-
-
Constructor Details
-
ScrollablePopupMenuEvent
Creates the ScrollablePopupMenuEvent.- Parameters:
source
- The source componenttype
- The event typeitemNumber
- The item numberdetails
- The event details
-
-
Method Details
-
initEvent
Initializes this event. -
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
-