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

UItem Class Reference

Active Item gadget. More...

#include <ugadgets.hpp>

Inheritance diagram for UItem:

UBox UGroup List of all members.

Public Member Functions

 UItem (const UArgs &=UArgs::none)
virtual const UStylegetStyle (UContext *) const
 returns the contextual UStyle of this object

Static Public Member Functions

static const UStylemakeStyle ()
 creates the Style of this object.

Static Public Attributes

static UStylestyle = null
 corresponding Ubit UStyle

Friends

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

Detailed Description

Active Item gadget.

Active gadget that behaves as a UButton but has no decoration. It is typically used as a child of a UListbox or of a UTrow in a UTable (when active items a prefered to UTcells).

Geometry: same as ULabel

Default Properties: same as ULabel when object is idle.

Callbacks: see UButton.


Member Function Documentation

virtual const UStyle& UItem::getStyle UContext *   )  const [virtual]
 

returns the contextual UStyle of this object

This virtual function calls the makeStyle() static function that was redefined for this specific class

Reimplemented from UBox.

const UStyle & UItem::makeStyle  )  [static]
 

creates the Style of this object.

This static function is redefined by each class that derives from UGroup. It is called by the virtual function UGroup::getStyle()

Reimplemented from UBox.


The documentation for this class was generated from the following files:
Generated on Thu May 19 12:40:32 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.2