Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Widgets/vtkKWTkOptions.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWTkOptions.h,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00021 #ifndef __vtkKWTkOptions_h
00022 #define __vtkKWTkOptions_h
00023 
00024 #include "vtkObject.h"
00025 #include "vtkKWWidgets.h" // Needed for export symbols directives
00026 
00027 class KWWIDGETS_EXPORT vtkKWTkOptions : public vtkObject
00028 {
00029 public:
00030   static vtkKWTkOptions* New();
00031   vtkTypeRevisionMacro(vtkKWTkOptions,vtkObject);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033 
00036   static const char* GetCharacterEncodingAsTclOptionValue(int);
00037 
00039 
00042   enum AnchorType
00043   {
00044     AnchorNorth = 0,
00045     AnchorNorthEast,
00046     AnchorEast,
00047     AnchorSouthEast,
00048     AnchorSouth,
00049     AnchorSouthWest,
00050     AnchorWest,
00051     AnchorNorthWest,
00052     AnchorCenter,
00053     AnchorUnknown
00054   };
00055   //ETX
00056   static const char* GetAnchorAsTkOptionValue(int);
00057   static int GetAnchorFromTkOptionValue(const char *);
00059 
00061 
00064   enum ReliefType
00065   {
00066     ReliefRaised = 0,
00067     ReliefSunken,
00068     ReliefFlat,
00069     ReliefRidge,
00070     ReliefSolid,
00071     ReliefGroove,
00072     ReliefUnknown
00073   };
00074   //ETX
00075   static const char* GetReliefAsTkOptionValue(int);
00076   static int GetReliefFromTkOptionValue(const char *);
00078 
00080 
00084   enum JustificationType
00085   {
00086     JustificationLeft = 0,
00087     JustificationCenter,
00088     JustificationRight,
00089     JustificationUnknown
00090   };
00091   //ETX
00092   static const char* GetJustificationAsTkOptionValue(int);
00093   static int GetJustificationFromTkOptionValue(const char *);
00095 
00097 
00098   enum SelectionModeType
00099   {
00100     SelectionModeSingle = 0,
00101     SelectionModeBrowse,
00102     SelectionModeMultiple,
00103     SelectionModeExtended,
00104     SelectionModeUnknown
00105   };
00106   //ETX
00107   static const char* GetSelectionModeAsTkOptionValue(int);
00108   static int GetSelectionModeFromTkOptionValue(const char *);
00110 
00112 
00116   enum OrientationType
00117   {
00118     OrientationHorizontal = 0,
00119     OrientationVertical,
00120     OrientationUnknown
00121   };
00122   //ETX
00123   static const char* GetOrientationAsTkOptionValue(int);
00124   static int GetOrientationFromTkOptionValue(const char *);
00126 
00128 
00129   enum StateType
00130   {
00131     StateDisabled = 0,
00132     StateNormal = 1,
00133     StateActive = 2,
00134     StateReadOnly = 3,
00135     StateUnknown
00136   };
00137   //ETX
00138   static const char* GetStateAsTkOptionValue(int);
00139   static int GetStateFromTkOptionValue(const char *);
00141 
00142 protected:
00143   vtkKWTkOptions() {};
00144   ~vtkKWTkOptions() {};
00145 
00146 private:
00147   
00148   vtkKWTkOptions(const vtkKWTkOptions&); // Not implemented
00149   void operator=(const vtkKWTkOptions&); // Not implemented
00150 };
00151 
00152 #endif

Generated on Tue May 30 12:31:44 2006 for ParaView by doxygen 1.3.5