| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
buttonPressed
True, if the column button is pressed.
|
protected int |
column
the column index.
|
protected java.lang.Object |
item
The item of the list.
|
protected int |
row
the row index.
|
ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASKACTION_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| コンストラクタと説明 |
|---|
ListActionEvent(java.lang.Object source,
int id,
java.lang.String command,
java.lang.Object item,
int row,
int column,
boolean buttonPressed)
Constructs a ListActionEvent object with the specified source, id,
command string, item, row index, column index, and the boolean that
indicates the column button is pressed.
|
ListActionEvent(java.lang.Object source,
java.lang.String command,
java.lang.Object item,
int row,
int column)
Constructs a ListActionEvent object with the specified source,
command string, item, row index, and column index.
|
ListActionEvent(java.lang.Object source,
java.lang.String command,
java.lang.Object item,
int row,
int column,
boolean buttonPressed)
Constructs a ListActionEvent object with the specified source,
command string, item, row index, column index, and the boolean that
indicates the column button is pressed.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getColumn()
Returns the column index of this event.
|
java.lang.Object |
getItem()
Returns the item of this event.
|
int |
getRow()
Returns the row index of this event.
|
boolean |
isButtonPressed()
Returns true if the column button is pressed.
|
java.lang.String |
paramString() |
protected java.lang.Object item
protected int row
protected int column
protected boolean buttonPressed
public ListActionEvent(java.lang.Object source,
java.lang.String command,
java.lang.Object item,
int row,
int column)
source - the object where the event originated.command - the command string.item - the item.row - the row index.column - the column index.public ListActionEvent(java.lang.Object source,
java.lang.String command,
java.lang.Object item,
int row,
int column,
boolean buttonPressed)
source - the object where the event originated.command - the command string.item - the item.row - the row index.column - the column index.buttonPressed - the column button is pressed.public ListActionEvent(java.lang.Object source,
int id,
java.lang.String command,
java.lang.Object item,
int row,
int column,
boolean buttonPressed)
source - the object where the event originated.id - the event type.command - the command string.item - the item.row - the row index.column - the column index.buttonPressed - the column button is pressed.public java.lang.Object getItem()
public int getRow()
public int getColumn()
public boolean isButtonPressed()
public java.lang.String paramString()
paramString クラス内 java.awt.event.ActionEvent