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

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

List of all members.

Classes

class  NodeContent

Public Member Functions

 AlarmTreeModel (DefaultMutableTreeNode rootNode)
DefaultMutableTreeNode addChild (Alarm al, DefaultMutableTreeNode parent)
void clearTree (Alarm al)

Detailed Description

The model for the tree of reduced alarms

Author:
acaproni

Constructor & Destructor Documentation

alma::acsplugins::alarmsystem::gui::tree::AlarmTreeModel::AlarmTreeModel ( DefaultMutableTreeNode  rootNode  )  [inline]

constructor

Parameters:
rootNode The root node

Member Function Documentation

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

Add an alarm as a child of the passed node

Parameters:
al The alarm to add
parent The parent node; if it is null the child is added to the root node
Returns:
The newly added node

Referenced by alma::acsplugins::alarmsystem::gui::tree::AlarmTree::add().

void alma::acsplugins::alarmsystem::gui::tree::AlarmTreeModel::clearTree ( Alarm  al  )  [inline]

Empty the tree and set the passed alarm as the root

Parameters:
label The string to set as label of the root node

Referenced by alma::acsplugins::alarmsystem::gui::tree::AlarmTree::clear().


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

Generated by  doxygen 1.6.2