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

vtkKWWidgetWithScrollbars Class Reference

an abstract class for composite widgets associated to two vtkKWScrollbar's More...

#include <vtkKWWidgetWithScrollbars.h>

Inheritance diagram for vtkKWWidgetWithScrollbars:

Inheritance graph
[legend]
Collaboration diagram for vtkKWWidgetWithScrollbars:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWWidgetWithScrollbars, vtkKWCompositeWidget)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Create (vtkKWApplication *app)
virtual void UpdateEnableState ()
virtual void SetVerticalScrollbarVisibility (int val)
virtual int GetVerticalScrollbarVisibility ()
virtual void VerticalScrollbarVisibilityOn ()
virtual void VerticalScrollbarVisibilityOff ()
virtual void SetHorizontalScrollbarVisibility (int val)
virtual int GetHorizontalScrollbarVisibility ()
virtual void HorizontalScrollbarVisibilityOn ()
virtual void HorizontalScrollbarVisibilityOff ()
virtual vtkKWScrollbarGetVerticalScrollBar ()
virtual vtkKWScrollbarGetHorizontalScrollBar ()

Protected Member Functions

 vtkKWWidgetWithScrollbars ()
 ~vtkKWWidgetWithScrollbars ()
virtual void CreateHorizontalScrollbar (vtkKWApplication *app)
virtual void CreateVerticalScrollbar (vtkKWApplication *app)
virtual void AssociateHorizontalScrollbarToWidget (vtkKWCoreWidget *widget)
virtual void AssociateVerticalScrollbarToWidget (vtkKWCoreWidget *widget)
virtual void Pack ()=0
virtual void PackScrollbarsWithWidget (vtkKWWidget *widget)

Protected Attributes

int VerticalScrollbarVisibility
int HorizontalScrollbarVisibility
vtkKWScrollbarVerticalScrollBar
vtkKWScrollbarHorizontalScrollBar

Detailed Description

an abstract class for composite widgets associated to two vtkKWScrollbar's

This provide a boilerplate for a composite widget associated to a horizontal and vertical scrollbars.

Definition at line 28 of file vtkKWWidgetWithScrollbars.h.


Constructor & Destructor Documentation

vtkKWWidgetWithScrollbars::vtkKWWidgetWithScrollbars  )  [protected]
 

vtkKWWidgetWithScrollbars::~vtkKWWidgetWithScrollbars  )  [protected]
 


Member Function Documentation

vtkKWWidgetWithScrollbars::vtkTypeRevisionMacro vtkKWWidgetWithScrollbars  ,
vtkKWCompositeWidget 
 

void vtkKWWidgetWithScrollbars::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWCanvasWithScrollbars, vtkKWListBoxWithScrollbars, vtkKWMultiColumnListWithScrollbars, vtkKWTextWithScrollbars, and vtkKWTreeWithScrollbars.

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

Create the widget.

Reimplemented from vtkKWCompositeWidget.

Reimplemented in vtkKWCanvasWithScrollbars, vtkKWListBoxWithScrollbars, vtkKWMultiColumnListWithScrollbars, vtkKWTextWithScrollbars, and vtkKWTreeWithScrollbars.

virtual void vtkKWWidgetWithScrollbars::SetVerticalScrollbarVisibility int  val  )  [virtual]
 

Set/Get the vertical scrollbar visibility (default to On).

virtual int vtkKWWidgetWithScrollbars::GetVerticalScrollbarVisibility  )  [virtual]
 

Set/Get the vertical scrollbar visibility (default to On).

virtual void vtkKWWidgetWithScrollbars::VerticalScrollbarVisibilityOn  )  [virtual]
 

Set/Get the vertical scrollbar visibility (default to On).

virtual void vtkKWWidgetWithScrollbars::VerticalScrollbarVisibilityOff  )  [virtual]
 

Set/Get the vertical scrollbar visibility (default to On).

virtual void vtkKWWidgetWithScrollbars::SetHorizontalScrollbarVisibility int  val  )  [virtual]
 

Set/Get the horizontal scrollbar visibility (default to On).

virtual int vtkKWWidgetWithScrollbars::GetHorizontalScrollbarVisibility  )  [virtual]
 

Set/Get the horizontal scrollbar visibility (default to On).

virtual void vtkKWWidgetWithScrollbars::HorizontalScrollbarVisibilityOn  )  [virtual]
 

Set/Get the horizontal scrollbar visibility (default to On).

virtual void vtkKWWidgetWithScrollbars::HorizontalScrollbarVisibilityOff  )  [virtual]
 

Set/Get the horizontal scrollbar visibility (default to On).

virtual vtkKWScrollbar* vtkKWWidgetWithScrollbars::GetVerticalScrollBar  )  [virtual]
 

Access the internal scrollbars.

virtual vtkKWScrollbar* vtkKWWidgetWithScrollbars::GetHorizontalScrollBar  )  [virtual]
 

Access the internal scrollbars.

virtual void vtkKWWidgetWithScrollbars::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 vtkKWCanvasWithScrollbars, vtkKWListBoxWithScrollbars, vtkKWMultiColumnListWithScrollbars, vtkKWTextWithScrollbars, and vtkKWTreeWithScrollbars.

virtual void vtkKWWidgetWithScrollbars::CreateHorizontalScrollbar vtkKWApplication app  )  [protected, virtual]
 

Create scrollbars and associate the scrollbars to a widget by setting up the callbacks between both instances. The associated *has* to be made for this class to work, but since we do not know the internal widget at that point, it is up to the subclass to reimplement both Create*Scrollbar() methods and have them simply call the super and the Associate*Scrollbar() methods with the internal argument as parameter.

Reimplemented in vtkKWCanvasWithScrollbars, vtkKWListBoxWithScrollbars, vtkKWMultiColumnListWithScrollbars, vtkKWTextWithScrollbars, and vtkKWTreeWithScrollbars.

virtual void vtkKWWidgetWithScrollbars::CreateVerticalScrollbar vtkKWApplication app  )  [protected, virtual]
 

Create scrollbars and associate the scrollbars to a widget by setting up the callbacks between both instances. The associated *has* to be made for this class to work, but since we do not know the internal widget at that point, it is up to the subclass to reimplement both Create*Scrollbar() methods and have them simply call the super and the Associate*Scrollbar() methods with the internal argument as parameter.

Reimplemented in vtkKWCanvasWithScrollbars, vtkKWListBoxWithScrollbars, vtkKWMultiColumnListWithScrollbars, vtkKWTextWithScrollbars, and vtkKWTreeWithScrollbars.

virtual void vtkKWWidgetWithScrollbars::AssociateHorizontalScrollbarToWidget vtkKWCoreWidget widget  )  [protected, virtual]
 

Create scrollbars and associate the scrollbars to a widget by setting up the callbacks between both instances. The associated *has* to be made for this class to work, but since we do not know the internal widget at that point, it is up to the subclass to reimplement both Create*Scrollbar() methods and have them simply call the super and the Associate*Scrollbar() methods with the internal argument as parameter.

virtual void vtkKWWidgetWithScrollbars::AssociateVerticalScrollbarToWidget vtkKWCoreWidget widget  )  [protected, virtual]
 

Create scrollbars and associate the scrollbars to a widget by setting up the callbacks between both instances. The associated *has* to be made for this class to work, but since we do not know the internal widget at that point, it is up to the subclass to reimplement both Create*Scrollbar() methods and have them simply call the super and the Associate*Scrollbar() methods with the internal argument as parameter.

virtual void vtkKWWidgetWithScrollbars::Pack  )  [protected, pure virtual]
 

Pack or repack the widget. This should be implemented by subclasses, but a convenience function PackScrollbarsWithWidget() can be called from the subclass just as easily.

Implemented in vtkKWCanvasWithScrollbars, vtkKWListBoxWithScrollbars, vtkKWMultiColumnListWithScrollbars, vtkKWTextWithScrollbars, and vtkKWTreeWithScrollbars.

virtual void vtkKWWidgetWithScrollbars::PackScrollbarsWithWidget vtkKWWidget widget  )  [protected, virtual]
 

Pack or repack the widget. This should be implemented by subclasses, but a convenience function PackScrollbarsWithWidget() can be called from the subclass just as easily.


Member Data Documentation

int vtkKWWidgetWithScrollbars::VerticalScrollbarVisibility [protected]
 

Scrollbar visibility flags

Definition at line 71 of file vtkKWWidgetWithScrollbars.h.

int vtkKWWidgetWithScrollbars::HorizontalScrollbarVisibility [protected]
 

Scrollbar visibility flags

Definition at line 72 of file vtkKWWidgetWithScrollbars.h.

vtkKWScrollbar* vtkKWWidgetWithScrollbars::VerticalScrollBar [protected]
 

Scrollbars

Definition at line 77 of file vtkKWWidgetWithScrollbars.h.

vtkKWScrollbar* vtkKWWidgetWithScrollbars::HorizontalScrollBar [protected]
 

Scrollbars

Definition at line 78 of file vtkKWWidgetWithScrollbars.h.


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