FloatToolItem Class Reference

FloatToolItem add a BButton with a visualisation of a FloatValue to a ToolBar. More...

Inheritance diagram for FloatToolItem:

Inheritance graph
[legend]
Collaboration diagram for FloatToolItem:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FloatToolItem (const char *name, float newValue, BMessage *msg)
 FloatToolItem (BMessage *msg)
 ~FloatToolItem (void)
virtual void AttachedToToolBar (ToolBar *tb)
virtual void DetachedFromToolBar (ToolBar *tb)
virtual status_t Archive (BMessage *archive, bool deep=true) const
virtual BString * GetDescription (void)
virtual void SetDescription (BString *descript)
virtual BString * GetToolTip (void)
virtual void SetToolTip (BString *toolT)
virtual const char * GetName (void)
virtual float GetValue (void)
void SetValue (float)
virtual void Draw (BRect updateRect)
virtual BRect Frame (void)
virtual void MoveTo (float x, float y)
virtual void ResizeTo (float width, float height)
virtual void MessageReceived (BMessage *message)
virtual rgb_color TextViewColor (void)
virtual void SetTextViewColor (rgb_color rgb)

Static Public Member Functions

static BArchivable * Instantiate (BMessage *archive)

Protected Member Functions

void Init ()

Protected Attributes

const char * tName
float value
BString * description
BString * toolTip
BTextControl * textValue


Detailed Description

FloatToolItem add a BButton with a visualisation of a FloatValue to a ToolBar.

Author:
Paradoxon powered by Jesus Christ
Version:
0.01
Date:
2005/10/04
See also:
ToolBar

ToolMenu


Constructor & Destructor Documentation

FloatToolItem::FloatToolItem ( const char *  name,
float  newValue,
BMessage *  msg 
)

FloatToolItem::FloatToolItem ( BMessage *  msg  ) 

FloatToolItem::~FloatToolItem ( void   ) 


Member Function Documentation

status_t FloatToolItem::Archive ( BMessage *  archive,
bool  deep = true 
) const [virtual]

Reimplemented from BaseItem.

void FloatToolItem::AttachedToToolBar ( ToolBar tb  )  [virtual]

Reimplemented from BaseItem.

void FloatToolItem::DetachedFromToolBar ( ToolBar tb  )  [virtual]

Reimplemented from BaseItem.

void FloatToolItem::Draw ( BRect  updateRect  )  [virtual]

Implements BaseItem.

virtual BRect FloatToolItem::Frame ( void   )  [inline, virtual]

Implements BaseItem.

virtual BString* FloatToolItem::GetDescription ( void   )  [inline, virtual]

virtual const char* FloatToolItem::GetName ( void   )  [inline, virtual]

virtual BString* FloatToolItem::GetToolTip ( void   )  [inline, virtual]

float FloatToolItem::GetValue ( void   )  [virtual]

void FloatToolItem::Init ( void   )  [protected]

BArchivable * FloatToolItem::Instantiate ( BMessage *  archive  )  [static]

Reimplemented from BaseItem.

void FloatToolItem::MessageReceived ( BMessage *  message  )  [virtual]

virtual void FloatToolItem::MoveTo ( float  x,
float  y 
) [inline, virtual]

Implements BaseItem.

virtual void FloatToolItem::ResizeTo ( float  width,
float  height 
) [inline, virtual]

Implements BaseItem.

virtual void FloatToolItem::SetDescription ( BString *  descript  )  [inline, virtual]

virtual void FloatToolItem::SetTextViewColor ( rgb_color  rgb  )  [inline, virtual]

virtual void FloatToolItem::SetToolTip ( BString *  toolT  )  [inline, virtual]

void FloatToolItem::SetValue ( float  newValue  ) 

virtual rgb_color FloatToolItem::TextViewColor ( void   )  [inline, virtual]


Member Data Documentation

BString* FloatToolItem::description [protected]

BTextControl* FloatToolItem::textValue [protected]

const char* FloatToolItem::tName [protected]

BString* FloatToolItem::toolTip [protected]

float FloatToolItem::value [protected]


The documentation for this class was generated from the following files:

Generated on Sun Jun 21 01:09:24 2009 for ProjektConceptor by  doxygen 1.5.9