Jive reference manual
|
#include <jem/gl/StdEventHandler.h>
Public Member Functions | |
StdEventHandler (const Ref< Camera > &camera, const Ref< GfxNode > &world) | |
virtual void | reset () |
virtual void | redraw (GfxContext >x, int action, const Properties ¶ms) |
virtual void | newView (GfxContext >x, const Rect &vport) |
virtual void | keyPressed (GfxContext >x, const KeyPress &key) |
virtual void | mouseDragged (GfxContext >x, const MouseDrag &mouse) |
virtual bool | exeCommand (GfxContext >x, const String &cmd) |
virtual void | printHelp (PrintWriter &pr) |
virtual void | initMenu (Menu &menu) const |
virtual void | listOptions (Menu &menu) const |
virtual void | setFocus (const Ref< GfxNode > &node) |
char | getMode () const |
void | setMode (char mode) |
Public Member Functions inherited from jem::gl::EventHandler | |
virtual void | mouseClicked (GfxContext >x, const MouseClick &mouse) |
Public Member Functions inherited from jem::Object | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual String | toString () const |
Returns a short textual description 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 | |
Color | focusColor |
Static Public Attributes | |
static const char | NULL_MODE |
static const char | ZOOM_MODE |
static const char | ROTATION_MODE |
static const char | TRANSLATION_MODE |
Protected Member Functions | |
virtual | ~StdEventHandler () |
void | zoomView_ (GfxContext >x, int step) |
void | scaleFocus_ (GfxContext >x, int step) |
Protected Member Functions inherited from jem::gl::EventHandler | |
virtual | ~EventHandler () |
Protected Member Functions inherited from jem::Collectable | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Protected Attributes | |
Ref< Camera > | camera_ |
Ref< GfxNode > | world_ |
Ref< GfxNode > | focus_ |
Ref< GfxNode > | noFocus_ |
char | mode_ |
Additional Inherited Members | |
Static Public Member Functions inherited from jem::Object | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
jem::gl::StdEventHandler::StdEventHandler | ( | const Ref< Camera > & | camera, |
const Ref< GfxNode > & | world | ||
) |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::gl::EventHandler.
|
virtual |
Reimplemented from jem::gl::EventHandler.
Reimplemented in jem::gl::EventHandler3D, and jem::gl::EventHandler2D.
|
virtual |
Reimplemented from jem::gl::EventHandler.
|
virtual |
Reimplemented from jem::gl::EventHandler.
Reimplemented in jem::gl::EventHandler3D, and jem::gl::EventHandler2D.
|
virtual |
Reimplemented from jem::gl::EventHandler.
Reimplemented in jem::gl::EventHandler3D, and jem::gl::EventHandler2D.
|
virtual |
Reimplemented from jem::gl::EventHandler.
Reimplemented in jem::gl::EventHandler3D.
|
virtual |
Reimplemented from jem::gl::EventHandler.
Reimplemented in jem::gl::EventHandler3D, and jem::gl::EventHandler2D.
|
virtual |
Reimplemented from jem::gl::EventHandler.
|
virtual |
Reimplemented from jem::gl::EventHandler.
Reimplemented in jem::gl::EventHandler3D.
Reimplemented from jem::gl::EventHandler.
Reimplemented in jem::gl::EventHandler3D, and jem::gl::EventHandler2D.
char jem::gl::StdEventHandler::getMode | ( | ) | const |
void jem::gl::StdEventHandler::setMode | ( | char | mode | ) |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
Color jem::gl::StdEventHandler::focusColor |
|
protected |