public class GLogEventTable extends GComponent implements GDisplay
Modifier and Type | Class and Description |
---|---|
class |
GLogEventTable.GLogEventTableRenderer
This class represents the cell renderer of the event table.
|
GComponent.CopyPasteOperation, GComponent.DisplayIndicatorStatus, GComponent.ItemType, GComponent.Operation
NAME_ATTRIBUTE
Constructor and Description |
---|
GLogEventTable()
Constructor.
|
GLogEventTable(String widgetId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(fr.cnes.genius.logger.GLogEventTableItem item)
Add a new event item to the item list.
|
void |
clear()
Clear the table and table model.
|
void |
display()
Called when the element is to be displayed, so it can perform the actions required for its display, and
the display of its inmmediate descendants.
|
Component |
getComponent()
Returns the low level Swing Component encapsulated by the class if any, otherwise returns
null.
|
void |
setLock(boolean lock)
Locks the table.
|
void |
setRowFilter(GLogger.Criticity[] criticities,
GLogger.Type[] types,
String source,
String description)
Set the filtering rules.
|
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getSubComponent, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isEnabled, isForcedStatus, isModified, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDefaultConstraints, setDisplayIsModifiedIndicator, setElement, setEnabled, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public GLogEventTable()
public GLogEventTable(String widgetId)
widgetId
- widget identifier.public void add(fr.cnes.genius.logger.GLogEventTableItem item)
item
- the event item to be added.public void clear()
public void setLock(boolean lock)
lock
- if true, the table is locked. Else, it is unlocked and the table is redisplayed.public void setRowFilter(GLogger.Criticity[] criticities, GLogger.Type[] types, String source, String description)
criticities
- criticities used for filtering the "Criticity" columntypes
- types used for filtering the "Type" columnsource
- string used for filtering the "Source" columndescription
- string used for filtering the "Description" columnpublic void display()
public Component getComponent()
getComponent
in class GComponent
Copyright © 2024. All rights reserved.