org.gudy.azureus2.ui.swt.views
Class LoggerView

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.views.LoggerView
All Implemented Interfaces:
ParameterListener, ILogEventListener, UISWTViewEventListener, UISWTViewCoreEventListener, UISWTViewCoreEventListenerEx

public class LoggerView
extends java.lang.Object
implements ILogEventListener, ParameterListener, UISWTViewCoreEventListenerEx

Since:
2.3.0.5
Author:
TuxPaper

Field Summary
static java.lang.String MSGID_PREFIX
           
static java.lang.String VIEW_ID
           
 
Constructor Summary
LoggerView()
           
LoggerView(boolean stopOnNull)
           
LoggerView(java.util.List<? extends LogEvent> initialList)
           
 
Method Summary
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
 UISWTViewCoreEventListener getClone()
           
 java.lang.String getPluginViewName()
           
 boolean isCloneable()
           
 void log(LogEvent event)
          A LogEvent has been generated.
 void parameterChanged(java.lang.String parameterName)
          Called, when a parameter has changed.
 void setEnabled(boolean on)
           
 void setFilter(java.lang.Object[] _filter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_ID

public static final java.lang.String VIEW_ID
See Also:
Constant Field Values

MSGID_PREFIX

public static final java.lang.String MSGID_PREFIX
See Also:
Constant Field Values
Constructor Detail

LoggerView

public LoggerView()

LoggerView

public LoggerView(boolean stopOnNull)

LoggerView

public LoggerView(java.util.List<? extends LogEvent> initialList)
Method Detail

isCloneable

public boolean isCloneable()
Specified by:
isCloneable in interface UISWTViewCoreEventListenerEx

getClone

public UISWTViewCoreEventListener getClone()
Specified by:
getClone in interface UISWTViewCoreEventListenerEx

log

public void log(LogEvent event)
Description copied from interface: ILogEventListener
A LogEvent has been generated.

Specified by:
log in interface ILogEventListener
Parameters:
event - The newly generated LogEvent

setFilter

public void setFilter(java.lang.Object[] _filter)

setEnabled

public void setEnabled(boolean on)

getPluginViewName

public java.lang.String getPluginViewName()

parameterChanged

public void parameterChanged(java.lang.String parameterName)
Description copied from interface: ParameterListener
Called, when a parameter has changed. The listener could only react if the parameter name is relevant. Or the listener can just read all parameters again.

Specified by:
parameterChanged in interface ParameterListener
Parameters:
parameterName - the name of the parameter that has changed

eventOccurred

public boolean eventOccurred(UISWTViewEvent event)
Description copied from interface: UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs

Specified by:
eventOccurred in interface UISWTViewEventListener
Parameters:
event - event that occurred
Returns:
meaning dependent upon event type