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.
- Version:
- $Id$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe details about the event.private intThe number of items that were added / removed.static final intstatic final intprivate intThe event type.Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionScrollablePopupMenuEvent(Object source, int type, int itemNumber, String details) Creates the ScrollablePopupMenuEvent. -
Method Summary
Modifier and TypeMethodDescriptionGets the event details.intGets the item number.intgetType()Gets the event type.voidInitializes this event.Methods inherited from class 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:
-
type
private int typeThe event type. -
itemNumber
private int itemNumberThe number of items that were added / removed. -
details
The details about the event.
-
-
Constructor Details
-
ScrollablePopupMenuEvent
-
-
Method Details
-
initEvent
Initializes this event. -
getDetails
-
getItemNumber
public int getItemNumber()Gets the item number.- Returns:
- the item number
-
getType
public int getType()Gets the event type.- Returns:
- the type
-