#include <vtkPVSelectionList.h>
Inheritance diagram for vtkPVSelectionList:
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVSelectionList, vtkPVObjectWidget) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
void | AddItem (const char *name, int value) |
int | GetValue (const char *name) |
void | RemoveAllItems () |
void | SelectCallback (const char *name, int value) |
virtual void | SetBalloonHelpString (const char *str) |
void | Disable () |
virtual void | Accept () |
virtual void | ResetInternal () |
virtual void | Initialize () |
virtual void | Trace (ofstream *file) |
virtual void | UpdateEnableState () |
virtual void | SaveInBatchScript (ofstream *file) |
int | GetNumberOfItems () |
void | SetLabel (const char *label) |
const char * | GetLabel () |
void | SetLabelVisibility (int visible) |
virtual int | GetLabelVisibility () |
void | ShowLabel () |
void | HideLabel () |
virtual int | GetCurrentValue () |
void | SetCurrentValue (int val) |
virtual char * | GetCurrentName () |
virtual void | SetOptionWidth (int) |
vtkPVSelectionList * | ClonePrototype (vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
Static Public Member Functions | |
vtkPVSelectionList * | New () |
Protected Member Functions | |
vtkPVSelectionList () | |
~vtkPVSelectionList () | |
virtual void | SetCurrentName (const char *) |
virtual void | CopyProperties (vtkPVWidget *clone, vtkPVSource *pvSource, vtkArrayMap< vtkPVWidget *, vtkPVWidget * > *map) |
int | ReadXMLAttributes (vtkPVXMLElement *element, vtkPVXMLPackageParser *parser) |
Protected Attributes | |
vtkKWLabel * | Label |
vtkKWMenuButton * | Menu |
char * | Command |
int | LabelVisibility |
int | OptionWidth |
int | CurrentValue |
char * | CurrentName |
vtkStringList * | Names |
This widget produces a button that displays a selection from a list. When the button is pressed, the list is displayed in the form of a menu. The user can select a new value from the menu.
This class is not named correctly. It should be selection menu.
Definition at line 34 of file vtkPVSelectionList.h.
|
|
|
|
|
Reimplemented from vtkPVTracedWidget. |
|
|
|
Reimplemented from vtkPVObjectWidget. |
|
Create the widget. Reimplemented from vtkPVWidget. |
|
|
|
Get the value for the first match of the name in added items.. |
|
Remove all items. |
|
Set the label of the menu. |
|
Set the label of the menu. |
|
Show/Hide the label. |
|
Show/Hide the label. |
|
Show/Hide the label. Definition at line 65 of file vtkPVSelectionList.h. |
|
Show/Hide the label. Definition at line 66 of file vtkPVSelectionList.h. |
|
This is how the user can query the state of the selection. Warning: Setting the current value will not change vtk ivar. |
|
This is how the user can query the state of the selection. Warning: Setting the current value will not change vtk ivar. |
|
This is how the user can query the state of the selection. Warning: Setting the current value will not change vtk ivar. |
|
Sets the width (in units of character) of the option menu (should be specified before create) |
|
This method gets called when the user selects an entry. Use this method if you want to programmatically change the selection. |
|
This class redefines SetBalloonHelpString since it has to forward the call to the widgets (label and selection) it contains. Reimplemented from vtkKWWidget. |
|
Disables the widget. |
|
Creates and returns a copy of this widget. It will create a new instance of the same type as the current object using NewInstance() and then copy some necessary state parameters. Reimplemented from vtkPVObjectWidget. |
|
Pass the value from the widget to the property. Implements vtkPVWidget. |
|
Called when reset button is pushed. Sets UI current value from objects variable. Reimplemented from vtkPVWidget. |
|
Initialize the widget after creation Implements vtkPVWidget. |
|
This serves a dual purpose. For tracing and for saving state. Implements vtkPVWidget. |
|
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. |
|
Save this widget to a file. Implements vtkPVObjectWidget. |
|
Get number of items in the selection list. |
|
|
|
Reimplemented from vtkPVObjectWidget. |
|
Called by vtkPVXMLPackageParser to configure the widget from XML attributes. Reimplemented from vtkPVObjectWidget. |
|
Definition at line 134 of file vtkPVSelectionList.h. |
|
Definition at line 135 of file vtkPVSelectionList.h. |
|
Definition at line 136 of file vtkPVSelectionList.h. |
|
Definition at line 138 of file vtkPVSelectionList.h. |
|
Definition at line 139 of file vtkPVSelectionList.h. |
|
Definition at line 141 of file vtkPVSelectionList.h. |
|
Definition at line 142 of file vtkPVSelectionList.h. |
|
Definition at line 144 of file vtkPVSelectionList.h. |