public static class DropDownComponent.ScrollablePopupMenuEvent
extends java.util.EventObject
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
details
The details about the event.
|
private int |
itemNumber
The number of items that were added / removed.
|
static int |
ITEMS_ADDED |
static int |
ITEMS_REMOVED |
private int |
type
The event type.
|
| Constructor and Description |
|---|
ScrollablePopupMenuEvent(java.lang.Object source,
int type,
int itemNumber,
java.lang.String details)
Creates the ScrollablePopupMenuEvent.
|
| Modifier and Type | Method and 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.
|
public static final int ITEMS_ADDED
public static final int ITEMS_REMOVED
private int type
private int itemNumber
private java.lang.String details
public ScrollablePopupMenuEvent(java.lang.Object source,
int type,
int itemNumber,
java.lang.String details)
source - The source componenttype - The event typeitemNumber - The item numberdetails - The event detailspublic void initEvent(int type,
int itemNumber,
java.lang.String details)
public java.lang.String getDetails()
public int getItemNumber()
public int getType()