public class TopcatEvent
extends java.lang.Object
TopcatListener may be interested in.| Modifier and Type | Field | Description |
|---|---|---|
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 | Description |
|---|---|
TopcatEvent(TopcatModel model,
int code,
java.lang.Object datum) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCode() |
Gets the numeric code which specifies the type of this event.
|
java.lang.Object |
getDatum() |
Gets an additional object further specifying the nature of the event.
|
TopcatModel |
getModel() |
Gets the model from which this event originated.
|
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.public TopcatEvent(TopcatModel model, int code, java.lang.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 nullpublic TopcatModel getModel()
public int getCode()
public java.lang.Object getDatum()
Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.