public class TopcatEvent extends Object
TopcatListener may be interested in.| Modifier and Type | Field and Description | 
|---|---|
| static int | ACTIVATORCode indicating that the model's activator has changed. | 
| static int | COLUMNCode indicating that a column has been highlighted or selected in
 some relevant way. | 
| static int | CURRENT_ORDERCode indicating change in current sort sequence. | 
| static int | CURRENT_SUBSETCode indicating change in current RowSubset. | 
| static int | LABELCode indicating that the model's label has changed. | 
| static int | PARAMETER_VALUECode indicating that one of the model's parameter values has changed. | 
| static int | PARAMETERSCode indicating that the model's parameter list has changed. | 
| static int | ROWCode indicating that a row has been highlighted. | 
| static int | SHOW_SUBSETCode 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.