public class TopcatEvent extends Object
TopcatListener
may be interested in.Modifier and Type | Field and 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 and Description |
---|
TopcatEvent(TopcatModel model,
int code,
Object datum)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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,
or null if activation status is being cleared.public static final int COLUMN
StarTableColumn
.public static final int SHOW_SUBSET
RowSubset
.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 nullpublic TopcatModel getModel()
public int getCode()
public Object getDatum()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.