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

#include <jem/gl/MenuNode.h>

Inheritance diagram for jem::gl::MenuNode:
Inheritance graph

Public Member Functions

 MenuNode (const String &name, const Menu &menu)
 
 MenuNode (const String &name, const Array< String > &list)
 
virtual bool takeAction (const String &action, const Properties &params)
 
virtual bool takeGLAction (GfxContext &gtx, int action, const Properties &params)
 
virtual void setChild (const Ref< GfxNode > &child)
 
virtual Ref< GfxNodegetChild () const
 
void show (GfxContext &gtx, const Ref< GfxNode > &node)
 
void show (GfxContext &gtx, const Ref< GfxNode > &node, int xPos, int yPos)
 
void hide ()
 
void hide (GfxContext &gtx)
 
bool isActive () const
 
- Public Member Functions inherited from jem::gl::WrapperNode
 WrapperNode (const String &name="", const Ref< GfxNode > &child=NIL)
 
virtual GfxNodefindNode (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 &params)
 
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 String & > selectEvent
 

Protected Member Functions

virtual ~MenuNode ()
 
- 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...
 
- Protected Member Functions inherited from jem::gl::Pivotable
virtual ~Pivotable ()
 
- Protected Member Functions inherited from jem::Interface
virtual ~Interface ()
 Empty destructor. 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::gl::WrapperNode
Ref< GfxNodechild_
 
- Protected Attributes inherited from jem::NamedObject
String myName_
 

Constructor & Destructor Documentation

jem::gl::MenuNode::MenuNode ( const String name,
const Menu menu 
)
jem::gl::MenuNode::MenuNode ( const String name,
const Array< String > &  list 
)
virtual jem::gl::MenuNode::~MenuNode ( )
protectedvirtual

Member Function Documentation

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

Reimplemented from jem::gl::WrapperNode.

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

Reimplemented from jem::gl::WrapperNode.

virtual void jem::gl::MenuNode::setChild ( const Ref< GfxNode > &  child)
virtual

Implements jem::gl::Pivotable.

virtual Ref<GfxNode> jem::gl::MenuNode::getChild ( ) const
virtual

Implements jem::gl::Pivotable.

void jem::gl::MenuNode::show ( GfxContext gtx,
const Ref< GfxNode > &  node 
)
void jem::gl::MenuNode::show ( GfxContext gtx,
const Ref< GfxNode > &  node,
int  xPos,
int  yPos 
)
void jem::gl::MenuNode::hide ( )
void jem::gl::MenuNode::hide ( GfxContext gtx)
bool jem::gl::MenuNode::isActive ( ) const

Member Data Documentation

util::Event< GfxContext&, const String& > jem::gl::MenuNode::selectEvent