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

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

List of all members.

Public Member Functions

 LogLvlTree (LogLevelPanel panel, ORB theOrb, Logger theLogger)
void start () throws Exception
void stop ()
Dimension getPreferredSize ()
LogLevelPanel getTabPanel ()

Protected Attributes

LogLvlTreeModel model

Private Attributes

TreeMouseListener mouseListener
LogLevelPanel tabPanel

Static Private Attributes

static final int MIN_WIDTH = 150
static final int MIN_HEIGHT = 150

Detailed Description

The tree to display manager, components and container whose log level the user may want to change

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::gui::loglevel::tree::LogLvlTree::LogLvlTree ( LogLevelPanel  panel,
ORB  theOrb,
Logger  theLogger 
) [inline]

Constructor

Parameters:
panel The panel that shows the tabs
theOrn The CORBA ORB
theLogger The logger

References model, and tabPanel.


Member Function Documentation

Dimension alma::acs::gui::loglevel::tree::LogLvlTree::getPreferredSize (  )  [inline]

Return the preferred size of the JTree This is needed to see the scrollbars: "JScrollPane basis the desicision to show scroll bars off the views preferred size. When you explicitly set the preferred size, and using a JScrollPane, you are effectively forcing the size of the JTree to be the preferred size. If you want to limit the size of the JTree to at least a certain size, override getPrefferredSize to return at least a particular value"

See also:
javax.swing.jtree

References MIN_HEIGHT, and MIN_WIDTH.

LogLevelPanel alma::acs::gui::loglevel::tree::LogLvlTree::getTabPanel (  )  [inline]

Getter

Returns:
The panel showing the tabs

References tabPanel.

Referenced by alma::acs::gui::loglevel::tree::TreeMouseListener::showLoggingConfigTab().

void alma::acs::gui::loglevel::tree::LogLvlTree::start (  )  throws Exception [inline]

Start the computation

Exceptions:
Exception if an error happens while starting

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

Referenced by alma::acs::gui::loglevel::LogLevelPanel::start().

void alma::acs::gui::loglevel::tree::LogLvlTree::stop (  )  [inline]

Member Data Documentation

final int alma::acs::gui::loglevel::tree::LogLvlTree::MIN_HEIGHT = 150 [static, private]

Referenced by getPreferredSize().

final int alma::acs::gui::loglevel::tree::LogLvlTree::MIN_WIDTH = 150 [static, private]

Referenced by getPreferredSize().

Referenced by LogLvlTree(), start(), and stop().

Referenced by start(), and stop().

Referenced by getTabPanel(), and LogLvlTree().


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

Generated by  doxygen 1.6.2