bpp-phyl  2.3.0
bpp::LabelCollapsedNodesTreeDrawingListener Class Reference

A TreeDrawingListener implementation that label the collapsed nodes. More...

#include <Bpp/Phyl/Graphics/TreeDrawingListener.h>

+ Inheritance diagram for bpp::LabelCollapsedNodesTreeDrawingListener:
+ Collaboration diagram for bpp::LabelCollapsedNodesTreeDrawingListener:

Public Member Functions

 LabelCollapsedNodesTreeDrawingListener (bool autonomous=false)
 
LabelCollapsedNodesTreeDrawingListenerclone () const
 
void afterDrawNode (const DrawNodeEvent &event)
 
void beforeDrawTree (const DrawTreeEvent &event)
 
void afterDrawTree (const DrawTreeEvent &event)
 
void beforeDrawNode (const DrawNodeEvent &event)
 
void beforeDrawBranch (const DrawBranchEvent &event)
 
void afterDrawBranch (const DrawBranchEvent &event)
 
bool isAutonomous () const
 Tells if the listener is autonomous. If so, it will never be hard-copied or deleted. More...
 
bool isEnabled () const
 
void enable (bool tf)
 

Detailed Description

A TreeDrawingListener implementation that label the collapsed nodes.

This listener works with TreeDrawing classes, but is more efficient when used with a class that fires DrawINodeEvent events.

Definition at line 282 of file TreeDrawingListener.h.

Constructor & Destructor Documentation

bpp::LabelCollapsedNodesTreeDrawingListener::LabelCollapsedNodesTreeDrawingListener ( bool  autonomous = false)
inline

Definition at line 286 of file TreeDrawingListener.h.

Member Function Documentation

void bpp::TreeDrawingListenerAdapter::afterDrawBranch ( const DrawBranchEvent event)
inlinevirtualinherited
void bpp::TreeDrawingListenerAdapter::afterDrawTree ( const DrawTreeEvent event)
inlinevirtualinherited

Implements bpp::TreeDrawingListener.

Definition at line 95 of file TreeDrawingListener.h.

void bpp::TreeDrawingListenerAdapter::beforeDrawBranch ( const DrawBranchEvent event)
inlinevirtualinherited

Implements bpp::TreeDrawingListener.

Definition at line 98 of file TreeDrawingListener.h.

void bpp::TreeDrawingListenerAdapter::beforeDrawNode ( const DrawNodeEvent event)
inlinevirtualinherited

Implements bpp::TreeDrawingListener.

Definition at line 96 of file TreeDrawingListener.h.

void bpp::TreeDrawingListenerAdapter::beforeDrawTree ( const DrawTreeEvent event)
inlinevirtualinherited

Implements bpp::TreeDrawingListener.

Definition at line 94 of file TreeDrawingListener.h.

LabelCollapsedNodesTreeDrawingListener* bpp::LabelCollapsedNodesTreeDrawingListener::clone ( ) const
inlinevirtual
void bpp::TreeDrawingListenerAdapter::enable ( bool  tf)
inlinevirtualinherited

Implements bpp::TreeDrawingListener.

Definition at line 102 of file TreeDrawingListener.h.

bool bpp::TreeDrawingListenerAdapter::isAutonomous ( ) const
inlinevirtualinherited

Tells if the listener is autonomous. If so, it will never be hard-copied or deleted.

Implements bpp::TreeDrawingListener.

Definition at line 100 of file TreeDrawingListener.h.

bool bpp::TreeDrawingListenerAdapter::isEnabled ( ) const
inlinevirtualinherited

Implements bpp::TreeDrawingListener.

Definition at line 101 of file TreeDrawingListener.h.


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