SpinBox. More...
#include <vtkKWSpinBox.h>


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 | SetRange (double from, double to) |
| virtual void | UpdateEnableState () |
Static Public Member Functions | |
| static vtkKWSpinBox * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkKWSpinBox * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkKWSpinBox () | |
| ~vtkKWSpinBox () | |
| virtual void | CreateWidget () |
| virtual void | PopulateContextMenu (vtkKWMenu *) |
Protected Attributes | |
| int | RestrictValue |
| int | CommandTrigger |
| char * | Command |
| char * | ValidationCommand |
| vtkKWMenu * | ContextMenu |
|
| |
| enum | { RestrictNone = 0, RestrictInteger, RestrictDouble } |
| enum | { TriggerOnFocusOut = 1, TriggerOnReturnKey = 2, TriggerOnAnyChange = 4 } |
| enum | { SpinBoxValueChangedEvent = 10000 } |
| virtual void | SetIncrement (double increment) |
| virtual double | GetIncrement () |
| virtual void | SetValue (double value) |
| virtual double | GetValue () |
| virtual void | SetValueFormat (const char *format) |
| virtual const char * | GetValueFormat () |
| virtual void | SetWrap (int wrap) |
| virtual int | GetWrap () |
| virtual void | WrapOn () |
| virtual void | WrapOff () |
| virtual int | GetRestrictValue () |
| virtual void | SetRestrictValue (int) |
| virtual void | SetRestrictValueToInteger () |
| virtual void | SetRestrictValueToDouble () |
| virtual void | SetRestrictValueToNone () |
| virtual void | SetValidationCommand (vtkObject *object, const char *method) |
| virtual int | InvokeValidationCommand (const char *value) |
| virtual void | SetWidth (int) |
| virtual int | GetWidth () |
| 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 | GetButtonBackgroundColor (double *r, double *g, double *b) |
| virtual double * | GetButtonBackgroundColor () |
| virtual void | SetButtonBackgroundColor (double r, double g, double b) |
| virtual void | SetButtonBackgroundColor (double rgb[3]) |
| virtual void | SetHighlightThickness (int) |
| virtual int | GetHighlightThickness () |
| virtual void | GetActiveBackgroundColor (double *r, double *g, double *b) |
| virtual double * | GetActiveBackgroundColor () |
| virtual void | SetActiveBackgroundColor (double r, double g, double b) |
| virtual void | SetActiveBackgroundColor (double rgb[3]) |
| 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 | SetExportSelection (int) |
| virtual int | GetExportSelection () |
| virtual void | ExportSelectionOn () |
| virtual void | ExportSelectionOff () |
| virtual void | SetCommand (vtkObject *object, const char *method) |
| virtual void | InvokeCommand (double 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 | RightClickCallback (int x, int y) |
| virtual void | Configure () |
| virtual void | ConfigureValidation () |
SpinBox.
A widget with up and down arrow controls and direct text editing. Typically used with integer fields that users increment by 1 (or decrement) by clicking on the arrows.
Definition at line 38 of file vtkKWSpinBox.h.
Reimplemented from vtkKWCoreWidget.
Definition at line 43 of file vtkKWSpinBox.h.
| anonymous enum |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
Definition at line 82 of file vtkKWSpinBox.h.
| anonymous enum |
Specify when Command should be invoked. Default to losing focus and return key. BTX
Definition at line 260 of file vtkKWSpinBox.h.
| anonymous enum |
Events. The SpinBoxValueChangedEvent 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 part of the spinbox, the SpinBoxValueChangedEvent event is also generated when <Return> is pressed, or the spinbox widget is losing focus (i.e. the user clicked outside the text field). The following parameters are also passed as client data: - the current value: double BTX
Definition at line 283 of file vtkKWSpinBox.h.
| vtkKWSpinBox::vtkKWSpinBox | ( | ) | [protected] |
| vtkKWSpinBox::~vtkKWSpinBox | ( | ) | [protected] |
| static vtkKWSpinBox* vtkKWSpinBox::New | ( | ) | [static] |
Reimplemented from vtkKWCoreWidget.
| virtual const char* vtkKWSpinBox::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWCoreWidget.
| static int vtkKWSpinBox::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWCoreWidget.
| virtual int vtkKWSpinBox::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWCoreWidget.
| static vtkKWSpinBox* vtkKWSpinBox::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWCoreWidget.
| void vtkKWSpinBox::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWCoreWidget.
| virtual void vtkKWSpinBox::SetRange | ( | double | from, | |
| double | to | |||
| ) | [virtual] |
Set the range. Default to [0, 10]
| virtual void vtkKWSpinBox::SetIncrement | ( | double | increment | ) | [virtual] |
Set the increment value. Default to 1.
| virtual double vtkKWSpinBox::GetIncrement | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetValue | ( | double | value | ) | [virtual] |
Set/Get the current value.
| virtual double vtkKWSpinBox::GetValue | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetValueFormat | ( | const char * | format | ) | [virtual] |
Set/Get the string used to format the value. Specifies an alternate format to use when setting the string value when using the range. This must be a format specifier of the form %<pad>.<pad>f, as it will format a floating-point number.
| virtual const char* vtkKWSpinBox::GetValueFormat | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetWrap | ( | int | wrap | ) | [virtual] |
Set/Get the wrap. If on, values at edges of range wrap around to the other side of the range when clicking on the up/down arrows.
| virtual int vtkKWSpinBox::GetWrap | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::WrapOn | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::WrapOff | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual int vtkKWSpinBox::GetRestrictValue | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetRestrictValue | ( | int | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetRestrictValueToInteger | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetRestrictValueToDouble | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetRestrictValueToNone | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::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 vtkKWSpinBox::InvokeValidationCommand | ( | const char * | value | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetWidth | ( | int | ) | [virtual] |
Set/Get the width of the spinbox in number of characters.
| virtual int vtkKWSpinBox::GetWidth | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::GetBackgroundColor | ( | double * | r, | |
| double * | g, | |||
| double * | b | |||
| ) | [virtual] |
Set/Get the background color of the widget.
| virtual double* vtkKWSpinBox::GetBackgroundColor | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetBackgroundColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetBackgroundColor | ( | double | rgb[3] | ) | [inline, virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
Definition at line 121 of file vtkKWSpinBox.h.
| virtual void vtkKWSpinBox::GetForegroundColor | ( | double * | r, | |
| double * | g, | |||
| double * | b | |||
| ) | [virtual] |
Set/Get the foreground color of the widget.
| virtual double* vtkKWSpinBox::GetForegroundColor | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetForegroundColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetForegroundColor | ( | double | rgb[3] | ) | [inline, virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
Definition at line 130 of file vtkKWSpinBox.h.
| virtual void vtkKWSpinBox::GetDisabledBackgroundColor | ( | double * | r, | |
| double * | g, | |||
| double * | b | |||
| ) | [virtual] |
Set/Get the background color of the widget when it is disabled.
| virtual double* vtkKWSpinBox::GetDisabledBackgroundColor | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetDisabledBackgroundColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetDisabledBackgroundColor | ( | double | rgb[3] | ) | [inline, virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
Definition at line 139 of file vtkKWSpinBox.h.
| virtual void vtkKWSpinBox::GetDisabledForegroundColor | ( | double * | r, | |
| double * | g, | |||
| double * | b | |||
| ) | [virtual] |
Set/Get the foreground color of the widget when it is disabled.
| virtual double* vtkKWSpinBox::GetDisabledForegroundColor | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetDisabledForegroundColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetDisabledForegroundColor | ( | double | rgb[3] | ) | [inline, virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
Definition at line 148 of file vtkKWSpinBox.h.
| virtual void vtkKWSpinBox::GetReadOnlyBackgroundColor | ( | double * | r, | |
| double * | g, | |||
| double * | b | |||
| ) | [virtual] |
Set/Get the background color of the widget when it is read-only.
| virtual double* vtkKWSpinBox::GetReadOnlyBackgroundColor | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetReadOnlyBackgroundColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetReadOnlyBackgroundColor | ( | double | rgb[3] | ) | [inline, virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
Definition at line 157 of file vtkKWSpinBox.h.
| virtual void vtkKWSpinBox::GetButtonBackgroundColor | ( | double * | r, | |
| double * | g, | |||
| double * | b | |||
| ) | [virtual] |
Set/Get the background color of the spin-buttons.
| virtual double* vtkKWSpinBox::GetButtonBackgroundColor | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetButtonBackgroundColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetButtonBackgroundColor | ( | double | rgb[3] | ) | [inline, virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
Definition at line 166 of file vtkKWSpinBox.h.
| virtual void vtkKWSpinBox::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 vtkKWSpinBox::GetHighlightThickness | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::GetActiveBackgroundColor | ( | double * | r, | |
| double * | g, | |||
| double * | b | |||
| ) | [virtual] |
Set/Get the active background color of the widget. An element (a widget or portion of a widget) is active if the mouse cursor is positioned over the element and pressing a mouse button will cause some action to occur.
| virtual double* vtkKWSpinBox::GetActiveBackgroundColor | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetActiveBackgroundColor | ( | double | r, | |
| double | g, | |||
| double | b | |||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetActiveBackgroundColor | ( | double | rgb[3] | ) | [inline, virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
Definition at line 186 of file vtkKWSpinBox.h.
| virtual void vtkKWSpinBox::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 vtkKWSpinBox::GetBorderWidth | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::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 vtkKWSpinBox::GetRelief | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetReliefToRaised | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetReliefToSunken | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetReliefToFlat | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetReliefToRidge | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetReliefToSolid | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetReliefToGroove | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::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* vtkKWSpinBox::GetFont | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetExportSelection | ( | int | ) | [virtual] |
Specifies whether or not a selection in the widget should also be the X selection. If the selection is exported, then selecting in the widget deselects the current X selection, selecting outside the widget deselects any widget selection, and the widget will respond to selection retrieval requests when it has a selection.
| virtual int vtkKWSpinBox::GetExportSelection | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::ExportSelectionOn | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::ExportSelectionOff | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::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. It is also invoked when the spinbuttons are pressed. 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: - the current value: int (if Increment is integer); double otherwise Note: the 'int' signature is for convenience, so that the command can be set to a callback accepting 'int'. In doubt, implement the callback using a 'double' signature that will accept both 'int' and 'double'.
| virtual void vtkKWSpinBox::InvokeCommand | ( | double | value | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual int vtkKWSpinBox::GetCommandTrigger | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetCommandTrigger | ( | int | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetCommandTriggerToReturnKeyAndFocusOut | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::SetCommandTriggerToAnyChange | ( | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::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.
| virtual void vtkKWSpinBox::ValueCallback | ( | ) | [virtual] |
Callbacks. Internal, do not use.
| virtual int vtkKWSpinBox::ValidationCallback | ( | const char * | value | ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::TracedVariableChangedCallback | ( | const char * | , | |
| const char * | , | |||
| const char * | ||||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::RightClickCallback | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
| virtual void vtkKWSpinBox::CreateWidget | ( | ) | [protected, virtual] |
Create the widget.
Reimplemented from vtkKWCoreWidget.
| virtual void vtkKWSpinBox::PopulateContextMenu | ( | vtkKWMenu * | ) | [protected, virtual] |
Populate the context menu
| virtual void vtkKWSpinBox::Configure | ( | ) | [protected, virtual] |
Configure.
| virtual void vtkKWSpinBox::ConfigureValidation | ( | ) | [protected, virtual] |
Restrict the value to a given type (integer, double, or no restriction). Note: checks against RestrictValue are performed before ValidationCommand. BTX
int vtkKWSpinBox::RestrictValue [protected] |
Definition at line 316 of file vtkKWSpinBox.h.
int vtkKWSpinBox::CommandTrigger [protected] |
Definition at line 317 of file vtkKWSpinBox.h.
char* vtkKWSpinBox::Command [protected] |
Definition at line 319 of file vtkKWSpinBox.h.
char* vtkKWSpinBox::ValidationCommand [protected] |
Definition at line 320 of file vtkKWSpinBox.h.
vtkKWMenu* vtkKWSpinBox::ContextMenu [protected] |
Definition at line 322 of file vtkKWSpinBox.h.
1.6.1