Package adams.gui.event
Class ConsolePanelEvent
- java.lang.Object
-
- java.util.EventObject
-
- adams.gui.event.ConsolePanelEvent
-
- All Implemented Interfaces:
Serializable
public class ConsolePanelEvent extends EventObject
Event that gets sent when theConsolePanel
receives new data.- Version:
- $Revision: 4584 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected LoggingLevel
m_Level
the logging level.protected String
m_Message
the message.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ConsolePanelEvent(Object src, LoggingLevel level, String msg)
Initializes the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingLevel
getLevel()
Returns the logging level.String
getMessage()
Returns the message.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
m_Level
protected LoggingLevel m_Level
the logging level.
-
m_Message
protected String m_Message
the message.
-
-
Constructor Detail
-
ConsolePanelEvent
public ConsolePanelEvent(Object src, LoggingLevel level, String msg)
Initializes the object.- Parameters:
src
- the source that triggered the eventlevel
- the logging levelmsg
- the message
-
-
Method Detail
-
getLevel
public LoggingLevel getLevel()
Returns the logging level.- Returns:
- the level
-
getMessage
public String getMessage()
Returns the message.- Returns:
- the message
-
-