| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected int |
column
The column index.
|
protected int[] |
items
The indices of items being selected/deselected.
|
DESELECTED, ITEM_FIRST, ITEM_LAST, ITEM_STATE_CHANGED, SELECTEDACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK| コンストラクタと説明 |
|---|
ListItemEvent(java.awt.ItemSelectable source,
int id,
int stateChange,
int row,
int column)
Constructs a ListItemEvent object with the specified ItemSelectable
source, id, item select state, row index, and column index.
|
ListItemEvent(java.awt.ItemSelectable source,
int id,
java.lang.Object item,
int stateChange,
int[] items,
int column)
Constructs a ListItemEvent object with the specified ItemSelectable
source, id, item, item select state, indices of items, and column index.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getColumn()
Returns the column index of this event.
|
int[] |
getItems()
Returns the indices of items of this event.
|
int |
getRow()
Returns the column index of this event.
|
java.lang.String |
paramString() |
protected int[] items
protected int column
public ListItemEvent(java.awt.ItemSelectable source,
int id,
int stateChange,
int row,
int column)
source - the ItemSelectable object where the event originated.id - the event type.stateChange - the state change type which caused the event.row - the row index.column - the column index.public ListItemEvent(java.awt.ItemSelectable source,
int id,
java.lang.Object item,
int stateChange,
int[] items,
int column)
source - the ItemSelectable object where the event originated.id - the event type.item - the item where the event occurred.stateChange - the state change type which caused the event.items - the indices of items where the event occurred.column - the column index.public int[] getItems()
public int getRow()
public int getColumn()
public java.lang.String paramString()
paramString クラス内 java.awt.event.ItemEvent