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

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

#include <DParameterFontChoice.h>

Inheritance diagram for casa::DParameterFontChoice:
casa::DParameterChoice casa::DisplayParameter

List of all members.

Public Member Functions

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

Protected Member Functions

 DParameterFontChoice ()
 (Required) default constructor.

Detailed Description

Implementation of DParameterChoice to store font selection parameters.

Intended use:

Public interface

Prerequisite

Etymology

DParameterFontChoice is an implementation of a DisplayParameter providing a choice parameter type tuned to selecting fonts.

Motivation

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

Synopsis

This class is basically a placeholder for several different representations of fonts. Currently avaiable fonts are hard-coded into this class. The class holds three representations - Their 'name', X-windows font description and post script font name. This class can be used in conjustion with DLFont to set the font on a number of different pixel canvases.

Thrown Exceptions

To Do

Definition at line 75 of file DParameterFontChoice.h.


Constructor & Destructor Documentation

casa::DParameterFontChoice::DParameterFontChoice ( const String  name,
const String  description,
const String  help,
const String  context = "" 
)

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.

Copy constructor using copy semantics.

Destructor.

(Required) default constructor.


Member Function Documentation

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

Copy assignment.


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