FX::FXGLGroup Class Reference

#include <FXGLObject.h>

Inheritance diagram for FX::FXGLGroup:

Inheritance graph
[legend]

List of all members.


Detailed Description

Group object.

Public Types

enum  { ID_LAST }

Public Member Functions

 FXGLGroup ()
 FXGLGroup (const FXGLGroup &orig)
FXGLObjectListgetList ()
virtual void bounds (FXRangef &box)
virtual void draw (FXGLViewer *viewer)
virtual void hit (FXGLViewer *viewer)
virtual FXGLObjectcopy ()
virtual FXGLObjectidentify (FXuint *path)
virtual FXbool canDrag () const
virtual FXbool drag (FXGLViewer *viewer, FXint fx, FXint fy, FXint tx, FXint ty)
FXint no () const
FXGLObjectchild (FXint pos) const
void insert (FXint pos, FXGLObject *obj)
void prepend (FXGLObject *obj)
void append (FXGLObject *obj)
void replace (FXint pos, FXGLObject *obj)
void remove (FXGLObject *obj)
void erase (FXint pos)
void clear ()
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXGLGroup ()
virtual FXbool canDelete () const
virtual long onDefault (FXObject *, FXSelector, void *)
const FXchar * getClassName () const
bool isMemberOf (const FXMetaClass *metaclass) const
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
QTransString tr (const char *text, const char *hint=0)
virtual void * getPythonObject () const
virtual void decouplePythonObject () const

Protected Attributes

FXGLObjectList list

Constructor & Destructor Documentation

FX::FXGLGroup::FXGLGroup (  )  [inline]

Constructor.

FX::FXGLGroup::FXGLGroup ( const FXGLGroup orig  )  [inline]

Copy constructor.

virtual FX::FXGLGroup::~FXGLGroup (  )  [virtual]

Destructor.


Member Function Documentation

FXGLObjectList& FX::FXGLGroup::getList (  )  [inline]

Return list of childern.

virtual void FX::FXGLGroup::bounds ( FXRangef box  )  [virtual]

Return bounding box.

Reimplemented from FX::FXGLObject.

Reimplemented in FX::TnFXGraph, and FX::TnFX2DGraph.

virtual void FX::FXGLGroup::draw ( FXGLViewer viewer  )  [virtual]

Draw into viewer.

Reimplemented from FX::FXGLObject.

Reimplemented in FX::TnFXGraph, and FX::TnFX2DGraph.

virtual void FX::FXGLGroup::hit ( FXGLViewer viewer  )  [virtual]

Hit in viewer.

Reimplemented from FX::FXGLObject.

Reimplemented in FX::TnFXGraph, and FX::TnFX2DGraph.

virtual FXGLObject* FX::FXGLGroup::copy (  )  [virtual]

Copy this object.

Reimplemented from FX::FXGLObject.

virtual FXGLObject* FX::FXGLGroup::identify ( FXuint *  path  )  [virtual]

Identify object by means of path.

Reimplemented from FX::FXGLObject.

virtual FXbool FX::FXGLGroup::canDrag (  )  const [virtual]

Return TRUE if group can be dragged.

Reimplemented from FX::FXGLObject.

virtual FXbool FX::FXGLGroup::drag ( FXGLViewer viewer,
FXint  fx,
FXint  fy,
FXint  tx,
FXint  ty 
) [virtual]

Drag group object.

Reimplemented from FX::FXGLObject.

FXint FX::FXGLGroup::no (  )  const [inline]

Return number of children.

FXGLObject* FX::FXGLGroup::child ( FXint  pos  )  const [inline]

Child at position.

void FX::FXGLGroup::insert ( FXint  pos,
FXGLObject obj 
) [inline]

Insert child object at given position.

void FX::FXGLGroup::prepend ( FXGLObject obj  )  [inline]

Prepend child object.

void FX::FXGLGroup::append ( FXGLObject obj  )  [inline]

Append child object.

void FX::FXGLGroup::replace ( FXint  pos,
FXGLObject obj 
) [inline]

Replace child object.

void FX::FXGLGroup::remove ( FXGLObject obj  )  [inline]

Remove child object.

void FX::FXGLGroup::erase ( FXint  pos  )  [inline]

Remove child object at given position.

void FX::FXGLGroup::clear (  )  [inline]

Remove all children.

virtual void FX::FXGLGroup::save ( FXStream store  )  const [virtual]

Stream save and load.

Reimplemented from FX::FXObject.

virtual void FX::FXGLGroup::load ( FXStream store  )  [virtual]

Load object from stream.

Reimplemented from FX::FXObject.

virtual FXbool FX::FXGLObject::canDelete (  )  const [virtual, inherited]

Return true if this object can be deleted from the scene.

Reimplemented in FX::FXGLShape.

virtual long FX::FXObject::onDefault ( FXObject ,
FXSelector  ,
void *   
) [virtual, inherited]

Called for unhandled messages.

Reimplemented in FX::FXDelegator, FX::FXGLViewer, FX::FXMDIChild, and FX::FXMDIClient.

const FXchar* FX::FXObject::getClassName (  )  const [inherited]

Get class name of some object.

bool FX::FXObject::isMemberOf ( const FXMetaClass metaclass  )  const [inherited]

Check if object is member of metaclass.

virtual long FX::FXObject::tryHandle ( FXObject sender,
FXSelector  sel,
void *  ptr 
) [virtual, inherited]

Try handle message safely.

QTransString FX::FXObject::tr ( const char *  text,
const char *  hint = 0 
) [inherited]

Returns a human translated version of the text to the locale language (warning: uses a virtual method call, so can't use before construction)

virtual void* FX::FXObject::getPythonObject (  )  const [inline, virtual, inherited]

Returns the python object representing this instance (if created in python).

virtual void FX::FXObject::decouplePythonObject (  )  const [inline, virtual, inherited]

Causes decoupling of python object from this object (deletes self).


The documentation for this class was generated from the following file:

(C) 2002-2008 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Jun 13 21:59:58 2008 for TnFOX by doxygen v1.5.6