ClanLib
2.3.7
|
GUI focus change notification message. More...
#include <gui_message_focus_change.h>
Public Member Functions | |
Construction | |
CL_GUIMessage_FocusChange () | |
Constructs an input GUI message. More... | |
CL_GUIMessage_FocusChange (const CL_GUIMessage &message) | |
Constructs a GUIMessage FocusChange. More... | |
~CL_GUIMessage_FocusChange () | |
Operations | |
void | set_focus_type (FocusType focus_type) |
Sets the focus type for this Message. More... | |
Attributes | |
CL_StringRef | get_type () const |
Returns the message type name. More... | |
bool | is_type (const CL_StringRef &type) const |
Returns true if the message matches the type. More... | |
CL_SharedPtr< CL_GUIMessageData > | get_data (const CL_StringRef &data_name) const |
Returns the stored data object for a given data name. More... | |
CL_GUIComponent * | get_target () const |
Returns the target destination of the message. More... | |
bool | is_consumed () const |
Returns true if the message has been consumed by a component. More... | |
Operations | |
void | set_type (const CL_StringRef &type) |
Sets the message type name. More... | |
void | set_data (const CL_StringRef &data_name, const CL_SharedPtr< CL_GUIMessageData > &ptr) |
Stores an object in the given data name slot. More... | |
void | set_target (CL_GUIComponent *target) |
Sets the target destination. More... | |
void | set_null () |
Sets this message to be a null message. More... | |
void | set_consumed () |
Sets this message as consumed. More... | |
Attributes | |
enum | FocusType { losing_focus, gained_focus } |
FocusType | get_focus_type () const |
Retrieves the focus type of this message. More... | |
static CL_StringRef | get_type_name () |
Get Type name. More... | |
GUI focus change notification message.
CL_GUIMessage_FocusChange::CL_GUIMessage_FocusChange | ( | ) |
Constructs an input GUI message.
CL_GUIMessage_FocusChange::CL_GUIMessage_FocusChange | ( | const CL_GUIMessage & | message) |
Constructs a GUIMessage FocusChange.
message | = GUIMessage |
CL_GUIMessage_FocusChange::~CL_GUIMessage_FocusChange | ( | ) |
|
inherited |
Returns the stored data object for a given data name.
FocusType CL_GUIMessage_FocusChange::get_focus_type | ( | ) | const |
Retrieves the focus type of this message.
|
inherited |
Returns the target destination of the message.
|
inherited |
Returns the message type name.
|
static |
Get Type name.
|
inherited |
Returns true if the message has been consumed by a component.
|
inherited |
Returns true if the message matches the type.
|
inherited |
Sets this message as consumed.
|
inherited |
Stores an object in the given data name slot.
void CL_GUIMessage_FocusChange::set_focus_type | ( | FocusType | focus_type) |
Sets the focus type for this Message.
|
inherited |
Sets this message to be a null message.
|
inherited |
Sets the target destination.
|
inherited |
Sets the message type name.