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 Object
implements ILogEventListener, ParameterListener, UISWTViewCoreEventListenerEx

Since:
2.3.0.5
Author:
TuxPaper

Field Summary
static String MSGID_PREFIX
           
static String VIEW_ID
           
 
Constructor Summary
LoggerView()
           
LoggerView(boolean stopOnNull)
           
LoggerView(List<? extends LogEvent> initialList)
           
 
Method Summary
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
 UISWTViewCoreEventListener getClone()
           
 String getPluginViewName()
           
 boolean isCloneable()
           
 void log(LogEvent event)
          A LogEvent has been generated.
 void parameterChanged(String parameterName)
          Called, when a parameter has changed.
 void setEnabled(boolean on)
           
 void setFilter(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 String VIEW_ID
See Also:
Constant Field Values

MSGID_PREFIX

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

LoggerView

public LoggerView()

LoggerView

public LoggerView(boolean stopOnNull)

LoggerView

public LoggerView(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(Object[] _filter)

setEnabled

public void setEnabled(boolean on)

getPluginViewName

public String getPluginViewName()

parameterChanged

public void parameterChanged(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