Activator
UrlColumnConfigurator.UrlColumnActivator
protected abstract static class UrlColumnConfigurator.LocationColumnActivator extends java.lang.Object implements Activator
Modifier | Constructor | Description |
---|---|---|
protected |
LocationColumnActivator(uk.ac.starlink.table.ColumnData cdata,
boolean invokeOnEdt) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract Outcome |
activateLocation(java.lang.String loc,
long lrow) |
Consumes the location string corresponding to the row
to perform the activation action.
|
Outcome |
activateRow(long lrow,
ActivationMeta meta) |
Invokes some kind of action on the table row indicated by a given index.
|
boolean |
invokeOnEdt() |
Indicates how this activator's
activateRow method
should be executed. |
protected LocationColumnActivator(uk.ac.starlink.table.ColumnData cdata, boolean invokeOnEdt)
cdata
- column data containing location stringsinvokeOnEdt
- whether to invoke on the EDTpublic Outcome activateRow(long lrow, ActivationMeta meta)
Activator
activateRow
in interface Activator
lrow
- row indexmeta
- additional activation metadata if available;
may be null if no special information is availablepublic boolean invokeOnEdt()
Activator
activateRow
method
should be executed.
If true, it is intended to be invoked synchronously
on the Event Dispatch Thread.
If false, it is intended to be invoked asynchronously
on some less time-critical thread.
False should be returned if this activator may be time-consuming.invokeOnEdt
in interface Activator
protected abstract Outcome activateLocation(java.lang.String loc, long lrow)
loc
- location string, not null or blanklrow
- row indexCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.