#include <messages.h>
Public Member Functions | |
virtual ClassDef | getType () const |
bool | execute (TreeItem *target, const ClassDef *classDef=nullptr, int flags=MSGFLAG_SCAN|MSGFLAG_BREAK_IF_HANDLED) |
bool | execute (const Common::String &target, const ClassDef *classDef=nullptr, int flags=MSGFLAG_SCAN|MSGFLAG_BREAK_IF_HANDLED) |
virtual bool | perform (TreeItem *treeItem) |
virtual bool | isMouseMsg () const |
virtual bool | isButtonDownMsg () const |
virtual bool | isButtonUpMsg () const |
virtual bool | isMouseMoveMsg () const |
virtual bool | isDoubleClickMsg () const |
Public Member Functions inherited from Ultima::Shared::BaseObject | |
virtual ::Ultima::Shared::ClassDef | getType () const |
bool | isInstanceOf (const ClassDef &classDef) const |
Static Public Member Functions | |
static ClassDef | type () |
static bool | supports (const TreeItem *treeItem, const ClassDef &classDef) |
Static Public Member Functions inherited from Ultima::Shared::BaseObject | |
::Ultima::Shared::ClassDef | type () |
Base class for all messages
bool Ultima::Shared::CMessage::execute | ( | TreeItem * | target, |
const ClassDef * | classDef = nullptr , |
||
int | flags = MSGFLAG_SCAN|MSGFLAG_BREAK_IF_HANDLED |
||
) |
Executes the message, passing it on to the designated target, and optionally it's children
bool Ultima::Shared::CMessage::execute | ( | const Common::String & | target, |
const ClassDef * | classDef = nullptr , |
||
int | flags = MSGFLAG_SCAN|MSGFLAG_BREAK_IF_HANDLED |
||
) |
Executes the message, passing it on to the designated target, and optionally it's children
|
virtual |
Makes the passed item execute the message
|
static |
Returns true if the passed item supports the specified message class