org.fusesource.web.console.client.logging
Class LogEventsPanel

java.lang.Object
  extended by org.fusesource.web.console.client.util.GridPanelSupport
      extended by org.fusesource.web.console.client.logging.LogEventsPanel
All Implemented Interfaces:
View, Refreshable

public class LogEventsPanel
extends GridPanelSupport

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class org.fusesource.web.console.client.util.GridPanelSupport
dataTable, headerTable, scrollTable
 
Constructor Summary
LogEventsPanel()
           
 
Method Summary
protected  void clear()
           
protected  LogFilter getFilterFromWidgets()
           
protected  java.lang.String getLoggerName(java.lang.String loggerName)
           
 int getMinimumTimeBetweenQueries()
           
 com.google.gwt.user.client.ui.Widget getWidget()
           
 void load(WidgetHandler handler)
           
protected  void onFailure(WidgetHandler handler, java.lang.String message, java.lang.Throwable caught)
           
protected  int onGridResults(com.google.gwt.widgetideas.table.client.FixedWidthGrid dataTable, java.lang.Object gridResults)
           
protected  void onRefreshCompleted()
           
protected  void onSelectionChanged()
          Invoked when the table selection has changed
protected  void onUserInputChanged()
          Lets see if the filter really changed and if so lets do another query - provided we have not done one within the last second - if so lets reschedule for a second from now
protected  void populateDetailPanel(LogEvent event)
           
protected  void setFilterWidgets()
           
 void setMinimumTimeBetweenQueries(int minimumTimeBetweenQueries)
           
protected  java.lang.String toString(java.lang.String[] lines)
           
 
Methods inherited from class org.fusesource.web.console.client.util.GridPanelSupport
createAsyncCallback, createDataTable, onDataLoaded, onDoubleClick, refresh, setTopPanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogEventsPanel

public LogEventsPanel()
Method Detail

load

public void load(WidgetHandler handler)
Specified by:
load in class GridPanelSupport

getMinimumTimeBetweenQueries

public int getMinimumTimeBetweenQueries()

setMinimumTimeBetweenQueries

public void setMinimumTimeBetweenQueries(int minimumTimeBetweenQueries)

getWidget

public com.google.gwt.user.client.ui.Widget getWidget()
Specified by:
getWidget in interface View
Overrides:
getWidget in class GridPanelSupport

onUserInputChanged

protected void onUserInputChanged()
Lets see if the filter really changed and if so lets do another query - provided we have not done one within the last second - if so lets reschedule for a second from now


onRefreshCompleted

protected void onRefreshCompleted()

setFilterWidgets

protected void setFilterWidgets()

getFilterFromWidgets

protected LogFilter getFilterFromWidgets()

clear

protected void clear()
Overrides:
clear in class GridPanelSupport

onGridResults

protected int onGridResults(com.google.gwt.widgetideas.table.client.FixedWidthGrid dataTable,
                            java.lang.Object gridResults)
Specified by:
onGridResults in class GridPanelSupport

onFailure

protected void onFailure(WidgetHandler handler,
                         java.lang.String message,
                         java.lang.Throwable caught)
Overrides:
onFailure in class GridPanelSupport

getLoggerName

protected java.lang.String getLoggerName(java.lang.String loggerName)

onSelectionChanged

protected void onSelectionChanged()
Description copied from class: GridPanelSupport
Invoked when the table selection has changed

Overrides:
onSelectionChanged in class GridPanelSupport

populateDetailPanel

protected void populateDetailPanel(LogEvent event)

toString

protected java.lang.String toString(java.lang.String[] lines)


Copyright © 2009 FuseSource. All Rights Reserved.