public static class BinSizer.BinSizerSpecifier extends SpecifierPanel<BinSizer>
Modifier and Type | Method and Description |
---|---|
protected JComponent |
createComponent()
Abstract method called lazily during
getComponent
to obtain the graphical component used by this specifier. |
BinSizer |
getSpecifiedValue()
Returns the typed value currently specified by the graphical component.
|
void |
setSpecifiedValue(BinSizer sizer)
Sets the typed value represented by the graphical component.
|
void |
submitReport(ReportMap report)
Accepts information about a completed plot that was drawn with
input from this specifier.
|
addActionListener, fireAction, getActionForwarder, getChangeForwarder, getComponent, isXFill, removeActionListener
protected JComponent createComponent()
SpecifierPanel
getComponent
to obtain the graphical component used by this specifier.
It will be called a maximum of once. It is not necessary that
the component actually be created in this method, for instance
it may be created at construction time if that's more convenient.createComponent
in class SpecifierPanel<BinSizer>
public BinSizer getSpecifiedValue()
Specifier
public void setSpecifiedValue(BinSizer sizer)
Specifier
getSpecifiedValue
should yield the same result.
However if a value is set which is of the correct type but cannot be represented by this specifier, results are unpredictable.
sizer
- new valuepublic void submitReport(ReportMap report)
Specifier
report
- report of a plot partially specified by this objectCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.