org.apache.batik.util.gui

Class DropDownComponent.ScrollablePopupMenuEvent

public static class DropDownComponent.ScrollablePopupMenuEvent extends EventObject

Event to pass to listener.
Field Summary
static intITEMS_ADDED
static intITEMS_REMOVED
Constructor Summary
ScrollablePopupMenuEvent(Object source, int type, int itemNumber, String details)
Creates the ScrollablePopupMenuEvent.
Method Summary
StringgetDetails()
Gets the event details.
intgetItemNumber()
Gets the item number.
intgetType()
Gets the event type.
voidinitEvent(int type, int itemNumber, String details)
Initializes this event.

Field Detail

ITEMS_ADDED

public static final int ITEMS_ADDED

ITEMS_REMOVED

public static final int ITEMS_REMOVED

Constructor Detail

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 Detail

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

initEvent

public void initEvent(int type, int itemNumber, String details)
Initializes this event.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.