Public Member Functions | Public Attributes

fl7::faces::Button Class Reference

#include <Button.h>

Inheritance diagram for fl7::faces::Button:
fl7::faces::Control fl7::faces::Face

List of all members.

Public Member Functions

 Button (Shell *const shell)
virtual ~Button (void)
const cl7::string_typeGetCaption () const
const ImageGetImage () const
ImageGetImage ()
bool GetPressed () const
void SetCaption (const cl7::string_type &caption)
void SetImage (const Image &image)
void SetPressed (bool pressed)

Public Attributes

events::EventHandler
< events::EventArgs
OnClickEventHandler
events::EventHandler
< events::EventArgs
OnPeriodicActionEventHandler
friend Shell

Detailed Description

The class for clickable buttons.


Constructor & Destructor Documentation

fl7::faces::Button::Button ( Shell *const   shell  ) 

Explicit constructor.

fl7::faces::Button::~Button ( void   )  [virtual]

Destructor.


Member Function Documentation

const cl7::string_type& fl7::faces::Button::GetCaption (  )  const [inline]

Returns the caption of this button.

const Image& fl7::faces::Button::GetImage (  )  const [inline]

Returns the image to eventually display on this button.

Image& fl7::faces::Button::GetImage (  )  [inline]

Returns the image to eventually display on this button.

bool fl7::faces::Button::GetPressed (  )  const [inline]

Returns the flag indicating whether this button is pressed.

void fl7::faces::Button::SetCaption ( const cl7::string_type caption  )  [inline]

Sets the caption of this button.

void fl7::faces::Button::SetImage ( const Image image  )  [inline]

Sets the image to eventually display on this button.

void fl7::faces::Button::SetPressed ( bool  pressed  )  [inline]

Sets the flag indicating whether this button is pressed.


Member Data Documentation

Will be called after this button has been clicked.

Will be called after a certain amount of time while this button is in action.

Reimplemented from fl7::faces::Control.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines