vtkKWOptions Class Reference

set of common options. More...

#include <vtkKWOptions.h>

Inheritance diagram for vtkKWOptions:
Inheritance graph
[legend]
Collaboration diagram for vtkKWOptions:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkKWOptionsNew ()
static int IsTypeOf (const char *type)
static vtkKWOptionsSafeDownCast (vtkObject *o)
static const char * GetCharacterEncodingAsTclOptionValue (int)

Protected Member Functions

 vtkKWOptions ()
 ~vtkKWOptions ()



enum  AnchorType {
  AnchorNorth = 0, AnchorNorthEast, AnchorEast, AnchorSouthEast,
  AnchorSouth, AnchorSouthWest, AnchorWest, AnchorNorthWest,
  AnchorCenter, AnchorUnknown
}
enum  ReliefType {
  ReliefRaised = 0, ReliefSunken, ReliefFlat, ReliefRidge,
  ReliefSolid, ReliefGroove, ReliefUnknown
}
enum  JustificationType { JustificationLeft = 0, JustificationCenter, JustificationRight, JustificationUnknown }
enum  SelectionModeType {
  SelectionModeSingle = 0, SelectionModeBrowse, SelectionModeMultiple, SelectionModeExtended,
  SelectionModeUnknown
}
enum  OrientationType { OrientationHorizontal = 0, OrientationVertical, OrientationUnknown }
enum  StateType {
  StateDisabled = 0, StateNormal = 1, StateActive = 2, StateReadOnly = 3,
  StateUnknown
}
enum  CompoundModeType {
  CompoundModeNone = 0, CompoundModeLeft, CompoundModeCenter, CompoundModeRight,
  CompoundModeTop, CompoundModeBottom, CompoundModeUnknown
}
static const char * GetAnchorAsTkOptionValue (int)
static int GetAnchorFromTkOptionValue (const char *)
static const char * GetReliefAsTkOptionValue (int)
static int GetReliefFromTkOptionValue (const char *)
static const char * GetJustificationAsTkOptionValue (int)
static int GetJustificationFromTkOptionValue (const char *)
static const char * GetSelectionModeAsTkOptionValue (int)
static int GetSelectionModeFromTkOptionValue (const char *)
static const char * GetOrientationAsTkOptionValue (int)
static int GetOrientationFromTkOptionValue (const char *)
static const char * GetStateAsTkOptionValue (int)
static int GetStateFromTkOptionValue (const char *)
static const char * GetCompoundModeAsTkOptionValue (int)
static int GetCompoundModeFromTkOptionValue (const char *)

Detailed Description

set of common options.

This class also provides some conversion betweek vtkKWWidget constants and the corresponding Tk options.

Definition at line 27 of file vtkKWOptions.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 32 of file vtkKWOptions.h.


Member Enumeration Documentation

Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

Enumerator:
AnchorNorth 
AnchorNorthEast 
AnchorEast 
AnchorSouthEast 
AnchorSouth 
AnchorSouthWest 
AnchorWest 
AnchorNorthWest 
AnchorCenter 
AnchorUnknown 

Definition at line 38 of file vtkKWOptions.h.

Specifies the 3-D effect desired for the widget. The value indicates how the interior of the widget should appear relative to its exterior. BTX

Enumerator:
ReliefRaised 
ReliefSunken 
ReliefFlat 
ReliefRidge 
ReliefSolid 
ReliefGroove 
ReliefUnknown 

Definition at line 58 of file vtkKWOptions.h.

When there are multiple lines of text displayed in a widget, determines how the lines line up with each other. BTX

Enumerator:
JustificationLeft 
JustificationCenter 
JustificationRight 
JustificationUnknown 

Definition at line 74 of file vtkKWOptions.h.

Specifies one of several styles for manipulating the selection. BTX

Enumerator:
SelectionModeSingle 
SelectionModeBrowse 
SelectionModeMultiple 
SelectionModeExtended 
SelectionModeUnknown 

Definition at line 86 of file vtkKWOptions.h.

For widgets that can lay themselves out with either a horizontal or vertical orientation, such as scales or scrollbars, specifies which orientation should be used. BTX

Enumerator:
OrientationHorizontal 
OrientationVertical 
OrientationUnknown 

Definition at line 101 of file vtkKWOptions.h.

Specifies the state of a widget. BTX

Enumerator:
StateDisabled 
StateNormal 
StateActive 
StateReadOnly 
StateUnknown 

Definition at line 112 of file vtkKWOptions.h.

Specifies if the widget should display text and bitmaps/images at the same time, and if so, where the bitmap/image should be placed relative to the text. BTX

Enumerator:
CompoundModeNone 
CompoundModeLeft 
CompoundModeCenter 
CompoundModeRight 
CompoundModeTop 
CompoundModeBottom 
CompoundModeUnknown 

Definition at line 127 of file vtkKWOptions.h.


Constructor & Destructor Documentation

vtkKWOptions::vtkKWOptions (  )  [inline, protected]

Definition at line 191 of file vtkKWOptions.h.

vtkKWOptions::~vtkKWOptions (  )  [inline, protected]

Definition at line 192 of file vtkKWOptions.h.


Member Function Documentation

static vtkKWOptions* vtkKWOptions::New (  )  [static]

Reimplemented from vtkObject.

virtual const char* vtkKWOptions::GetClassName (  )  [virtual]

Reimplemented from vtkObject.

static int vtkKWOptions::IsTypeOf ( const char *  type  )  [static]

Reimplemented from vtkObject.

virtual int vtkKWOptions::IsA ( const char *  type  )  [virtual]

Reimplemented from vtkObject.

static vtkKWOptions* vtkKWOptions::SafeDownCast ( vtkObject o  )  [static]
void vtkKWOptions::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkObject.

static const char* vtkKWOptions::GetCharacterEncodingAsTclOptionValue ( int   )  [static]

Return the Tcl value for a given encoding constant Check vtkSystemIncludes for a list of valid encodings.

static const char* vtkKWOptions::GetAnchorAsTkOptionValue ( int   )  [static]

Return the Tk value for a given anchor constant, and vice-versa

static int vtkKWOptions::GetAnchorFromTkOptionValue ( const char *   )  [static]

Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

static const char* vtkKWOptions::GetReliefAsTkOptionValue ( int   )  [static]

Return the Tk value for a given relief constant, and vice-versa

static int vtkKWOptions::GetReliefFromTkOptionValue ( const char *   )  [static]

Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

static const char* vtkKWOptions::GetJustificationAsTkOptionValue ( int   )  [static]

Return the Tk value for a given justification constant, and vice-versa.

static int vtkKWOptions::GetJustificationFromTkOptionValue ( const char *   )  [static]

Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

static const char* vtkKWOptions::GetSelectionModeAsTkOptionValue ( int   )  [static]

Return the Tk value for a given selection mode constant, and vice-versa.

static int vtkKWOptions::GetSelectionModeFromTkOptionValue ( const char *   )  [static]

Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

static const char* vtkKWOptions::GetOrientationAsTkOptionValue ( int   )  [static]

Return the Tk value for a given orientation constant, and vice-versa.

static int vtkKWOptions::GetOrientationFromTkOptionValue ( const char *   )  [static]

Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

static const char* vtkKWOptions::GetStateAsTkOptionValue ( int   )  [static]

Return the Tk value for a given state constant, and vice-versa.

static int vtkKWOptions::GetStateFromTkOptionValue ( const char *   )  [static]

Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX

static const char* vtkKWOptions::GetCompoundModeAsTkOptionValue ( int   )  [static]

Return the Tk value for a given compound constant, and vice-versa.

static int vtkKWOptions::GetCompoundModeFromTkOptionValue ( const char *   )  [static]

Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. BTX


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Apr 27 02:36:08 2010 for KWWidgets by  doxygen 1.6.1