

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 |
The tree to display manager, components and container whose log level the user may want to change
| alma::acs::gui::loglevel::tree::LogLvlTree::LogLvlTree | ( | LogLevelPanel | panel, | |
| ORB | theOrb, | |||
| Logger | theLogger | |||
| ) | [inline] |
| 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"
References MIN_HEIGHT, and MIN_WIDTH.
| LogLevelPanel alma::acs::gui::loglevel::tree::LogLvlTree::getTabPanel | ( | ) | [inline] |
Getter
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
| 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] |
Terminate the computation
References model, mouseListener, and alma::acs::gui::loglevel::tree::LogLvlTreeModel::stop().
Referenced by alma::acs::gui::loglevel::LogLevelPanel::stop().
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 getTabPanel(), and LogLvlTree().
1.6.2