alma::acsplugins::alarmsystem::gui::tree::AlarmTree Class Reference

Inheritance diagram for alma::acsplugins::alarmsystem::gui::tree::AlarmTree:
Inheritance graph
[legend]
Collaboration diagram for alma::acsplugins::alarmsystem::gui::tree::AlarmTree:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AlarmTree ()
DefaultMutableTreeNode add (Alarm al, DefaultMutableTreeNode parent)
void clear (Alarm al)

Private Attributes

DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode()
AlarmTreeModel model

Detailed Description

The tree of reduced alarms

Author:
acaproni

Constructor & Destructor Documentation

alma::acsplugins::alarmsystem::gui::tree::AlarmTree::AlarmTree (  )  [inline]

Constructor

References model, and rootNode.


Member Function Documentation

DefaultMutableTreeNode alma::acsplugins::alarmsystem::gui::tree::AlarmTree::add ( Alarm  al,
DefaultMutableTreeNode  parent 
) [inline]

Add a child to the parent. The content of the child is given by the passed alarm.

Parameters:
al The alarm to set as content
parent The parent
Returns:
The newly added TreeNode

References alma::acsplugins::alarmsystem::gui::tree::AlarmTreeModel::addChild(), and model.

Referenced by alma::acsplugins::alarmsystem::gui::reduced::ReducedChainDlg::getAlarmChain().

void alma::acsplugins::alarmsystem::gui::tree::AlarmTree::clear ( Alarm  al  )  [inline]

Clear the tree setting the passed alarm as root

Parameters:
al The alarm to set as root

References alma::acsplugins::alarmsystem::gui::tree::AlarmTreeModel::clearTree(), and model.

Referenced by alma::acsplugins::alarmsystem::gui::reduced::ReducedChainDlg::refreshContent().


Member Data Documentation

The model of the tree

Referenced by add(), AlarmTree(), and clear().

DefaultMutableTreeNode alma::acsplugins::alarmsystem::gui::tree::AlarmTree::rootNode = new DefaultMutableTreeNode() [private]

The root node

Referenced by AlarmTree().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2