a concrete set of vtkKWPushButton More...
#include <vtkKWPushButtonSet.h>


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 vtkKWPushButton * | AddWidget (int id) |
| virtual vtkKWPushButton * | InsertWidget (int id, int pos) |
| virtual vtkKWPushButton * | GetWidget (int id) |
Static Public Member Functions | |
| static vtkKWPushButtonSet * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkKWPushButtonSet * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkKWPushButtonSet () | |
| ~vtkKWPushButtonSet () | |
| virtual vtkKWWidget * | AllocateAndCreateWidget () |
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.
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. Definition at line 45 of file vtkKWPushButtonSet.h.
Reimplemented from vtkKWWidgetSet.
Definition at line 49 of file vtkKWPushButtonSet.h.
| vtkKWPushButtonSet::vtkKWPushButtonSet | ( | ) | [inline, protected] |
Definition at line 67 of file vtkKWPushButtonSet.h.
| vtkKWPushButtonSet::~vtkKWPushButtonSet | ( | ) | [inline, protected] |
Definition at line 68 of file vtkKWPushButtonSet.h.
| 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.
1.6.1