casa
$Rev:20696$
|
Implementation of DParameterChoice to store color selection parameters. More...
#include <DParameterColorChoice.h>
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. | |
DParameterColorChoice & | operator= (const DParameterColorChoice &other) |
Copy assignment. | |
Protected Member Functions | |
DParameterColorChoice () | |
(Required) default constructor. |
Implementation of DParameterChoice to store color selection parameters.
Public interface
DParameterColorChoice is an implementation of a DisplayParameter providing a choice parameter type tuned to selecting colors.
It is common to have the user select a color for a particular element of the display, hence this class.
Definition at line 66 of file DParameterColorChoice.h.
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.
casa::DParameterColorChoice::DParameterColorChoice | ( | const DParameterColorChoice & | other | ) |
Copy constructor using copy semantics.
virtual casa::DParameterColorChoice::~DParameterColorChoice | ( | ) | [virtual] |
Destructor.
casa::DParameterColorChoice::DParameterColorChoice | ( | ) | [protected] |
(Required) default constructor.
DParameterColorChoice& casa::DParameterColorChoice::operator= | ( | const DParameterColorChoice & | other | ) |
Copy assignment.