casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::PlotWidget Class Reference

Abstract superclass for any widget that goes on a PlotPanel. More...

#include <PlotPanel.h>

Inheritance diagram for casa::PlotWidget:
casa::PlotButton casa::PlotCheckbox

List of all members.

Public Member Functions

 PlotWidget ()
 Constructor.
virtual ~PlotWidget ()
 Destructor.
virtual bool isEnabled () const =0
 Returns true if the widget is currently enabled, false otherwise.
virtual void setEnabled (bool enabled=true)=0
 Enables/disables the widget.
virtual bool isVisible () const =0
 Returns true if the widget is currently visible.
virtual void setVisible (bool visible=true)=0
 Show/hide the widget.
virtual String tooltip () const =0
 Returns the tooltip for this widget.
virtual void setTooltip (const String &text)=0
 Sets the tooltip for this widget.

Detailed Description

Abstract superclass for any widget that goes on a PlotPanel.

Definition at line 37 of file PlotPanel.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 40 of file PlotPanel.h.

virtual casa::PlotWidget::~PlotWidget ( ) [inline, virtual]

Destructor.

Definition at line 43 of file PlotPanel.h.


Member Function Documentation

virtual bool casa::PlotWidget::isEnabled ( ) const [pure virtual]

Returns true if the widget is currently enabled, false otherwise.

A widget button should be grayed out or not interact-able.

virtual bool casa::PlotWidget::isVisible ( ) const [pure virtual]

Returns true if the widget is currently visible.

virtual void casa::PlotWidget::setEnabled ( bool  enabled = true) [pure virtual]

Enables/disables the widget.

virtual void casa::PlotWidget::setTooltip ( const String text) [pure virtual]

Sets the tooltip for this widget.

virtual void casa::PlotWidget::setVisible ( bool  visible = true) [pure virtual]

Show/hide the widget.

virtual String casa::PlotWidget::tooltip ( ) const [pure virtual]

Returns the tooltip for this widget.


The documentation for this class was generated from the following file: