5 #ifndef BPP_PHYL_GRAPHICS_TREEDRAWINGLISTENER_H
6 #define BPP_PHYL_GRAPHICS_TREEDRAWINGLISTENER_H
91 TreeDrawingListenerAdapter::operator=(lntdl);
125 TreeDrawingListenerAdapter::operator=(lntdl);
163 TreeDrawingListenerAdapter::operator=(lntdl);
200 TreeDrawingListenerAdapter::operator=(lntdl);
A TreeDrawingListener implementation that write the bootstrap values of inner nodes.
BootstrapValuesTreeDrawingListener(const BootstrapValuesTreeDrawingListener &lntdl)
BootstrapValuesTreeDrawingListener & operator=(const BootstrapValuesTreeDrawingListener &lntdl)
BootstrapValuesTreeDrawingListener(const TreeDrawingSettings *settings, bool autonomous=false)
const TreeDrawingSettings * settings_
BootstrapValuesTreeDrawingListener * clone() const
void afterDrawBranch(const DrawBranchEvent &event)
A TreeDrawingListener implementation that write the branch lengths of inner nodes.
BranchLengthsTreeDrawingListener(const BranchLengthsTreeDrawingListener &lntdl)
BranchLengthsTreeDrawingListener(const TreeDrawingSettings *settings, bool autonomous=false)
void afterDrawBranch(const DrawBranchEvent &event)
BranchLengthsTreeDrawingListener * clone() const
BranchLengthsTreeDrawingListener & operator=(const BranchLengthsTreeDrawingListener &lntdl)
const TreeDrawingSettings * settings_
Event class used by TreeDrawing classes.
Event class used by TreeDrawing classes.
Event class used by TreeDrawing classes.
A TreeDrawingListener implementation that label the collapsed nodes.
LabelCollapsedNodesTreeDrawingListener(bool autonomous=false)
LabelCollapsedNodesTreeDrawingListener * clone() const
void afterDrawNode(const DrawNodeEvent &event)
A TreeDrawingListener implementation that write the names of inner nodes.
void afterDrawNode(const DrawNodeEvent &event)
LabelInnerNodesTreeDrawingListener * clone() const
LabelInnerNodesTreeDrawingListener(bool autonomous=false)
A TreeDrawingListener implementation that write leaf names.
LeafNamesTreeDrawingListener * clone() const
LeafNamesTreeDrawingListener & operator=(const LeafNamesTreeDrawingListener &lntdl)
void afterDrawNode(const DrawNodeEvent &event)
const TreeDrawingSettings * settings_
LeafNamesTreeDrawingListener(const TreeDrawingSettings *settings, bool autonomous=false)
LeafNamesTreeDrawingListener(const LeafNamesTreeDrawingListener &lntdl)
A TreeDrawingListener implementation that writes nodes id.
NodesIdTreeDrawingListener & operator=(const NodesIdTreeDrawingListener &lntdl)
NodesIdTreeDrawingListener(const NodesIdTreeDrawingListener &lntdl)
void afterDrawNode(const DrawNodeEvent &event)
NodesIdTreeDrawingListener * clone() const
const TreeDrawingSettings * settings_
NodesIdTreeDrawingListener(const TreeDrawingSettings *settings, bool autonomous=false)
An empty implementation of the TreeDrawingListener interface.
void beforeDrawTree(const DrawTreeEvent &event)
bool isAutonomous() const
Tells if the listener is autonomous. If so, it will never be hard-copied or deleted.
void afterDrawBranch(const DrawBranchEvent &event)
void afterDrawNode(const DrawNodeEvent &event)
void beforeDrawNode(const DrawNodeEvent &event)
void beforeDrawBranch(const DrawBranchEvent &event)
void afterDrawTree(const DrawTreeEvent &event)
TreeDrawingListenerAdapter(bool autonomous)
Interface allowing to capture drawing events.
virtual bool isEnabled() const =0
TreeDrawingListener * clone() const =0
virtual void afterDrawBranch(const DrawBranchEvent &event)=0
virtual void beforeDrawTree(const DrawTreeEvent &event)=0
virtual void afterDrawTree(const DrawTreeEvent &event)=0
virtual void beforeDrawNode(const DrawNodeEvent &event)=0
virtual bool isAutonomous() const =0
Tells if the listener is autonomous. If so, it will never be hard-copied or deleted.
virtual void beforeDrawBranch(const DrawBranchEvent &event)=0
virtual void afterDrawNode(const DrawNodeEvent &event)=0
virtual void enable(bool tf)=0
A set of options to tune the display of a TreeDrawing object.
Defines the basic types of data flow nodes.