Jive reference manual
List of all members | Public Member Functions | Public Attributes | Protected Member Functions
jem::gl::RubberBand Class Reference

#include <jem/gl/RubberBand.h>

Inheritance diagram for jem::gl::RubberBand:
Inheritance graph

Public Member Functions

 RubberBand (const String &name="")
 
virtual bool takeAction (const String &action, const Properties &params)
 
virtual bool takeGLAction (GfxContext &gtx, int action, const Properties &params)
 
bool isActive () const
 
bool isTransient () const
 
void start (GfxContext &gtx, const MouseDrag &mouse)
 
void start (GfxContext &gtx, const Ref< GfxNode > &scene, const MouseDrag &mouse)
 
void cancel ()
 
void cancel (GfxContext &gtx)
 
void setAspectRatio (double aspect)
 
void unsetAspectRatio ()
 
- Public Member Functions inherited from jem::gl::GfxNode
 GfxNode (const String &name="")
 
virtual String getContext () const
 
virtual GfxNodefindNode (const String &name) const
 
virtual bool takeNRAction (const String &action, const Properties &params)
 
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
 
GfxNodegetParent () 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 ClassgetClass () 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< Objectclone () const
 Returns a copy of this object. More...
 

Public Attributes

util::Event< GfxContext &, const Rect &, const MouseDrag & > selectEvent
 
util::Event< GfxContext & > cancelEvent
 

Protected Member Functions

virtual ~RubberBand ()
 
- 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 ClassgetType ()
 Returns the Class instance representing the Object class. More...
 
- Protected Attributes inherited from jem::NamedObject
String myName_
 

Constructor & Destructor Documentation

jem::gl::RubberBand::RubberBand ( const String name = "")
explicit
virtual jem::gl::RubberBand::~RubberBand ( )
protectedvirtual

Member Function Documentation

virtual bool jem::gl::RubberBand::takeAction ( const String action,
const Properties params 
)
virtual

Reimplemented from jem::gl::GfxNode.

virtual bool jem::gl::RubberBand::takeGLAction ( GfxContext gtx,
int  action,
const Properties params 
)
virtual

Implements jem::gl::GfxNode.

bool jem::gl::RubberBand::isActive ( ) const
bool jem::gl::RubberBand::isTransient ( ) const
void jem::gl::RubberBand::start ( GfxContext gtx,
const MouseDrag mouse 
)
void jem::gl::RubberBand::start ( GfxContext gtx,
const Ref< GfxNode > &  scene,
const MouseDrag mouse 
)
void jem::gl::RubberBand::cancel ( )
void jem::gl::RubberBand::cancel ( GfxContext gtx)
void jem::gl::RubberBand::setAspectRatio ( double  aspect)
void jem::gl::RubberBand::unsetAspectRatio ( )

Member Data Documentation

util::Event< GfxContext&, const Rect&, const MouseDrag& > jem::gl::RubberBand::selectEvent
util::Event< GfxContext& > jem::gl::RubberBand::cancelEvent