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

Implementation of DParameterChoice to store color selection parameters. More...

#include <DParameterColorChoice.h>

Inheritance diagram for casa::DParameterColorChoice:
casa::DParameterChoice casa::DisplayParameter

List of all members.

Public Member Functions

 DParameterColorChoice (const String name, const String description, const String help, const String context="", const Bool editable=True)
 Constructor takes the name of the parameter, a short description and some help text.
 DParameterColorChoice (const DParameterColorChoice &other)
 Copy constructor using copy semantics.
virtual ~DParameterColorChoice ()
 Destructor.
DParameterColorChoiceoperator= (const DParameterColorChoice &other)
 Copy assignment.

Protected Member Functions

 DParameterColorChoice ()
 (Required) default constructor.

Detailed Description

Implementation of DParameterChoice to store color selection parameters.

Intended use:

Public interface

Prerequisite

Etymology

DParameterColorChoice is an implementation of a DisplayParameter providing a choice parameter type tuned to selecting colors.

Motivation

It is common to have the user select a color for a particular element of the display, hence this class.

Thrown Exceptions

To Do

Definition at line 66 of file DParameterColorChoice.h.


Constructor & Destructor Documentation

casa::DParameterColorChoice::DParameterColorChoice ( const String  name,
const String  description,
const String  help,
const String  context = "",
const Bool  editable = True 
)

Constructor takes the name of the parameter, a short description and some help text.

The context of the parameter, and whether it is editable, can also be given. The default and initial color is always the foreground color.

Copy constructor using copy semantics.

Destructor.

(Required) default constructor.


Member Function Documentation

DParameterColorChoice& casa::DParameterColorChoice::operator= ( const DParameterColorChoice other)

Copy assignment.


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