public class MessageCenter extends Object
Modifier and Type | Method and Description |
---|---|
void |
addMessage(String message) |
JComponent |
getGUIComponent() |
static MessageCenter |
getInstance() |
org.apache.log4j.Layout |
getLayout() |
org.apache.log4j.Logger |
getLogger()
Returns the logger that can be used to log
messages to display within the Message Center.
|
ListModel |
getModel() |
void |
setLayout(org.apache.log4j.Layout layout) |
public final JComponent getGUIComponent()
public ListModel getModel()
public static MessageCenter getInstance()
public void addMessage(String message)
public final org.apache.log4j.Layout getLayout()
public final void setLayout(org.apache.log4j.Layout layout)
layout
- Sets the layout to be used by the MessageCenter .public final org.apache.log4j.Logger getLogger()
Copyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.