Activates itself as a viewer by configuring Size, and location of itself,
and configures the default Tabbed Pane elements with the correct layout,
table columns, and sets itself viewable.
Helper class that helps delegate the work of loading and saving the values
of the ApplicationPreferenceModel, allowing that class to remain a simple
bean.
A handler class that either extends a particular appender hierarchy or can be
bound into the Log4j appender framework, and queues events, to be later
dispatched to registered/interested parties.
This method configures a standard Cancel action, bound to the ESC key, to dispose of the dialog,
and sets the buttons action to be this action, and adds the action to the dialog's rootPane
action map
COPY -
Static variable in class org.apache.log4j.chainsaw.icons.ChainsawIcons
Creates a new panel, with the contents configured to allow the editing
of a NEW instance of the specified class (which must implement the Receiver
interface)
Creates, activates, and then shows the Chainsaw GUI, optionally showing
the splash screen, and using the passed shutdown action when the user
requests to exit the application (if null, then Chainsaw will exit the vm)
Implementations of this interface like to be notified
of arriving batches of LoggingEvents, but may only
be interested in those coming from a particular source
This layout is used for formatting HTML text for use inside
the Chainsaw Event Detail Panel, and the tooltip used
when mouse-over on a particular log event row.
This class provides all the functionality to work out when files are dragged onto
a particular JComponent instance, and then notifies listeners via
the standard PropertyChangesListener semantics to indicate that a list of
files have been dropped onto the target.
Returns a Collection of Favourite instances whose getPrototype() method
returns an object whose class is assignable from clazz, or more formally, such that
clazz.isAssignableFrom(favourite.getPrototype().getClass())
Returns the string representing the identifier
that this instance is only interested in, or
null if this instance is interested in ALL events from
any identifier
If this container is in Cyclic mode, returns the Size of the cyclic buffer,
otherwise this method throws an IllegalStateException, when in unlimited
mode, this method has no meaning.
Singleton help manager where objects can register to display
Help for something, an independant viewer can register to
be notified when the requested Help URL changes and can display
it appropriately.
Requests that the settings be loaded, all listeners will be notified of
this call, and configure themselves according to the values found in the
loaded settings
The main entry point for Chainsaw, this class represents the first frame
that is used to display a Welcome panel, and any other panels that are
generated because Logging Events are streamed via a Receiver, or other
mechanism.
LogUI() -
Constructor for class org.apache.log4j.chainsaw.LogUI
Constructor which builds up all the visual elements of the frame including
the Menu bar
Call this method when something opens a log file, this method
adds the URL to the list of known URL's, automatically
rolling the list to ensure the list maintains the
size property
Implementations receive a list of LoggingEvent instances only if they are interested,
that is, if the source of the eventBatch matches this instances interested identifier
A colorizer supporting an ordered collection of ColorRules, including support for notification of
color rule changes via a propertyChangeListener and the 'colorrule' property.
If set to true, will cause the receiver to block indefinitely until 'setContainer' has been called,
at which point a username/password dialog will appear.
A Table Column header renederer that displays a nice Up/Down arrow
depending on whether this column is the current sort column or not,
and which way the sort is functioning
UserInfo class used to automatically log in if needed - also implemements
UIKeyboardInteractive (UserInfo methods not used, just UIKeyboardInteractive)
This plugin is designed to detect specific Zeroconf zones (Rendevouz/Bonjour,
whatever people are calling it) and allow the user to double click on
'devices' to try and connect to them with no configuration needed.