Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

List of all members.

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

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


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:00:38 2009 for ACS Java API by doxygen 1.3.8