Jive reference manual
|
#include <jem/gl/EventNode.h>
Public Member Functions | |
EventNode (const String &name="event", const Ref< GfxNode > &child=NIL) | |
virtual bool | takeAction (const String &action, const Properties ¶ms) |
virtual bool | takeGLAction (GfxContext >x, int action, const Properties ¶ms) |
bool | hasFocus () const |
void | takeFocus () |
void | giveFocus () |
Public Member Functions inherited from jem::gl::WrapperNode | |
WrapperNode (const String &name="", const Ref< GfxNode > &child=NIL) | |
virtual GfxNode * | findNode (const String &name) const |
virtual void | getBBox (Box &box) const |
virtual void | getVisibility (bool &viz, Box &vbox, const Transform &proj) const |
virtual void | configure (const Properties &props) |
virtual void | getConfig (const Properties &props) const |
virtual void | listProps (const Properties &props) const |
Public Member Functions inherited from jem::gl::GfxNode | |
GfxNode (const String &name="") | |
virtual String | getContext () const |
virtual bool | takeNRAction (const String &action, const Properties ¶ms) |
GfxNode * | getParent () const |
void | setParent (GfxNode *parent) |
void | clearParent () |
Public Member Functions inherited from jem::NamedObject | |
NamedObject (const String &name="") | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
String | getName () const |
Public Member Functions inherited from jem::Object | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Public Attributes | |
util::Event< bool > | focusEvent |
util::Event< GfxContext &, int, const Properties & > | redrawEvent |
util::Event< GfxContext &, const Rect & > | resizeEvent |
util::Event< GfxContext &, const KeyPress & > | keyEvent |
util::Event< GfxContext &, const MouseClick & > | mouseEvent |
util::Event< GfxContext &, const MouseDrag & > | dragEvent |
util::Event< GfxContext &, const String & > | commandEvent |
Protected Member Functions | |
virtual | ~EventNode () |
Protected Member Functions inherited from jem::gl::WrapperNode | |
virtual | ~WrapperNode () |
void | setChild_ (const Ref< GfxNode > &node) |
Protected Member Functions inherited from jem::gl::GfxNode | |
virtual | ~GfxNode () |
Protected Member Functions inherited from jem::NamedObject | |
virtual | ~NamedObject () |
Protected Member Functions inherited from jem::Collectable | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from jem::NamedObject | |
static String | makeContext (const String &kind, const String &name) |
Static Public Member Functions inherited from jem::Object | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Protected Attributes inherited from jem::gl::WrapperNode | |
Ref< GfxNode > | child_ |
Protected Attributes inherited from jem::NamedObject | |
String | myName_ |
|
explicit |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::gl::WrapperNode.
|
virtual |
Reimplemented from jem::gl::WrapperNode.
bool jem::gl::EventNode::hasFocus | ( | ) | const |
void jem::gl::EventNode::takeFocus | ( | ) |
void jem::gl::EventNode::giveFocus | ( | ) |
util::Event< bool > jem::gl::EventNode::focusEvent |
util::Event< GfxContext&, int, const Properties& > jem::gl::EventNode::redrawEvent |
util::Event< GfxContext&, const Rect& > jem::gl::EventNode::resizeEvent |
util::Event< GfxContext&, const KeyPress& > jem::gl::EventNode::keyEvent |
util::Event< GfxContext&, const MouseClick& > jem::gl::EventNode::mouseEvent |
util::Event< GfxContext&, const MouseDrag& > jem::gl::EventNode::dragEvent |
util::Event< GfxContext&, const String& > jem::gl::EventNode::commandEvent |