|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
simtools.logging.ui.AbstractLoggingTableModel
simtools.logging.ui.LoggingBufferTableModel
public class LoggingBufferTableModel
Field Summary |
---|
Fields inherited from class simtools.logging.ui.AbstractLoggingTableModel |
---|
LEVEL_SCALE_FACTOR, levelNames, menuResources, timeFormatter |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
LoggingBufferTableModel(int size,
MenuResourceBundle resources)
|
|
LoggingBufferTableModel(LoggingEntryByteBuffer buffer,
MenuResourceBundle resources)
|
Method Summary | |
---|---|
void |
clearLogs()
Method clearLogs Summary: Use this method to clear the logs. |
int |
getLevel(int row)
Get the integer level for a given row This is typically used to color the rows accordingly |
int |
getRowCount()
|
int |
getSize()
|
java.lang.Object |
getValueAt(int rowIndex,
int column)
|
protected void |
pauseRefreshLoop()
Method pauseRefreshLoop Summary: Pause the refresh loop. |
void |
setSize(int newsize)
Set the model max number o |
protected void |
stopRefreshLoop()
Method stopRefreshLoop Summary: Stop the refresh loop. |
Methods inherited from class simtools.logging.ui.AbstractLoggingTableModel |
---|
getColumnCount, getColumnName, loadLevelNames |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingBufferTableModel(int size, MenuResourceBundle resources)
public LoggingBufferTableModel(LoggingEntryByteBuffer buffer, MenuResourceBundle resources)
Method Detail |
---|
protected void pauseRefreshLoop()
protected void stopRefreshLoop()
public int getLevel(int row)
AbstractLoggingTableModel
getLevel
in class AbstractLoggingTableModel
row
- the row number
public int getSize()
getSize
in class AbstractLoggingTableModel
public void setSize(int newsize)
AbstractLoggingTableModel
setSize
in class AbstractLoggingTableModel
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int column)
public void clearLogs()
AbstractLoggingTableModel
clearLogs
in class AbstractLoggingTableModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |