bpp-phyl  2.2.0
bpp::TreeDrawingListener Class Referenceabstract

Interface allowing to capture drawing events. More...

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

+ Inheritance diagram for bpp::TreeDrawingListener:
+ Collaboration diagram for bpp::TreeDrawingListener:

Public Member Functions

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

Detailed Description

Interface allowing to capture drawing events.

Implementing this interface allows you to easily and efficiently tune a plot, and/or add elements to it.

Definition at line 55 of file TreeDrawingListener.h.

Member Function Documentation

◆ afterDrawBranch()

virtual void bpp::TreeDrawingListener::afterDrawBranch ( const DrawBranchEvent event)
pure virtual

◆ afterDrawNode()

◆ afterDrawTree()

virtual void bpp::TreeDrawingListener::afterDrawTree ( const DrawTreeEvent event)
pure virtual

◆ beforeDrawBranch()

virtual void bpp::TreeDrawingListener::beforeDrawBranch ( const DrawBranchEvent event)
pure virtual

◆ beforeDrawNode()

virtual void bpp::TreeDrawingListener::beforeDrawNode ( const DrawNodeEvent event)
pure virtual

◆ beforeDrawTree()

virtual void bpp::TreeDrawingListener::beforeDrawTree ( const DrawTreeEvent event)
pure virtual

◆ clone()

◆ enable()

virtual void bpp::TreeDrawingListener::enable ( bool  tf)
pure virtual

◆ isAutonomous()

virtual bool bpp::TreeDrawingListener::isAutonomous ( ) const
pure virtual

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

Implemented in bpp::TreeDrawingListenerAdapter.

◆ isEnabled()

virtual bool bpp::TreeDrawingListener::isEnabled ( ) const
pure virtual

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