Vaca::TabPage Class Reference

#include <Tab.h>

Inheritance diagram for Vaca::TabPage:

Vaca::Register< T > Vaca::Panel Vaca::Register< T > Vaca::Widget Vaca::Component Vaca::Referenceable Vaca::NonCopyable

List of all members.


Detailed Description

A page for an automatic Tab.

It's like a Panel.

Public Member Functions

 TabPage (const String &text, Tab *parent, Style style=TabPageStyle)
virtual ~TabPage ()
virtual String getText ()
 Returns the widget's text, label, or frame's title.
virtual void setText (const String &str)
 Changes the widget's text, label, or frame's title.
int getPageIndex ()

Private Attributes

int m_index


Constructor & Destructor Documentation

TabPage::TabPage ( const String text,
Tab parent,
Style  style = TabPageStyle 
)

TabPage::~TabPage (  )  [virtual]


Member Function Documentation

String TabPage::getText (  )  [virtual]

Returns the widget's text, label, or frame's title.

Win32 Specific:
It uses GetWindowTextLength(W32) and GetWindowText(W32).

See also:
setText

Reimplemented from Vaca::Widget.

void TabPage::setText ( const String str  )  [virtual]

Changes the widget's text, label, or frame's title.

Win32 Specific:
It uses the SetWindowText(W32).

Reimplemented from Vaca::Widget.

int TabPage::getPageIndex (  ) 


Member Data Documentation

int Vaca::TabPage::m_index [private]