public class TimeAxisController extends CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.TimeAspect>
Constructor and Description |
---|
TimeAxisController()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
clearRange(uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile oldProfile,
uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.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.TimeSurfaceFactory.Profile prof1,
uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile prof2)
Indicates whether the scaling has changed to or from logarithmic
for any of the cartesian axes between two profiles.
|
addLabelsTab, configureForLayers, forceClearRange, getLabelSpecifier, logChanged
addActionListener, addAspectConfigTab, addControl, addNavigatorTab, assertHasKeys, clearAspect, getActionForwarder, getAspect, getConfig, getControls, getMainControl, getNavigator, getRanges, getSurfaceFactory, removeActionListener, setAspect, setLatestSurface, setRanges, submitReports, updateState
protected boolean logChanged(uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile prof1, uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile prof2)
CartesianAxisController
logChanged
in class CartesianAxisController<uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.TimeAspect>
prof1
- first profileprof2
- second profileprotected boolean clearRange(uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.Profile oldProfile, uk.ac.starlink.ttools.plot2.geom.TimeSurfaceFactory.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.TimeSurfaceFactory.Profile,uk.ac.starlink.ttools.plot2.geom.TimeAspect>
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 toCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.