|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindtree.techworks.insight.gui.EventListPresentation
public class EventListPresentation
The EventListPresentation
class is a Presentation implementation
that displays summary information of LoggingEvent instances received by this
Presentation. This Presentation contains a JTable that displays the summary - one
row per event.
Presentation
,
LoggingEvent
Field Summary |
---|
Fields inherited from interface com.mindtree.techworks.insight.gui.action.IAction |
---|
ALL, MUTATION, MUTUAL_EXCLUSION_TYPES, NO_CONSTRAINTS, NONE, STARTUP, TAIL, VIEW |
Constructor Summary | |
---|---|
EventListPresentation(Controller controller)
Constructor for this class |
Method Summary | |
---|---|
void |
displayPage(IPage page,
long eventSequenceNumber)
Interface method implementation |
boolean |
doesProcessRealTimeUpdates()
Presentation interface method implementation. |
int |
getType()
IAction interface method implementation |
java.lang.String |
getUID()
Presentation interface method implementation. |
javax.swing.JComponent |
getViewComponent()
Presentation interface method implementation. |
void |
notifyWidgetStateChange(Presentation presentation,
int identifier,
java.lang.Object data)
Presentation interface method implementation. |
void |
preferenceChanged(java.lang.String preferenceId)
PreferenceChangeListener interface method implementation |
void |
processRealTimeUpdate(LogEvent event)
Presentation interface method implementation.Adds the event to the AbstractTableModel instance that backs the JTable instance contained in this Presentation. |
void |
resetWidgets()
Interface methid implementation |
void |
setEnabled(boolean enable)
IAction interface method implementation |
void |
setScrollLock(boolean scrollLock)
Presentation Interface method implementation |
void |
valueChanged(javax.swing.event.ListSelectionEvent event)
ListSelectionListener interface method implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventListPresentation(Controller controller)
controller
- the Controller instance for this PresentationMethod Detail |
---|
public java.lang.String getUID()
getUID
in interface Presentation
Presentation.getUID()
public void notifyWidgetStateChange(Presentation presentation, int identifier, java.lang.Object data)
notifyWidgetStateChange
in interface Presentation
presentation
- the Presentation containing the widgetidentifier
- unique identifier of the widget in the Presentationdata
- null or the information returned by the source Presentation containing data in the context of the widget changePresentation.notifyWidgetStateChange(com.mindtree.techworks.insight.gui.Presentation, int, java.lang.Object)
public javax.swing.JComponent getViewComponent()
getViewComponent
in interface Presentation
Presentation.getViewComponent()
public boolean doesProcessRealTimeUpdates()
doesProcessRealTimeUpdates
in interface Presentation
Presentation.doesProcessRealTimeUpdates()
public void processRealTimeUpdate(LogEvent event)
processRealTimeUpdate
in interface Presentation
event
- the real time event that was receivedPresentation.processRealTimeUpdate(com.mindtree.techworks.insight.spi.LogEvent)
public void resetWidgets()
resetWidgets
in interface Presentation
Presentation.resetWidgets()
public void valueChanged(javax.swing.event.ListSelectionEvent event)
valueChanged
in interface javax.swing.event.ListSelectionListener
ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent)
,
LoggingEvent
public void displayPage(IPage page, long eventSequenceNumber)
displayPage
in interface Presentation
page
- the IPage to displayeventSequenceNumber
- -1 or the valid sequence number of the LogEvent to be highlightedPresentation.displayPage(IPage, long)
public int getType()
getType
in interface IAction
IAction.getType()
public void setEnabled(boolean enable)
setEnabled
in interface IAction
IAction.setEnabled(boolean)
public void preferenceChanged(java.lang.String preferenceId)
preferenceChanged
in interface PreferenceChangeListener
PreferenceChangeListener.preferenceChanged(java.lang.String)
public void setScrollLock(boolean scrollLock)
setScrollLock
in interface Presentation
Presentation.setScrollLock(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |