public class AutoSpecifier<T>
extends uk.ac.starlink.ttools.plot2.config.SpecifierPanel<T>
Constructor and Description |
---|
AutoSpecifier(uk.ac.starlink.ttools.plot2.config.Specifier<T> base)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected JComponent |
createComponent() |
T |
getAutoValue()
Returns the value that will be returend when the auto button is on.
|
T |
getSpecifiedValue() |
boolean |
isAuto()
Indicates whether the auto button is on or off.
|
void |
setAuto(boolean isAuto)
Sets whether the auto button is on or off.
|
void |
setAutoValue(T autoValue)
Sets the value specified when the auto button is on.
|
void |
setSpecifiedValue(T value) |
void |
submitReport(uk.ac.starlink.ttools.plot2.ReportMap report) |
public AutoSpecifier(uk.ac.starlink.ttools.plot2.config.Specifier<T> base)
base
- base specifierprotected JComponent createComponent()
createComponent
in class uk.ac.starlink.ttools.plot2.config.SpecifierPanel<T>
public void setAutoValue(T autoValue)
autoValue
- new auto valuepublic T getAutoValue()
public void setAuto(boolean isAuto)
isAuto
- true for automatic valuespublic boolean isAuto()
public T getSpecifiedValue()
public void setSpecifiedValue(T value)
public void submitReport(uk.ac.starlink.ttools.plot2.ReportMap report)
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.