alma::acs::vmtools::LogManagerGui Class Reference

Inheritance diagram for alma::acs::vmtools::LogManagerGui:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::vmtools::LogManagerGui:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

Allows a User to configure Loggers at run-time.

For a logger L there are:

Author:
mschilli

Constructor & Destructor Documentation

alma::acs::vmtools::LogManagerGui::LogManagerGui (  )  [inline]

Member Function Documentation

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]
void alma::acs::vmtools::LogManagerGui::doSetLevel ( Logger  x,
Level  toSet 
) [inline, package]
void alma::acs::vmtools::LogManagerGui::editLogger ( final Logger  x  )  [inline, package]
Level alma::acs::vmtools::LogManagerGui::effectiveLevel ( Logger  x  )  [inline, package]
void alma::acs::vmtools::LogManagerGui::message ( String  msg  )  [inline, protected]
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]
void alma::acs::vmtools::LogManagerGui::populateModel (  )  [inline]
void alma::acs::vmtools::LogManagerGui::quickEditLogger ( Point  p,
final Logger  x 
) [inline, package]
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.


Member Data Documentation

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]
Initial value:
 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().

Referenced by LogManagerGui(), and setVisible().


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

Generated by  doxygen 1.6.2