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

vtkKWComboBox Class Reference

a text entry widget with a pull-down menu of values More...

#include <vtkKWComboBox.h>

Inheritance diagram for vtkKWComboBox:

Inheritance graph
[legend]
Collaboration diagram for vtkKWComboBox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWComboBox, vtkKWEntry)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual void SetValue (const char *)
virtual void SetCommand (vtkObject *object, const char *method)
virtual void UpdateEnableState ()
virtual void AddValue (const char *value)
virtual void DeleteValue (int idx)
virtual int HasValue (const char *value)
virtual int GetValueIndex (const char *value)
virtual const char * GetValueFromIndex (int idx)
virtual int GetNumberOfValues ()
virtual void DeleteAllValues ()

Static Public Member Functions

vtkKWComboBoxNew ()

Protected Member Functions

 vtkKWComboBox ()
 ~vtkKWComboBox ()

Detailed Description

a text entry widget with a pull-down menu of values

A simple subclass of entry that adds a pull-down menu where a predefined set of values can be chosed to set the entry field.

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.
See also:
vtkKWEntry

Definition at line 36 of file vtkKWComboBox.h.


Constructor & Destructor Documentation

vtkKWComboBox::vtkKWComboBox  )  [inline, protected]
 

Definition at line 79 of file vtkKWComboBox.h.

vtkKWComboBox::~vtkKWComboBox  )  [inline, protected]
 

Definition at line 80 of file vtkKWComboBox.h.


Member Function Documentation

vtkKWComboBox* vtkKWComboBox::New  )  [static]
 

Reimplemented from vtkKWEntry.

vtkKWComboBox::vtkTypeRevisionMacro vtkKWComboBox  ,
vtkKWEntry 
 

void vtkKWComboBox::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWEntry.

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

Create the widget.

Reimplemented from vtkKWEntry.

virtual void vtkKWComboBox::AddValue const char *  value  )  [virtual]
 

Add and delete values to put in the list.

virtual void vtkKWComboBox::DeleteValue int  idx  )  [virtual]
 

Add and delete values to put in the list.

virtual int vtkKWComboBox::HasValue const char *  value  )  [virtual]
 

Add and delete values to put in the list.

virtual int vtkKWComboBox::GetValueIndex const char *  value  )  [virtual]
 

Add and delete values to put in the list.

virtual const char* vtkKWComboBox::GetValueFromIndex int  idx  )  [virtual]
 

Add and delete values to put in the list.

virtual int vtkKWComboBox::GetNumberOfValues  )  [virtual]
 

Add and delete values to put in the list.

virtual void vtkKWComboBox::DeleteAllValues  )  [virtual]
 

Add and delete values to put in the list.

virtual void vtkKWComboBox::SetValue const char *   )  [virtual]
 

Set/Get the value of the entry in a few different formats. Overriden to comply with the Tk type

Reimplemented from vtkKWEntry.

virtual void vtkKWComboBox::SetCommand vtkObject *  object,
const char *  method
[virtual]
 

Specifies a command to associate with the widget. This command is typically invoked when the return key is pressed, or the focus is lost, or a value is picked from the dropdown list. 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.

Reimplemented from vtkKWEntry.

virtual void vtkKWComboBox::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 vtkKWEntry.


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