|
WUI : API |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.westofj.wui.WEvent org.westofj.wui.table.WTableSelectionEvent
An object capturing that a table selection event has occurred. Table selection events occur when an item in a table is selected or unselected. When an event occurs, the event is captured in an instance of this class. The table then invokes its listeners, passing the selection event instance to the appropriate method.
Field Summary | |
static int |
SELECT
|
static int |
UNSELECT
|
Constructor Summary | |
WTableSelectionEvent(WTable table,
WTableColumn column,
int row,
int event)
Constructs a selection event. |
Method Summary | |
protected void |
fire()
Fires the event. |
WTableColumn |
getColumn()
Returns the column the event applies to. |
int |
getEvent()
Returns the type of event. |
int |
getRow()
Returns the row the event applies to. |
WTable |
getTable()
Returns the source of the event. |
Methods inherited from class org.westofj.wui.WEvent |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SELECT
public static final int UNSELECT
Constructor Detail |
public WTableSelectionEvent(WTable table, WTableColumn column, int row, int event)
table
- the source table of the event.column
- the column of the event.row
- the row of the event.event
- the type of event.Method Detail |
public WTableColumn getColumn()
public int getEvent()
public int getRow()
public WTable getTable()
protected void fire()
WEvent
fire
in class WEvent
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |