casa::AxisListener Class Reference
Interface implemented by classes wanting to receive notice when a plot property changes.
More...
#include <AxisListener.h>
List of all members.
Detailed Description
Interface implemented by classes wanting to receive notice when a plot property changes.
Definition at line 39 of file AxisListener.h.
Constructor & Destructor Documentation
virtual casa::AxisListener::~AxisListener |
( |
|
) |
[inline, virtual] |
casa::AxisListener::AxisListener |
( |
|
) |
[inline] |
Member Function Documentation
virtual void casa::AxisListener::setAxisFont |
( |
PlotAxis |
axis, |
|
|
const PlotFont & |
font | |
|
) |
| | [pure virtual] |
Set a font for use on an axis.
- Parameters:
-
| axis,the | PlotAxis to which the font applies. |
| font,the | font to use when drawing tick labels and axis labels. |
virtual void casa::AxisListener::setAxisLabel |
( |
PlotAxis |
axis, |
|
|
const String & |
title | |
|
) |
| | [pure virtual] |
Set a new plot axis label.
- Parameters:
-
| axis | the axis where the label change is ocurring. |
| title | the new label for the axis. |
virtual void casa::AxisListener::setAxisReferenceValue |
( |
PlotAxis |
axis, |
|
|
bool |
on, |
|
|
double |
value | |
|
) |
| | [pure virtual] |
Set a starting value for an axis using a relative scale.
- Parameters:
-
| axis,the | PlotAxis to which the base scale applies. |
| on,whether | it should be used. |
| value,the | starting value for the relative scale. |
Set a new scale for the plot axis (logarithmic, etc).
- Parameters:
-
| axis,the | PlotAxis to which the scale applies. |
| scale,the | new scale (linear, logarithmic, etc). |
virtual void casa::AxisListener::setDateFormat |
( |
const String & |
dateFormat |
) |
[pure virtual] |
New format for displaying dates.
- Parameters:
-
| dateFormat | the new format to use for displaying dates. |
virtual void casa::AxisListener::setRelativeDateFormat |
( |
const String & |
dateFormat |
) |
[pure virtual] |
New format for displaying dates based off a given start position.
- Parameters:
-
| dateFormat | the new format for displaying relative dates. |
The documentation for this class was generated from the following file: