bpp-phyl
2.2.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 87 of file TreeDrawingListener.h.
|
inline |
Definition at line 95 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Reimplemented in bpp::BootstrapValuesTreeDrawingListener, and bpp::BranchLengthsTreeDrawingListener.
Definition at line 103 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Reimplemented in bpp::LabelCollapsedNodesTreeDrawingListener, bpp::LabelInnerNodesTreeDrawingListener, bpp::LeafNamesTreeDrawingListener, and bpp::NodesIdTreeDrawingListener.
Definition at line 101 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 99 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 102 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 100 of file TreeDrawingListener.h.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 98 of file TreeDrawingListener.h.
|
pure virtualinherited |
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 106 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 104 of file TreeDrawingListener.h.
References autonomous_.
|
inlinevirtual |
Implements bpp::TreeDrawingListener.
Definition at line 105 of file TreeDrawingListener.h.
References enabled_.
|
private |
Definition at line 91 of file TreeDrawingListener.h.
Referenced by isAutonomous().
|
private |
Definition at line 92 of file TreeDrawingListener.h.
Referenced by enable(), and isEnabled().