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::AlarmTree Class Reference

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


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

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


Member Data Documentation

AlarmTreeModel alma::acsplugins::alarmsystem::gui::tree::AlarmTree::model [private]
 

The model of the tree

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

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