Index

DKViewDataDefOD

Purpose:

The DKViewDataDefOD class represents the OnDemand default view objects.

Heirarchy:
dkExtension DKViewDataDefOD

Class summary:

class DKEXPORT DKViewDataDefOD : public dkExtension
 
{  
  public:
  DKViewDataDefOD(const char* name);
  DKViewDataDefOD(DKString  name, DKBoolean ispublic,
                  int       zoom,
                  int       copygroup,
                  int       contrast,
                  int       brightness,
                  char      grayscale,
                  char      backgroundcolor,
                  char      headingcolor,
                  char      selectedareacolor,
                  char      imagecolor,
                  char      imageintensity,
                  char      textfidelity,
                  char      overstrike,
                  DKBoolean lockheaders,
                  int       numlockedfields,
                  int       numldfielddisplayorders);
  DKViewDataDefOD(DKViewDataDefOD& aDKViewDataDefOD);
  ~DKViewDataDefOD();
 
  void setPublic(DKBoolean ispublic);
  DKBoolean isPublic();
  void  setZoom(long z);
  long  getZoom();
  void  setCopyGroup(long copygroup);
  long  getCopyGroup();
  void  setContrast(long contrast);
  long  getContrast();
  void  setBrightness(long brightness);
  long  getBrightness();
  void  setGrayscale(char grayscale);
  char  getGrayscale();
  void  setBackgroundColor(char c);
  char  getBackgroundColor();
  void  setHeadingColor(char c);
  char  getHeadingColor();
  void  setSelectedAreaColor(char c);
  char  getSelectedAreaColor();
  void  setImageColor(char c);
  char  getImageColor();
  void  setImageIntensity(char c);
  char  getImageIntensity();
  void  setTextFidelity(char c);
  char  getTextFidelity();
  void  setOverstrike(char c);
  char  getOverstrike();
  void  setLockHeaderRows(DKBoolean v);
  DKBoolean isLockHeaderRows();
  void  setNumLockedFields(long n);
  long  getNumLockedFields();
  void  setNumLDFieldDisplayOrders(long n);
  long  getNumLDFieldDisplayOrders();
  long  getLDFieldArraySize();
  long* getLDFieldDisplayOrders();
  DKBoolean setLDFieldDisplayOrders(int pos, int value);
 
  };

Members:

Constructors and destructor
  DKViewDataDefOD(const char* name);
DKViewDataDefOD(DKString  name,
                DKBoolean ispublic,
                int       zoom,
                int       copygroup,
                int       contrast,
                int       brightness,
                char      grayscale,
                char      backgroundcolor,
                char      headingcolor,
                char      selectedareacolor,
                char      imagecolor,
                char      imageintensity,
                char      textfidelity,
                char      overstrike,
                DKBoolean lockheaders,
                int       numlockedfields,
                int       numldfielddisplayorders);
DKViewDataDefOD(DKViewDataDefOD& aDKViewDataDefOD);
~DKViewDataDefOD();

Member functions

setPublic
Sets the flag whether to make the view public.
  void setPublic(DKBoolean ispublic);
 
 

isPublic
Finds out if the view is public.
DKBoolean isPublic();
 

setZoom
Sets the zoom factor value.
 void  setZoom(long z);
 

getZoom
Gets the zoom factor value.
 long  getZoom();
 
 

setCopyGroup
Sets the copy group value.
void  setCopyGroup(long copygroup); 

getCopyGroup
Gets the copy group value.
  long  getCopyGroup();
 

setContrast
Sets the contrast value.
  void  setContrast(long contrast);
 

getContrast
Gets the contrast value.
 long  getContrast();
 
 

setBrightness
Sets the brightness value.
void  setBrightness(long brightness);
 
 

getBrightness
Gets the brightness value.
 long  getBrightness();
 
 

setGrayscale
Sets the gray scale value.
 

Valid values are:
S -- scale gray scale C -- color gray scale void setGrayscale(char grayscale);

getGrayscale
Gets the gray scale value.
 char  getGrayscale();
 

getContrast
Gets the contrast value.
 long  getContrast();
 
 

setBackgroundColor
Gets the contrast value.
Sets the background color. 

Valid values are:
W -- white B -- black R -- red L -- blue G -- green Y -- yellow M -- magenta C -- cyan 0 -- grey X -- green bar D -- default N -- none void setBackgroundColor(char c);

getBackgroundColor
Gets the background color.
 char  getBackgroundColor();
 

setHeadingColor
Sets the heading color.

Valid values are:
W -- white B -- black R -- red L -- blue G -- green Y -- yellow M -- magenta C -- cyan 0 -- grey D -- default N -- none void setHeadingColor(char c);

getHeadingColor
Gets the heading color.
char  getHeadingColor();
 

setSelectedAreaColor
Sets the color for the selected area.
 

Valid values are:
W -- white B -- black R -- red L -- blue G -- green Y -- yellow M -- magenta C -- cyan 0 -- grey D -- default N -- none void setSelectedAreaColor(char c);

getSelectedAreaColor
Gets the color for the selected area.
char  getSelectedAreaColor();
 

setImageColor
Sets the image color.

Valid values are:
W -- white B -- black R -- red L -- blue G -- green Y -- yellow M -- magenta C -- cyan 0 -- grey D -- default N -- none void setImageColor(char c);

getImageColor
Gets the image color..
char  getImageColor(); 

setImageIntensity
Sets the image intensity value.

Valid values are:
M -- normal intensity L -- light intensity N -- none (no image) void setImageIntensity(char c);

setTextFidelity
Sets the text fidelity value.

Valid values are:
L -- line W -- word C -- char D -- draft 2 -- 240 pel (pixel) fonts use only void setTextFidelity(char c);

getTextFidelity
Gets the text fidelity value.
char  getTextFidelity(); 

setOverstrike
Sets the overstrike value.
 

Valid values are:
S -- separate M -- merge F -- full void setOverstrike(char c);

getOverstrike
Gets the overstrike value.
char  getOverstrike();
 

setLockHeaderRows
Sets the flag whether to lock the header rows.
void  setLockHeaderRows(DKBoolean v); 

isLockHeaderRows
Find out if the header rows are locked.
DKBoolean isLockHeaderRows(); 

setNumLockedFields
Sets the number of locked fields.
void  setNumLockedFields(long n); 

getNumLockedFields
Gets the number of locked fields.
long  getNumLockedFields();

setNumLDFieldDisplayOrders
Sets the number of line data field display orders.
void  setNumLDFieldDisplayOrders(long n);
 

getNumLDFieldDisplayOrders
Gets the number of line data field display orders.
long  getNumLDFieldDisplayOrders();
 

getLDFieldArraySize
Gets the line data field array size.
long  getLDFieldArraySize(); 

getLDFieldDisplayOrders
Gets the line data field display orders.
long* getLDFieldDisplayOrders(); 

setLDFieldDisplayOrders
Sets the line data field display order.
DKBoolean setLDFieldDisplayOrders(int pos, int value);
 

(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.