ubit::UCardbox Class Reference

Card box (or Tabbed Pane). More...

#include <uboxes.hpp>

Inheritance diagram for ubit::UCardbox:

ubit::UBox ubit::UGroup ubit::UControl ubit::UBrick ubit::UObject List of all members.

Public Member Functions

 UCardbox (const UArgs &a=UArgs::none)
virtual void addTab (UBox &card)
 adds an unnamed tab.
virtual void addTab (const UArgs &label, UBox &card)
 adds a named tab (label is the name shown in the tab).
virtual UBoxgetTab (int Nth) const
virtual UBoxgetCard (int Nth) const
virtual UBoxgetSelectedTab () const
virtual UBoxgetSelectedCard () const
virtual int getSelectedIndex () const
 returns the index of the selected tab. returns -1 if there is no selected tab.
virtual void setSelectedIndex (int n)
 selects the Nth tab; selects the last tab if n = -1.
UListboxtabs ()
 returns the tab list.
UChoicechoice ()
 returns the UChoice object that controls the selection of the tab list.

Static Public Member Functions

static UStylecreateStyle ()
 < important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).

Friends

UCardboxucardbox (const UArgs &a=UArgs::none)

Detailed Description

Card box (or Tabbed Pane).


Member Function Documentation

UStyle * ubit::UCardbox::createStyle (  )  [static]

< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).

this macro defines the UClass that corresponds to this class and:

Reimplemented from ubit::UBox.


The documentation for this class was generated from the following files:
Generated on Mon Jan 29 00:20:43 2007 for Ubit by  doxygen 1.4.7