

Classes | |
| class | Controls |
| class | ForceFilter |
| class | LoggerEditor |
| class | QuickLoggerEditor |
| class | TreeL |
| class | TreeM |
| class | TreeN |
| class | TreeR |
| class | TreeS |
Public Member Functions | |
| LogManagerGui () | |
| void | setFilter (String string) |
| void | setVisible (boolean b) |
| void | populateModel () |
| void | populateModel (String[] nameFilter) |
Static Public Member Functions | |
| static JFrame | openFrame (final LogManagerGui inst) |
Protected Member Functions | |
| void | message (String msg) |
Package Functions | |
| Color | colorFromLevel (Level x) |
| void | editLogger (final Logger x) |
| void | quickEditLogger (Point p, final Logger x) |
| Level | decodeLevel (Object level) |
| void | doSetLevel (Logger x, Level toSet) |
| Level | activeLevel (Logger x) |
| Level | effectiveLevel (Logger x) |
Static Package Functions | |
| [static initializer] | |
Package Attributes | |
| TreeM | model |
| JTree | tree |
| LoggerEditor | editor |
| QuickLoggerEditor | quickEditor |
| JSplitPane | splitpane |
| Controls | controls |
Static Package Attributes | |
| static final Color | BG_NORMAL = Color.white |
| static final Color | BG_SELECT = Color.lightGray |
| static final HashMap< Level, Color > | level2color = new HashMap<Level, Color>() |
| static final Vector< Level > | LEVELS |
Private Member Functions | |
| boolean | passesThroughFilter (String[] nameFilter, String name) |
Allows a User to configure Loggers at run-time.
For a logger L there are:
| alma::acs::vmtools::LogManagerGui::LogManagerGui | ( | ) | [inline] |
| alma::acs::vmtools::LogManagerGui::[static initializer] | ( | ) | [inline, static, package] |
| Level alma::acs::vmtools::LogManagerGui::activeLevel | ( | Logger | x | ) | [inline, package] |
| Color alma::acs::vmtools::LogManagerGui::colorFromLevel | ( | Level | x | ) | [inline, package] |
----------------- Internal --------------------- ///
References level2color, and message().
Referenced by alma::acs::vmtools::LogManagerGui::TreeR::getTreeCellRendererComponent().
| Level alma::acs::vmtools::LogManagerGui::decodeLevel | ( | Object | level | ) | [inline, package] |
| level | Something that can be recognized as (or made) a level |
References LEVELS, and message().
Referenced by alma::acs::vmtools::LogManagerGui::LoggerEditor::ActionLi::actionPerformed(), alma::acs::vmtools::LogManagerGui::QuickLoggerEditor::HandlerLevelAction::actionPerformed(), and alma::acs::vmtools::LogManagerGui::QuickLoggerEditor::LoggerLevelAction::actionPerformed().
| void alma::acs::vmtools::LogManagerGui::doSetLevel | ( | Logger | x, | |
| Level | toSet | |||
| ) | [inline, package] |
| x |
References message(), and tree.
Referenced by alma::acs::vmtools::LogManagerGui::LoggerEditor::ActionLi::actionPerformed(), and alma::acs::vmtools::LogManagerGui::QuickLoggerEditor::LoggerLevelAction::actionPerformed().
| void alma::acs::vmtools::LogManagerGui::editLogger | ( | final Logger | x | ) | [inline, package] |
References activeLevel(), alma::acs::vmtools::LogManagerGui::LoggerEditor::comboBoxActionListener, editor, effectiveLevel(), alma::acs::vmtools::LogManagerGui::LoggerEditor::text, and alma::acs::vmtools::LogManagerGui::LoggerEditor::text2.
Referenced by alma::acs::vmtools::LogManagerGui::TreeS::valueChanged().
| Level alma::acs::vmtools::LogManagerGui::effectiveLevel | ( | Logger | x | ) | [inline, package] |
References activeLevel(), and alma::acs::vmtools::LogManagerGui::ForceFilter::level.
Referenced by editLogger(), and alma::acs::vmtools::LogManagerGui::TreeR::getTreeCellRendererComponent().
| void alma::acs::vmtools::LogManagerGui::message | ( | String | msg | ) | [inline, protected] |
Referenced by colorFromLevel(), decodeLevel(), and doSetLevel().
| static JFrame alma::acs::vmtools::LogManagerGui::openFrame | ( | final LogManagerGui | inst | ) | [inline, static] |
| boolean alma::acs::vmtools::LogManagerGui::passesThroughFilter | ( | String[] | nameFilter, | |
| String | name | |||
| ) | [inline, private] |
Referenced by populateModel().
| void alma::acs::vmtools::LogManagerGui::populateModel | ( | String[] | nameFilter | ) | [inline] |
References model, passesThroughFilter(), and alma::acs::vmtools::LogManagerGui::TreeM::root().
| void alma::acs::vmtools::LogManagerGui::populateModel | ( | ) | [inline] |
Referenced by alma::acs::vmtools::LogManagerGui::Controls::Controls(), and setVisible().
| void alma::acs::vmtools::LogManagerGui::quickEditLogger | ( | Point | p, | |
| final Logger | x | |||
| ) | [inline, package] |
References quickEditor, tree, and alma::acs::vmtools::LogManagerGui::QuickLoggerEditor::use().
Referenced by alma::acs::vmtools::LogManagerGui::TreeL::mouseClicked().
| void alma::acs::vmtools::LogManagerGui::setFilter | ( | String | string | ) | [inline] |
------------------- API ------------------------ ///
References controls, and alma::acs::vmtools::LogManagerGui::Controls::txtNameFilter.
| void alma::acs::vmtools::LogManagerGui::setVisible | ( | boolean | b | ) | [inline] |
References populateModel(), and splitpane.
final Color alma::acs::vmtools::LogManagerGui::BG_NORMAL = Color.white [static, package] |
final Color alma::acs::vmtools::LogManagerGui::BG_SELECT = Color.lightGray [static, package] |
Referenced by LogManagerGui(), and setFilter().
final HashMap<Level, Color> alma::acs::vmtools::LogManagerGui::level2color = new HashMap<Level, Color>() [static, package] |
Referenced by colorFromLevel().
final Vector<Level> alma::acs::vmtools::LogManagerGui::LEVELS [static, package] |
new Vector<Level>(Arrays.asList(new Level[]{ Level.OFF, Level.SEVERE, Level.WARNING, Level.INFO, Level.CONFIG, Level.FINE, Level.FINER, Level.FINEST, Level.ALL }))
---------------- Inner Types ------------------- ///
Referenced by decodeLevel(), alma::acs::vmtools::LogManagerGui::LoggerEditor::LoggerEditor(), and alma::acs::vmtools::LogManagerGui::QuickLoggerEditor::QuickLoggerEditor().
Referenced by LogManagerGui(), and populateModel().
Referenced by LogManagerGui(), and quickEditLogger().
JSplitPane alma::acs::vmtools::LogManagerGui::splitpane [package] |
Referenced by LogManagerGui(), and setVisible().
JTree alma::acs::vmtools::LogManagerGui::tree [package] |
Referenced by doSetLevel(), LogManagerGui(), alma::acs::vmtools::LogManagerGui::TreeL::mouseClicked(), and quickEditLogger().
1.6.2