vtkKWPushButtonSet Class Reference
[KWWidgets Auto-Generated Classes: Widget Set]

a concrete set of vtkKWPushButton More...

#include <vtkKWPushButtonSet.h>

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

List of all members.

Public Types

typedef vtkKWWidgetSet Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkKWPushButtonAddWidget (int id)
virtual vtkKWPushButtonInsertWidget (int id, int pos)
virtual vtkKWPushButtonGetWidget (int id)

Static Public Member Functions

static vtkKWPushButtonSetNew ()
static int IsTypeOf (const char *type)
static vtkKWPushButtonSetSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWPushButtonSet ()
 ~vtkKWPushButtonSet ()
virtual vtkKWWidgetAllocateAndCreateWidget ()

Detailed Description

a concrete set of vtkKWPushButton

A composite widget to conveniently store, allocate, create and pack a set of vtkKWPushButton. Each vtkKWPushButton is created, removed or queried based on a unique ID provided by the user (ids are *not* handled by the class since it is likely that they will be defined as enum's or define by the user for easier retrieval). As a subclass of vtkKWWidgetSet, it inherits methods to set the widgets visibility individually, set the layout parameters, and query each widget. Widgets are packed (gridded) in the order they were added.

Attention:
This class and the corresponding code were generated automatically by instantiating the Templates/vtkKWWidgetSetSubclass.h.in and Templates/vtkKWWidgetSetSubclass.cxx.in files for the type vtkKWPushButton. Classes related to the same template can be found in the KWWidgets Auto-Generated Classes: Widget Set section.
See also:
vtkKWWidgetSet vtkKWPushButton

Definition at line 45 of file vtkKWPushButtonSet.h.


Member Typedef Documentation

Reimplemented from vtkKWWidgetSet.

Definition at line 49 of file vtkKWPushButtonSet.h.


Constructor & Destructor Documentation

vtkKWPushButtonSet::vtkKWPushButtonSet (  )  [inline, protected]

Definition at line 67 of file vtkKWPushButtonSet.h.

vtkKWPushButtonSet::~vtkKWPushButtonSet (  )  [inline, protected]

Definition at line 68 of file vtkKWPushButtonSet.h.


Member Function Documentation

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

Reimplemented from vtkKWCompositeWidget.

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

Reimplemented from vtkKWWidgetSet.

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

Reimplemented from vtkKWWidgetSet.

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

Reimplemented from vtkKWWidgetSet.

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

Reimplemented from vtkKWWidgetSet.

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

Reimplemented from vtkKWWidgetSet.

virtual vtkKWPushButton* vtkKWPushButtonSet::AddWidget ( int  id  )  [virtual]

Add a vtkKWPushButton to the end of the set. The id has to be unique among the set. Return a pointer to the vtkKWPushButton, or NULL on error.

virtual vtkKWPushButton* vtkKWPushButtonSet::InsertWidget ( int  id,
int  pos 
) [virtual]

Insert a vtkKWPushButton at a specific position in the set. The id has to be unique among the set. Return a pointer to the vtkKWPushButton, or NULL on error.

virtual vtkKWPushButton* vtkKWPushButtonSet::GetWidget ( int  id  )  [virtual]

Get a vtkKWPushButton from the set, given its unique id. Return a pointer to the vtkKWPushButton, or NULL on error.

virtual vtkKWWidget* vtkKWPushButtonSet::AllocateAndCreateWidget (  )  [protected, virtual]

To be implemented by superclasses. Allocate and create a widget of the right type. Return a pointer to the superclass though.

Implements vtkKWWidgetSet.


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:36:38 2010 for KWWidgets by  doxygen 1.6.1