bpp-phyl
2.2.0
|
Easy tune of tree drawings display, a basic implementation: More...
#include <Bpp/Phyl/Graphics/TreeDrawingDisplayControler.h>
Public Member Functions | |
BasicTreeDrawingDisplayControler (const TreeDrawingSettings *settings) throw (NullPointerException) | |
void | addListener (const std::string &propertyName, TreeDrawingListener *listener) throw (Exception) |
Add a listener to the controler. The controler then owns the object, and will copy or delete it when needed. More... | |
bool | hasListenerFor (const std::string &propertyName) const |
void | enableListener (const std::string &propertyName, bool tf) throw (Exception) |
bool | isListenerEnabled (const std::string &propertyName) const throw (Exception) |
void | registerTreeDrawing (TreeDrawing *td) throw (Exception) |
Static Public Attributes | |
static const std::string | PROPERTY_NODE_IDS = "Node ids" |
static const std::string | PROPERTY_LEAF_NAMES = "Leaf names" |
static const std::string | PROPERTY_BRANCH_LENGTHS = "Branch lengths" |
static const std::string | PROPERTY_BOOTSTRAP_VALUES = "Bootstrap values" |
Private Member Functions | |
BasicTreeDrawingDisplayControler (const BasicTreeDrawingDisplayControler &) | |
BasicTreeDrawingDisplayControler & | operator= (const BasicTreeDrawingDisplayControler &) |
Private Attributes | |
const TreeDrawingSettings * | settings_ |
Easy tune of tree drawings display, a basic implementation:
This class maintains several "standard" drawing listener for:
This controler takes as an argument a TreeDrawingSettings object that is used by all listeners that require one.
Definition at line 149 of file TreeDrawingDisplayControler.h.
|
inline |
Definition at line 162 of file TreeDrawingDisplayControler.h.
References bpp::TreeDrawingDisplayControler::addListener(), PROPERTY_BOOTSTRAP_VALUES, PROPERTY_BRANCH_LENGTHS, PROPERTY_LEAF_NAMES, PROPERTY_NODE_IDS, and settings_.
|
inlineprivate |
Definition at line 174 of file TreeDrawingDisplayControler.h.
|
inherited |
Add a listener to the controler. The controler then owns the object, and will copy or delete it when needed.
Definition at line 56 of file TreeDrawingDisplayControler.cpp.
Referenced by BasicTreeDrawingDisplayControler().
|
inlineinherited |
Definition at line 109 of file TreeDrawingDisplayControler.h.
References bpp::TreeDrawingDisplayControler::hasListenerFor(), and bpp::TreeDrawingDisplayControler::listeners_.
|
inlineinherited |
Definition at line 104 of file TreeDrawingDisplayControler.h.
References bpp::TreeDrawingDisplayControler::listeners_.
Referenced by bpp::TreeDrawingDisplayControler::enableListener(), and bpp::TreeDrawingDisplayControler::isListenerEnabled().
|
inlineinherited |
Definition at line 116 of file TreeDrawingDisplayControler.h.
References bpp::TreeDrawingDisplayControler::hasListenerFor(), and bpp::TreeDrawingDisplayControler::listeners_.
|
inlineprivate |
Definition at line 175 of file TreeDrawingDisplayControler.h.
|
inlineinherited |
Definition at line 123 of file TreeDrawingDisplayControler.h.
References bpp::TreeDrawingDisplayControler::listeners_, and bpp::TreeDrawingDisplayControler::registeredTreeDrawings_.
|
static |
Definition at line 156 of file TreeDrawingDisplayControler.h.
Referenced by BasicTreeDrawingDisplayControler().
|
static |
Definition at line 155 of file TreeDrawingDisplayControler.h.
Referenced by BasicTreeDrawingDisplayControler().
|
static |
Definition at line 154 of file TreeDrawingDisplayControler.h.
Referenced by BasicTreeDrawingDisplayControler().
|
static |
Definition at line 153 of file TreeDrawingDisplayControler.h.
Referenced by BasicTreeDrawingDisplayControler().
|
private |
Definition at line 159 of file TreeDrawingDisplayControler.h.
Referenced by BasicTreeDrawingDisplayControler().