vtkKWWidgetWithSpinButtons Class Reference

an abstract class widget with spin buttons More...

#include <vtkKWWidgetWithSpinButtons.h>

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

List of all members.

Public Types

typedef vtkKWCompositeWidget Superclass

Public Member Functions

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



virtual vtkKWSpinButtonsGetSpinButtons ()
virtual void NextValueCallback ()
virtual void PreviousValueCallback ()

Static Public Member Functions

static vtkKWWidgetWithSpinButtonsNew ()
static int IsTypeOf (const char *type)
static vtkKWWidgetWithSpinButtonsSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWWidgetWithSpinButtons ()
 ~vtkKWWidgetWithSpinButtons ()
virtual void CreateWidget ()
virtual void Pack ()

Protected Attributes

vtkKWSpinButtonsSpinButtons

Detailed Description

an abstract class widget with spin buttons

This class implements an abstract superclass for composite widgets associating a widget to a set of spin buttons. The only requirement is for the widget to implement the NextValue() and PreviousValue() callbacks.

Be aware that most subclasses of vtkKWWidgetWithSpinButtons are generated automatically out of the vtkKWWidgetWithSpinButtonsSubclass template located in the Templates directory. Therefore, even though the source code for those vtkKWWidgetWithSpinButtons subclasses does not exist in the KWWidgets repository, they are still generated automatically and documented in the API online; check the vtkKWWidgetWithSpinButtons API online for its subclasses, as well as the KWWidgets Auto-Generated Classes page. Classes related to the same template can be found in the KWWidgets Auto-Generated Classes: Widget With Spin-Buttons section.

See also:
vtkKWMenuButtonWithSpinButtons

Definition at line 43 of file vtkKWWidgetWithSpinButtons.h.


Member Typedef Documentation

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

Definition at line 48 of file vtkKWWidgetWithSpinButtons.h.


Constructor & Destructor Documentation

vtkKWWidgetWithSpinButtons::vtkKWWidgetWithSpinButtons (  )  [protected]
vtkKWWidgetWithSpinButtons::~vtkKWWidgetWithSpinButtons (  )  [protected]

Member Function Documentation

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

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

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

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

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

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

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

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

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

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

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

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

virtual vtkKWSpinButtons* vtkKWWidgetWithSpinButtons::GetSpinButtons (  )  [virtual]

Retrieve the spin buttons

virtual void vtkKWWidgetWithSpinButtons::SetBalloonHelpString ( const char *  str  )  [virtual]

Set the string that enables balloon help for this widget. Override to pass down to children.

Reimplemented from vtkKWWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

virtual void vtkKWWidgetWithSpinButtons::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 vtkKWMenuButtonWithSpinButtons.

virtual void vtkKWWidgetWithSpinButtons::NextValueCallback (  )  [inline, virtual]

Callbacks. Internal, do not use.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

Definition at line 70 of file vtkKWWidgetWithSpinButtons.h.

virtual void vtkKWWidgetWithSpinButtons::PreviousValueCallback (  )  [inline, virtual]

Retrieve the spin buttons

Reimplemented in vtkKWMenuButtonWithSpinButtons.

Definition at line 71 of file vtkKWWidgetWithSpinButtons.h.

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

Create the widget.

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

virtual void vtkKWWidgetWithSpinButtons::Pack (  )  [inline, protected, virtual]

Pack or repack the widget. To be implemented by subclasses.

Reimplemented in vtkKWMenuButtonWithSpinButtons.

Definition at line 84 of file vtkKWWidgetWithSpinButtons.h.


Member Data Documentation

Internal spin buttons

Definition at line 84 of file vtkKWWidgetWithSpinButtons.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:39:14 2010 for KWWidgets by  doxygen 1.6.1