public abstract class SpecialDefault<T> extends Object
Modifier and Type | Field and Description |
---|---|
static SpecialDefault<Integer> |
SIZE
Defaults marker size depending on table row count.
|
Modifier | Constructor and Description |
---|---|
protected |
SpecialDefault(uk.ac.starlink.ttools.plot2.config.ConfigKey<T> key)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract T |
getDefaultValue(TopcatModel tcModel)
Returns the default value to apply to this object's config item.
|
uk.ac.starlink.ttools.plot2.config.ConfigKey<T> |
getKey()
Returns the config item for which this object operates.
|
public static final SpecialDefault<Integer> SIZE
protected SpecialDefault(uk.ac.starlink.ttools.plot2.config.ConfigKey<T> key)
key
- config item for which this object operatespublic uk.ac.starlink.ttools.plot2.config.ConfigKey<T> getKey()
public abstract T getDefaultValue(TopcatModel tcModel)
tcModel
- tableCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.