extends OpenCAGE.GIF.Node_Model_Observer
private OpenCAGE.GUI.Displays.Node_Displays.Node_Display Node |
holds a pointer to the node display to notify
Is called by the observed node when it is asked to destroy itself. [This description is adopted from 'OpenCAGE.GIF.Node_Model_Observer'.]
Is called by the observed node when it has changed. [This description is adopted from 'OpenCAGE.GIF.Node_Model_Observer'.]
Is called by the observed node when a child is added. [This description is adopted from 'OpenCAGE.GIF.Node_Model_Observer'.]
Is called by the observed node when a child is removed. [This description is adopted from 'OpenCAGE.GIF.Node_Model_Observer'.]
Is called by the observed node when an incoming edge was added. [This description is adopted from 'OpenCAGE.GIF.Node_Model_Observer'.]
Is called by the observed node when an outgoing edge was added. [This description is adopted from 'OpenCAGE.GIF.Node_Model_Observer'.]
Is called by the observed node when an incoming edge was removed. [This description is adopted from 'OpenCAGE.GIF.Node_Model_Observer'.]
Is called by the observed node when an outgoing edge was removed. [This description is adopted from 'OpenCAGE.GIF.Node_Model_Observer'.]
extends OpenCAGE.GUI.Displays.Object_Displays.Object_Display
This class holds the data needed for the visualization, e.g. positions of nodes, visibility, the assigned pixmaps, etc. Each Node_Display has its own Node_Model.
private Graphics.Points.Point Position |
This is the centre point of the node
private Graphics.Pixmaps.Pixmap Pixmap |
The pixmap representing this node
private OpenCAGE.GIF.Node_Model Node_Model |
This attribute points to the Node_Displays its node model
private Boolean Candidate |
True if Node is Candidate for beeing clicked, false if not.
private Graphics.Area_Sizes.Area_Size Size |
This is the size of the pixmap of the node in pixels
private Graphics.Area_Sizes.Area_Size Half_Size |
This is the half size of the pixmap of the nod in pixels. It is needed to calculate things in the Quad_Tree.
private OpenCAGE.GUI.Displays.Node_Displays.Model_Observer Model_Observer |
Sets the attribute Size. Size is also an attribute of Pixmap. To avoid inconsistencies this method is private.
Sets the attribute Half_Size. Size is also an attribute of Pixmap. To avoid inconsistencies this method is private.
Is called by Update. Don't ever called from somewhere else unless you know what you're doing. This method is protected, i.e. it should not be called from outside. Unfortunatly Ada doesn't support this feature. [This description is adopted from 'OpenCAGE.GUI.Displays.Object_Displays.Object_Display'.]
see Visitor Pattern [This description is adopted from 'OpenCAGE.GUI.Displays.Object_Displays.Object_Display'.]
extends FET.Pot_Element
private OpenCAGE.GUI.Displays.Node_Displays.Node_Display Value |