|
StocksMonitor 1.5.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectLoggingPreferencesEditor
public final class LoggingPreferencesEditor
Refresh the logging config file used upon startup, through a call to
LogManager.readConfiguration().
Additionally, sets a temporary global logging level,
which acts as on override of the current settings.
Setting this level affects all handlers
(except OptionPaneExceptionHandler) attached to the root
Logger, and all known loggers, corresponding to
return value of LogManager.getLoggerNames().
This PreferencesEditor is unusual in that user actions are performed
immediately, without waiting for the user to hit the OK button.
| Constructor Summary | |
|---|---|
LoggingPreferencesEditor()
|
|
| Method Summary | |
|---|---|
File |
getLogConfigFile()
Return the File which is currently being used by this application to configure the Java Logging API. |
int |
getMnemonic()
The mnemonic to appear in the tab name. |
String |
getTitle()
The name of the tab in which this PreferencesEditor will be placed. |
JComponent |
getUI()
Return a GUI component which allows the user to edit this set of related preferences. |
void |
matchGuiToDefaultPreferences()
No-operation. |
void |
savePreferences()
No-operation. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingPreferencesEditor()
| Method Detail |
|---|
public int getMnemonic()
PreferencesEditorMust match a letter appearing in PreferencesEditor.getTitle().
Use constants defined in KeyEvent, for example KeyEvent.VK_A.
getMnemonic in interface PreferencesEditorpublic String getTitle()
PreferencesEditor
getTitle in interface PreferencesEditorpublic JComponent getUI()
PreferencesEditor
getUI in interface PreferencesEditorpublic void matchGuiToDefaultPreferences()
matchGuiToDefaultPreferences in interface PreferencesEditorpublic void savePreferences()
savePreferences in interface PreferencesEditorpublic File getLogConfigFile()
|
StocksMonitor 1.5.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||