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.

Public Member Functions

virtual void setAxisLabel (PlotAxis axis, const String &title)=0
 Set a new plot axis label.
virtual void setDateFormat (const String &dateFormat)=0
 New format for displaying dates.
virtual void setRelativeDateFormat (const String &dateFormat)=0
 New format for displaying dates based off a given start position.
virtual void setAxisScale (PlotAxis axis, PlotAxisScale scale)=0
 Set a new scale for the plot axis (logarithmic, etc).
virtual void setAxisReferenceValue (PlotAxis axis, bool on, double value)=0
 Set a starting value for an axis using a relative scale.
virtual void setAxisFont (PlotAxis axis, const PlotFont &font)=0
 Set a font for use on an axis.
virtual ~AxisListener ()
 AxisListener ()

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]

Definition at line 76 of file AxisListener.h.

casa::AxisListener::AxisListener (  )  [inline]

Definition at line 77 of file AxisListener.h.


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.
virtual void casa::AxisListener::setAxisScale ( PlotAxis  axis,
PlotAxisScale  scale 
) [pure virtual]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1