bpp-phyl3
3.0.0
|
An empty implementation of the TreeDrawingListener interface. More...
#include <Bpp/Phyl/Graphics/TreeDrawingListener.h>
Public Member Functions | |
TreeDrawingListenerAdapter (bool autonomous) | |
void | beforeDrawTree (const DrawTreeEvent &event) |
void | afterDrawTree (const DrawTreeEvent &event) |
void | beforeDrawNode (const DrawNodeEvent &event) |
void | afterDrawNode (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) |
TreeDrawingListener * | clone () const =0 |
Private Attributes | |
bool | autonomous_ |
bool | enabled_ |
An empty implementation of the TreeDrawingListener interface.
Definition at line 47 of file TreeDrawingListener.h.
|
inline |
Definition at line 55 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Reimplemented in bpp::BootstrapValuesTreeDrawingListener, and bpp::BranchLengthsTreeDrawingListener.
Definition at line 63 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Reimplemented in bpp::LabelCollapsedNodesTreeDrawingListener, bpp::LabelInnerNodesTreeDrawingListener, bpp::LeafNamesTreeDrawingListener, and bpp::NodesIdTreeDrawingListener.
Definition at line 61 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 59 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 62 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 60 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 58 of file TreeDrawingListener.h.
|
pure virtualinherited |
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 66 of file TreeDrawingListener.h.
References enabled_.
|
inlinevirtual |
Tells if the listener is autonomous. If so, it will never be hard-copied or deleted.
Implements bpp::TreeDrawingListener.
Definition at line 64 of file TreeDrawingListener.h.
References autonomous_.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 65 of file TreeDrawingListener.h.
References enabled_.
|
private |
Definition at line 51 of file TreeDrawingListener.h.
Referenced by isAutonomous().
|
private |
Definition at line 52 of file TreeDrawingListener.h.
Referenced by enable(), and isEnabled().