|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.topcat.TopcatEvent
public class TopcatEvent
Describes an event which a TopcatListener may be interested in.
| Field Summary | |
|---|---|
static int |
ACTIVATOR
Code indicating that the model's activator has changed. |
static int |
COLUMN
Code indicating that a column has been highlighted or selected in some relevant way. |
static int |
CURRENT_ORDER
Code indicating change in current sort sequence. |
static int |
CURRENT_SUBSET
Code indicating change in current RowSubset. |
static int |
LABEL
Code indicating that the model's label has changed. |
static int |
PARAMETER_VALUE
Code indicating that one of the model's parameter values has changed. |
static int |
PARAMETERS
Code indicating that the model's parameter list has changed. |
static int |
ROW
Code indicating that a row has been highlighted. |
static int |
SHOW_SUBSET
Code indicating that a given RowSubset should be made visible. |
| Constructor Summary | |
|---|---|
TopcatEvent(TopcatModel model,
int code,
Object datum)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getCode()
Gets the numeric code which specifies the type of this event. |
Object |
getDatum()
Gets an additional object further specifying the nature of the event. |
TopcatModel |
getModel()
Gets the model from which this event originated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LABEL
public static final int ACTIVATOR
public static final int PARAMETERS
public static final int PARAMETER_VALUE
public static final int CURRENT_SUBSET
public static final int CURRENT_ORDER
public static final int ROW
Long giving the highlighted row.
public static final int COLUMN
StarTableColumn.
public static final int SHOW_SUBSET
RowSubset.
| Constructor Detail |
|---|
public TopcatEvent(TopcatModel model,
int code,
Object datum)
model - the model which generated this eventcode - one of the numeric codes defined in this class
which describes the nature of the eventdatum - optional datum giving additional information -
this is code-specfic and may be null| Method Detail |
|---|
public TopcatModel getModel()
public int getCode()
public Object getDatum()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||