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

ULabel Class Reference

Label gadget. More...

#include <ugadgets.hpp>

Inheritance diagram for ULabel:

UBox UGroup List of all members.

Public Member Functions

 ULabel (const UArgs &a=UArgs::none)
 constructor; see also ~UGroup() and the creator shortcut ulabel()
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

ULabelulabel (const UArgs &a=UArgs::none)
 creator shortcut that is equivalent to *new ULabel().

Detailed Description

Label gadget.

Geometry:

Default Properties:

Example:
ULabel& my_label = ulabel( uima("whatever.jpg")+ " My Label" )

Note:
" My Label" is equivalent to: ustr(" My Label")


Member Function Documentation

virtual const UStyle& ULabel::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 & ULabel::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 11:39:25 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.2