alma::acs::gui::loglevel::tree::TreeMouseListener Class Reference

Inheritance diagram for alma::acs::gui::loglevel::tree::TreeMouseListener:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::gui::loglevel::tree::TreeMouseListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TreeMouseListener (LogLvlTree logLevelTree)
void mousePressed (MouseEvent e)

Private Member Functions

void showLoggingConfigTab (TreePath path)
LoggingConfigurableOperations getLogConfFromManager () throws Exception
LoggingConfigurableOperations getLogConfFromContainer (ContainerInfo info) throws Exception
boolean implementsLoggingConfigurable (DefaultMutableTreeNode node)

Private Attributes

LogLvlTree tree
DefaultMutableTreeNode managersNode
DefaultMutableTreeNode containersNode
LogLvlTreeModel model
TreePopupMenu popupMenu

Detailed Description

The class to receive mouse events generated by the tree

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::gui::loglevel::tree::TreeMouseListener::TreeMouseListener ( LogLvlTree  logLevelTree  )  [inline]

Constructor

Parameters:
logLevelTree The tree generating events

References containersNode, alma::acs::gui::loglevel::tree::LogLvlTreeModel::findNode(), managersNode, model, popupMenu, and tree.


Member Function Documentation

LoggingConfigurableOperations alma::acs::gui::loglevel::tree::TreeMouseListener::getLogConfFromContainer ( ContainerInfo  info  )  throws Exception [inline, private]

Get the LoggingConfigurable out of the container

Returns:
The LoggingConfigurable for the container

Referenced by showLoggingConfigTab().

LoggingConfigurableOperations alma::acs::gui::loglevel::tree::TreeMouseListener::getLogConfFromManager (  )  throws Exception [inline, private]

Get the LoggingConfigurable out of the manager

Returns:
The LoggingConfigurable for the manager

References alma::acs::gui::loglevel::tree::LogLvlTreeModel::getManagerRef(), and model.

Referenced by showLoggingConfigTab().

boolean alma::acs::gui::loglevel::tree::TreeMouseListener::implementsLoggingConfigurable ( DefaultMutableTreeNode  node  )  [inline, private]

Check if the object represented by the node implements the LoggingConfigurable IDL interface. Actually the only ACS items implementing such an interface are

  • the manager
  • the containers
Parameters:
node The node to query
Returns:
true if the object implements LoggingConfigurable

References containersNode, and managersNode.

Referenced by showLoggingConfigTab().

void alma::acs::gui::loglevel::tree::TreeMouseListener::mousePressed ( MouseEvent  e  )  [inline]
See also:
java.awt.event.MouseListener

References popupMenu, showLoggingConfigTab(), and tree.

void alma::acs::gui::loglevel::tree::TreeMouseListener::showLoggingConfigTab ( TreePath  path  )  [inline, private]

Member Data Documentation

Referenced by mousePressed(), and TreeMouseListener().


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

Generated by  doxygen 1.6.2