|
|||||||||
| Home >> All >> com >> eireneh >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.swing
Class LogList

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JList
com.eireneh.swing.LogList
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.Scrollable, java.io.Serializable
- public class LogList
- extends javax.swing.JList
LogList is a GUI component that display log messages
|
Distribution Licence: Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
- Version:
- D0.I0.T0
| Nested Class Summary | |
(package private) static class |
LogList.CellRendererAdvice
A description of how to render a cell |
(package private) static class |
LogList.CustomListCellRenderer
Renders an item in a list. |
(package private) static class |
LogList.CustomListModel
Where we store the messages |
(package private) static class |
LogList.ListCaptureListener
This class listens to HelpDesk logs and copies them to the syslog daemon. |
(package private) static class |
LogList.LogLine
The information we store about a single message |
| Nested classes inherited from class javax.swing.JList |
javax.swing.JList.AccessibleJList |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private static LogList.CellRendererAdvice[] |
advice
The instructions for the Renderer |
private static LogList.ListCaptureListener |
li
The listener that pops up the ExceptionPanes |
private static LogList.CustomListModel |
logpile
Where we store the messages |
private static int |
MAX_ITEMS
The max number of items to display |
private static java.util.Vector |
visible
The log messages |
| Fields inherited from class javax.swing.JList |
HORIZONTAL_WRAP, VERTICAL, VERTICAL_WRAP |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
LogList()
|
|
| Method Summary | |
static boolean |
getHelpDeskListener()
Get the listening status |
static java.lang.String |
getLogStyle(int index)
The style associated with a log stream |
static void |
setHelpDeskListener(boolean joined)
You must call setHelpDeskListener() in order to start logging messages sent to the HelpDesk, and in order to properly close this class you must call it again (with false). |
static void |
setLogStyle(int index,
java.lang.String value)
The style associated with a log stream |
static void |
setLogStyle(int index,
java.lang.String match,
java.awt.Font font,
java.awt.Color foreground,
java.awt.Color background,
javax.swing.Icon icon)
The style associated with a log stream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
MAX_ITEMS
private static final int MAX_ITEMS
- The max number of items to display
- See Also:
- Constant Field Values
visible
private static java.util.Vector visible
- The log messages
li
private static LogList.ListCaptureListener li
- The listener that pops up the ExceptionPanes
logpile
private static LogList.CustomListModel logpile
- Where we store the messages
advice
private static LogList.CellRendererAdvice[] advice
- The instructions for the Renderer
| Constructor Detail |
LogList
public LogList()
| Method Detail |
setLogStyle
public static void setLogStyle(int index,
java.lang.String value)
- The style associated with a log stream
getLogStyle
public static java.lang.String getLogStyle(int index)
- The style associated with a log stream
setLogStyle
public static void setLogStyle(int index,
java.lang.String match,
java.awt.Font font,
java.awt.Color foreground,
java.awt.Color background,
javax.swing.Icon icon)
- The style associated with a log stream
setHelpDeskListener
public static void setHelpDeskListener(boolean joined)
- You must call setHelpDeskListener() in order to start logging
messages sent to the HelpDesk, and in order to properly
close this class you must call it again (with false).
getHelpDeskListener
public static boolean getHelpDeskListener()
- Get the listening status
|
|||||||||
| Home >> All >> com >> eireneh >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC