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

vtkKWSpinBox Class Reference

SpinBox. More...

#include <vtkKWSpinBox.h>

Inheritance diagram for vtkKWSpinBox:

Inheritance graph
[legend]
Collaboration diagram for vtkKWSpinBox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWSpinBox, vtkKWCoreWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual void SetRange (double from, double to)
virtual void SetIncrement (double increment)
virtual void SetValueFormat (const char *format)
virtual void SetCommand (vtkObject *object, const char *method)
virtual void UpdateEnableState ()
virtual void SetValue (double value)
virtual double GetValue ()
virtual void SetWrap (int wrap)
virtual int GetWrap ()
virtual void WrapOn ()
virtual void WrapOff ()
virtual void SetRestrictValuesToIntegers (int restrict)
virtual void RestrictValuesToIntegersOn ()
virtual void RestrictValuesToIntegersOff ()
virtual void SetWidth (int)
virtual int GetWidth ()
virtual void SetExportSelection (int)
virtual int GetExportSelection ()
virtual void ExportSelectionOn ()
virtual void ExportSelectionOff ()

Static Public Member Functions

vtkKWSpinBoxNew ()

Protected Member Functions

 vtkKWSpinBox ()
 ~vtkKWSpinBox ()

Detailed Description

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.

Thanks:
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on the National Centers for Biomedical Computing can be obtained from http://nihroadmap.nih.gov/bioinformatics.

Definition at line 35 of file vtkKWSpinBox.h.


Constructor & Destructor Documentation

vtkKWSpinBox::vtkKWSpinBox  )  [protected]
 

vtkKWSpinBox::~vtkKWSpinBox  )  [protected]
 


Member Function Documentation

vtkKWSpinBox* vtkKWSpinBox::New  )  [static]
 

Reimplemented from vtkKWCoreWidget.

vtkKWSpinBox::vtkTypeRevisionMacro vtkKWSpinBox  ,
vtkKWCoreWidget 
 

void vtkKWSpinBox::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWCoreWidget.

virtual void vtkKWSpinBox::Create vtkKWApplication app  )  [virtual]
 

Create the widget.

Reimplemented from vtkKWCoreWidget.

virtual void vtkKWSpinBox::SetRange double  from,
double  to
[virtual]
 

Set the range.

virtual void vtkKWSpinBox::SetIncrement double  increment  )  [virtual]
 

Set the increment value.

virtual void vtkKWSpinBox::SetValue double  value  )  [virtual]
 

Set/Get the current value.

virtual double vtkKWSpinBox::GetValue  )  [virtual]
 

Set/Get the current value.

virtual void vtkKWSpinBox::SetValueFormat const char *  format  )  [virtual]
 

Set/Get the string used to format the value.

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]
 

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 void vtkKWSpinBox::WrapOn  )  [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 void vtkKWSpinBox::WrapOff  )  [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 void vtkKWSpinBox::SetRestrictValuesToIntegers int  restrict  )  [virtual]
 

Prevent the user from typing in non-integer values.

virtual void vtkKWSpinBox::RestrictValuesToIntegersOn  )  [virtual]
 

Prevent the user from typing in non-integer values.

virtual void vtkKWSpinBox::RestrictValuesToIntegersOff  )  [virtual]
 

Prevent the user from typing in non-integer values.

virtual void vtkKWSpinBox::SetWidth int   )  [virtual]
 

Set/Get the width of the spinbox in number of characters.

virtual int vtkKWSpinBox::GetWidth  )  [virtual]
 

Set/Get the width of the spinbox in number of characters.

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]
 

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 void vtkKWSpinBox::ExportSelectionOn  )  [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 void vtkKWSpinBox::ExportSelectionOff  )  [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 void vtkKWSpinBox::SetCommand vtkObject *  object,
const char *  method
[virtual]
 

Specifies a command to associate with the widget. This command is typically invoked whenever the button is invoked. The first argument is the object that will have the method called on it. The second argument is the name of the method to be called and any arguments in string form. If the object is NULL, the method is evaluated as a simple command.

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.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:44:51 2006 for ParaView by doxygen 1.3.5