public class HistogramAxisController extends CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.PlaneAspect>
Modifier and Type | Field and Description |
---|---|
static uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory |
HISTOGRAM_SURFACE_FACTORY |
Constructor and Description |
---|
HistogramAxisController()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
clearRange(uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile oldProfile,
uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile newProfile,
uk.ac.starlink.ttools.plot2.PlotLayer[] oldLayers,
uk.ac.starlink.ttools.plot2.PlotLayer[] newLayers,
boolean lock)
Indicates whether a new configuration should result in clearing
the current ranges and plot aspect.
|
protected boolean |
logChanged(uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile prof1,
uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile prof2)
Indicates whether the scaling has changed to or from logarithmic
for any of the cartesian axes between two profiles.
|
void |
submitReports(Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports)
Accepts report information generated by plotting layers.
|
addLabelsTab, configureForLayers, forceClearRange, getLabelSpecifier, logChanged
addActionListener, addAspectConfigTab, addControl, addNavigatorTab, assertHasKeys, clearAspect, getActionForwarder, getAspect, getConfig, getControls, getMainControl, getNavigator, getRanges, getSurfaceFactory, removeActionListener, setAspect, setLatestSurface, setRanges, updateState
public static uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory HISTOGRAM_SURFACE_FACTORY
protected boolean logChanged(uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile prof1, uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile prof2)
CartesianAxisController
logChanged
in class CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.PlaneAspect>
prof1
- first profileprof2
- second profileprotected boolean clearRange(uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile oldProfile, uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile newProfile, uk.ac.starlink.ttools.plot2.PlotLayer[] oldLayers, uk.ac.starlink.ttools.plot2.PlotLayer[] newLayers, boolean lock)
AxisController
clearRange
in class AxisController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.PlaneAspect>
oldProfile
- profile for last plotnewProfile
- profile for next plotoldLayers
- layer set for last plotnewLayers
- layer set for next plotlock
- whether re-ranging is inhibited;
normally, if lock
is true this
method should return false, but the implementation
can overrule this and return true even when locked
if it needs topublic void submitReports(Map<LayerId,uk.ac.starlink.ttools.plot2.ReportMap> reports)
AxisController
The default implementation does nothing, but subclasses may override it to enquire about plot results.
submitReports
in class AxisController<uk.ac.starlink.ttools.plot2.geom.PlaneSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.PlaneAspect>
reports
- per-layer plot reports for layers generated
by the most recent plotCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.