|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlotController
An interface for interacting with a PlotConfigurator. This defines methods that make requests for the current PlotConfiguration to be applied, for a optional colour to be used for the background and for access to the current Frame used by the Plot (so that values can be formatted correctly for the axes being used, RA/Dec etc.).
Plot
,
PlotConfigurator
,
PlotConfiguration
Method Summary | |
---|---|
Color |
getPlotColour()
Get the current colour of the Component that contains the Plot. |
Frame |
getPlotCurrentFrame()
Return a reference to the current Frame that is used
when creating the controlled Plot s. |
void |
setPlotColour(Color color)
Apply a colour to the Component that contains the Plot. |
void |
updatePlot()
Apply the current PlotConfiguration object state to the Plot. |
Method Detail |
---|
void updatePlot()
PlotConfiguration.getAst
method.
void setPlotColour(Color color)
ComponentColourControls
instances are used,
otherwise the implementation may do nothing.
Color getPlotColour()
ComponentColourControls
instances are used,
otherwise the implementation may do nothing.
Frame getPlotCurrentFrame()
Frame
that is used
when creating the controlled Plot
s. This is used for
formatting and unformatting data values in a way that is
natural for the Plot axes (i.e. can be used to enter RA and Dec
values as dd:hh:ss.ss). A FrameSet
can be returned
(which could be the Plot if it is guaranteed to be always
available), in which case the current Frame of that will be used.
Note this may never return a null, if this may be the case then consider using a different Frame/FrameSet (i.e. the one read from the original dataset).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |