vtkKWEntry Class Reference

a single line text entry widget More...

#include <vtkKWEntry.h>

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

List of all members.

Public Types

typedef vtkKWCoreWidget Superclass

Public Member Functions

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

Static Public Member Functions

static vtkKWEntryNew ()
static int IsTypeOf (const char *type)
static vtkKWEntrySafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWEntry ()
 ~vtkKWEntry ()
virtual void CreateWidget ()

Protected Attributes

int Width
int ReadOnly
int RestrictValue
int CommandTrigger
int SelectAllOnFocusIn
char * Command
char * ValidationCommand



enum  { RestrictNone = 0, RestrictInteger, RestrictDouble, RestrictHexadecimal }
enum  { TriggerOnFocusOut = 1, TriggerOnReturnKey = 2, TriggerOnAnyChange = 4 }
enum  { EntryValueChangedEvent = 10000 }
virtual void SetValue (const char *)
virtual const char * GetValue ()
virtual void SetValueAsInt (int a)
virtual int GetValueAsInt ()
virtual void SetValueAsFormattedDouble (double f, int size)
virtual void SetValueAsDouble (double f)
virtual double GetValueAsDouble ()
virtual void SetHexadecimalValueAsRGB (int r, int g, int b)
virtual void GetHexadecimalValueAsRGB (int &r, int &g, int &b)
virtual void SetWidth (int width)
virtual int GetWidth ()
virtual void SetReadOnly (int)
virtual void ReadOnlyOn ()
virtual void ReadOnlyOff ()
virtual int GetReadOnly ()
virtual void PasswordModeOn ()
virtual void PasswordModeOff ()
virtual void SetPasswordMode (int)
virtual int GetPasswordMode ()
virtual void SelectAllOnFocusInOn ()
virtual void SelectAllOnFocusInOff ()
virtual void SetSelectAllOnFocusIn (int)
virtual int GetSelectAllOnFocusIn ()
virtual int GetRestrictValue ()
virtual void SetRestrictValue (int)
virtual void SetRestrictValueToInteger ()
virtual void SetRestrictValueToDouble ()
virtual void SetRestrictValueToHexadecimal ()
virtual void SetRestrictValueToNone ()
virtual void SetValidationCommand (vtkObject *object, const char *method)
virtual int InvokeValidationCommand (const char *value)
virtual void GetBackgroundColor (double *r, double *g, double *b)
virtual double * GetBackgroundColor ()
virtual void SetBackgroundColor (double r, double g, double b)
virtual void SetBackgroundColor (double rgb[3])
virtual void GetForegroundColor (double *r, double *g, double *b)
virtual double * GetForegroundColor ()
virtual void SetForegroundColor (double r, double g, double b)
virtual void SetForegroundColor (double rgb[3])
virtual void GetDisabledBackgroundColor (double *r, double *g, double *b)
virtual double * GetDisabledBackgroundColor ()
virtual void SetDisabledBackgroundColor (double r, double g, double b)
virtual void SetDisabledBackgroundColor (double rgb[3])
virtual void GetDisabledForegroundColor (double *r, double *g, double *b)
virtual double * GetDisabledForegroundColor ()
virtual void SetDisabledForegroundColor (double r, double g, double b)
virtual void SetDisabledForegroundColor (double rgb[3])
virtual void GetReadOnlyBackgroundColor (double *r, double *g, double *b)
virtual double * GetReadOnlyBackgroundColor ()
virtual void SetReadOnlyBackgroundColor (double r, double g, double b)
virtual void SetReadOnlyBackgroundColor (double rgb[3])
virtual void SetHighlightThickness (int)
virtual int GetHighlightThickness ()
virtual void SetBorderWidth (int)
virtual int GetBorderWidth ()
virtual void SetRelief (int)
virtual int GetRelief ()
virtual void SetReliefToRaised ()
virtual void SetReliefToSunken ()
virtual void SetReliefToFlat ()
virtual void SetReliefToRidge ()
virtual void SetReliefToSolid ()
virtual void SetReliefToGroove ()
virtual void SetFont (const char *font)
virtual const char * GetFont ()
virtual void SetCommand (vtkObject *object, const char *method)
virtual void InvokeCommand (const char *value)
virtual int GetCommandTrigger ()
virtual void SetCommandTrigger (int)
virtual void SetCommandTriggerToReturnKeyAndFocusOut ()
virtual void SetCommandTriggerToAnyChange ()
virtual void ValueCallback ()
virtual int ValidationCallback (const char *value)
virtual void TracedVariableChangedCallback (const char *, const char *, const char *)
virtual void Configure ()
virtual void ConfigureValidation ()
virtual void ConfigureTraceCallback (int state)

Detailed Description

a single line text entry widget

A simple widget used for collecting keyboard input from the user. This widget provides support for single line input.

Events:
vtkKWEntry::EntryValueChangedEvent

Definition at line 29 of file vtkKWEntry.h.


Member Typedef Documentation

Reimplemented from vtkKWCoreWidget.

Reimplemented in vtkKWComboBox.

Definition at line 34 of file vtkKWEntry.h.


Member Enumeration Documentation

anonymous enum

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

Enumerator:
RestrictNone 
RestrictInteger 
RestrictDouble 
RestrictHexadecimal 

Definition at line 110 of file vtkKWEntry.h.

anonymous enum

Specify when Command should be invoked. Default to losing focus and return key. BTX

Enumerator:
TriggerOnFocusOut 
TriggerOnReturnKey 
TriggerOnAnyChange 

Definition at line 247 of file vtkKWEntry.h.

anonymous enum

Events. The EntryValueChangedEvent is triggered when the widget value is changed. It is similar in concept to the 'Command' callback but can be used by multiple listeners/observers at a time. Important: since there is no way to robustly find out when the user is done inputing characters in the text entry, the EntryValueChangedEvent event is also generated when <Return> is pressed, or the entry widget is losing focus (i.e. the user clicked outside the text field). The following parameters are also passed as client data: - current value: const char* BTX

Enumerator:
EntryValueChangedEvent 

Definition at line 270 of file vtkKWEntry.h.


Constructor & Destructor Documentation

vtkKWEntry::vtkKWEntry (  )  [protected]
vtkKWEntry::~vtkKWEntry (  )  [protected]

Member Function Documentation

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

Reimplemented from vtkKWCoreWidget.

Reimplemented in vtkKWComboBox.

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

Reimplemented from vtkKWCoreWidget.

Reimplemented in vtkKWComboBox.

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

Reimplemented from vtkKWCoreWidget.

Reimplemented in vtkKWComboBox.

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

Reimplemented from vtkKWCoreWidget.

Reimplemented in vtkKWComboBox.

static vtkKWEntry* vtkKWEntry::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkKWCoreWidget.

Reimplemented in vtkKWComboBox.

void vtkKWEntry::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkKWCoreWidget.

Reimplemented in vtkKWComboBox.

virtual void vtkKWEntry::SetValue ( const char *   )  [virtual]

Set/Get the value of the entry in a few different formats. In the SetValue method with double, values are printed in printf's f or e format, whichever is more compact for the given value and precision. The e format is used only when the exponent of the value is less than -4 or greater than or equal to the precision argument (which can be controlled using the second parameter of SetValue). Trailing zeros are truncated, and the decimal point appears only if one or more digits follow it. Set/GetHexadecimalValueAsRGB provides a convenience way to enter/parse a RGB triplet formatted in hexadecimal. Note that the values are int, not double (i.e. 0 to 255 instead of VTK's normalized 0.0 to 1.0) IMPORTANT: whenever possible, use any of the GetValueAs...() methods GetHexadecimalValueAsRGB will set r,g,b to -1, -1, -1 if the hexadecimal value could not be parsed. to retrieve the value if it is meant to be a number. This is faster than calling GetValue() and converting the resulting string to a number.

Reimplemented in vtkKWComboBox.

virtual const char* vtkKWEntry::GetValue (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetValueAsInt ( int  a  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual int vtkKWEntry::GetValueAsInt (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetValueAsFormattedDouble ( double  f,
int  size 
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetValueAsDouble ( double  f  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual double vtkKWEntry::GetValueAsDouble (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetHexadecimalValueAsRGB ( int  r,
int  g,
int  b 
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::GetHexadecimalValueAsRGB ( int &  r,
int &  g,
int &  b 
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetWidth ( int  width  )  [virtual]

The width is the number of charaters wide the entry box can fit. To keep from changing behavior of the entry, the default value is -1 wich means the width is not explicitly set and will default to whatever value Tk is using (at this point, 20). Set it to 0 and the widget should pick a size just large enough to hold its text.

virtual int vtkKWEntry::GetWidth (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReadOnly ( int   )  [virtual]

Set/Get readonly flag. This flags makes the entry read only.

virtual void vtkKWEntry::ReadOnlyOn (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::ReadOnlyOff (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual int vtkKWEntry::GetReadOnly (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::PasswordModeOn (  )  [virtual]

Set/Get password mode flag. If this flag is set, then the true contents of the entry are not displayed in the window. Instead, each character in the entry's value will be displayed as '*'. This is useful, for example, if the entry is to be used to enter a password. If characters in the entry are selected and copied elsewhere, the information copied will be what is displayed, not the true contents of the entry.

virtual void vtkKWEntry::PasswordModeOff (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetPasswordMode ( int   )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual int vtkKWEntry::GetPasswordMode (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SelectAll (  )  [virtual]

Select all text in the entry

virtual void vtkKWEntry::SelectAllOnFocusInOn (  )  [virtual]

Set/Get if the entry's contents should be selected automatically when the entry receives focus. Off by default, this variable can be turned on to On to emulate the effect of the URL entry in a browser window.

virtual void vtkKWEntry::SelectAllOnFocusInOff (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetSelectAllOnFocusIn ( int   )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual int vtkKWEntry::GetSelectAllOnFocusIn (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual int vtkKWEntry::GetRestrictValue (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetRestrictValue ( int   )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetRestrictValueToInteger (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetRestrictValueToDouble (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetRestrictValueToHexadecimal (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetRestrictValueToNone (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetValidationCommand ( vtkObject object,
const char *  method 
) [virtual]

Specifies a command to associate with this step. This command can be used to validate the contents of the widget. Note: checks against RestrictValue are performed before ValidationCommand. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command. This command should return 1 if the contents is valid, 0 otherwise. The following parameters are also passed to the command: - current value: const char*

virtual int vtkKWEntry::InvokeValidationCommand ( const char *  value  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::GetBackgroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the background color of the widget.

virtual double* vtkKWEntry::GetBackgroundColor (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetBackgroundColor ( double  r,
double  g,
double  b 
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

Reimplemented in vtkKWComboBox.

virtual void vtkKWEntry::SetBackgroundColor ( double  rgb[3]  )  [inline, virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

Reimplemented in vtkKWComboBox.

Definition at line 145 of file vtkKWEntry.h.

virtual void vtkKWEntry::GetForegroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the foreground color of the widget.

virtual double* vtkKWEntry::GetForegroundColor (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetForegroundColor ( double  r,
double  g,
double  b 
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetForegroundColor ( double  rgb[3]  )  [inline, virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

Definition at line 154 of file vtkKWEntry.h.

virtual void vtkKWEntry::GetDisabledBackgroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the background color of the widget when it is disabled.

virtual double* vtkKWEntry::GetDisabledBackgroundColor (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetDisabledBackgroundColor ( double  r,
double  g,
double  b 
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetDisabledBackgroundColor ( double  rgb[3]  )  [inline, virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

Definition at line 163 of file vtkKWEntry.h.

virtual void vtkKWEntry::GetDisabledForegroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the foreground color of the widget when it is disabled.

virtual double* vtkKWEntry::GetDisabledForegroundColor (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetDisabledForegroundColor ( double  r,
double  g,
double  b 
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetDisabledForegroundColor ( double  rgb[3]  )  [inline, virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

Definition at line 172 of file vtkKWEntry.h.

virtual void vtkKWEntry::GetReadOnlyBackgroundColor ( double *  r,
double *  g,
double *  b 
) [virtual]

Set/Get the background color of the widget when it is read-only.

virtual double* vtkKWEntry::GetReadOnlyBackgroundColor (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReadOnlyBackgroundColor ( double  r,
double  g,
double  b 
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReadOnlyBackgroundColor ( double  rgb[3]  )  [inline, virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

Definition at line 181 of file vtkKWEntry.h.

virtual void vtkKWEntry::SetHighlightThickness ( int   )  [virtual]

Set/Get the highlight thickness, a non-negative value indicating the width of the highlight rectangle to draw around the outside of the widget when it has the input focus.

virtual int vtkKWEntry::GetHighlightThickness (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetBorderWidth ( int   )  [virtual]

Set/Get the border width, a non-negative value indicating the width of the 3-D border to draw around the outside of the widget (if such a border is being drawn; the Relief option typically determines this).

virtual int vtkKWEntry::GetBorderWidth (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetRelief ( int   )  [virtual]

Set/Get the 3-D effect desired for the widget. The value indicates how the interior of the widget should appear relative to its exterior. Valid constants can be found in vtkKWOptions::ReliefType.

virtual int vtkKWEntry::GetRelief (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReliefToRaised (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReliefToSunken (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReliefToFlat (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReliefToRidge (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReliefToSolid (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetReliefToGroove (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetFont ( const char *  font  )  [virtual]

Specifies the font to use when drawing text inside the widget. You can use predefined font names (e.g. 'system'), or you can specify a set of font attributes with a platform-independent name, for example, 'times 12 bold'. In this example, the font is specified with a three element list: the first element is the font family, the second is the size, the third is a list of style parameters (normal, bold, roman, italic, underline, overstrike). Example: 'times 12 {bold italic}'. The Times, Courier and Helvetica font families are guaranteed to exist and will be matched to the corresponding (closest) font on your system. If you are familiar with the X font names specification, you can also describe the font that way (say, '*times-medium-r-*-*-12*').

virtual const char* vtkKWEntry::GetFont (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetCommand ( vtkObject object,
const char *  method 
) [virtual]

Specifies a command to associate with the widget. This command is typically invoked when the return key is pressed, or the focus is lost, as specified by the CommandTrigger variable. The 'object' argument is the object that will have the method called on it. The 'method' argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is still evaluated as a simple command. The following parameters are also passed to the command: - current value: const char*

Reimplemented in vtkKWComboBox.

virtual void vtkKWEntry::InvokeCommand ( const char *  value  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual int vtkKWEntry::GetCommandTrigger (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetCommandTrigger ( int   )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetCommandTriggerToReturnKeyAndFocusOut (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::SetCommandTriggerToAnyChange (  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::UpdateEnableState (  )  [virtual]

Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc.

Reimplemented from vtkKWWidget.

Reimplemented in vtkKWComboBox.

virtual void vtkKWEntry::ValueCallback (  )  [virtual]

Callbacks. Internal, do not use.

virtual int vtkKWEntry::ValidationCallback ( const char *  value  )  [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::TracedVariableChangedCallback ( const char *  ,
const char *  ,
const char *   
) [virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::CreateWidget (  )  [protected, virtual]

Create the widget.

Reimplemented from vtkKWCoreWidget.

Reimplemented in vtkKWComboBox.

virtual void vtkKWEntry::Configure (  )  [protected, virtual]

Configure.

virtual void vtkKWEntry::ConfigureValidation (  )  [protected, virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX

virtual void vtkKWEntry::ConfigureTraceCallback ( int  state  )  [protected, virtual]

Restrict the value to a given type (integer, hexadecimal, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX


Member Data Documentation

int vtkKWEntry::Width [protected]

Definition at line 302 of file vtkKWEntry.h.

int vtkKWEntry::ReadOnly [protected]

Definition at line 303 of file vtkKWEntry.h.

int vtkKWEntry::RestrictValue [protected]

Definition at line 304 of file vtkKWEntry.h.

int vtkKWEntry::CommandTrigger [protected]

Definition at line 305 of file vtkKWEntry.h.

Definition at line 306 of file vtkKWEntry.h.

char* vtkKWEntry::Command [protected]

Definition at line 308 of file vtkKWEntry.h.

char* vtkKWEntry::ValidationCommand [protected]

Definition at line 309 of file vtkKWEntry.h.


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:34:22 2010 for KWWidgets by  doxygen 1.6.1