com::cosylab::logging::client::DetailedLogTable Class Reference

Inheritance diagram for com::cosylab::logging::client::DetailedLogTable:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::logging::client::DetailedLogTable:
Collaboration graph
[legend]

List of all members.

Classes

class  DetailedTableModel
class  MultilineRenderer

Public Member Functions

 DetailedLogTable ()
void setupContent (ILogEntry log)
Component prepareRenderer (TableCellRenderer renderer, int rowIndex, int vColIndex)
TableCellRenderer getCellRenderer (int row, int column)

Private Member Functions

void setEmptyContent ()

Private Attributes

final String NOT_AVAILABLE = ""
DetailedTableModel dataModel = new DetailedTableModel()
int rowsNum
int normalRowHeight
String[][] nameValue
MultilineRenderer logMessageRenderer = new MultilineRenderer()
EntryTypeRenderer entryTypeRenderer = new EntryTypeRenderer(true)

Detailed Description

The table used to represent data in the right panel of the main window

Author:
acaproni

Constructor & Destructor Documentation

com::cosylab::logging::client::DetailedLogTable::DetailedLogTable (  )  [inline]

Build a table using the data in the log entry

Parameters:
log The logEntry with the data to display

References dataModel, normalRowHeight, and setEmptyContent().


Member Function Documentation

TableCellRenderer com::cosylab::logging::client::DetailedLogTable::getCellRenderer ( int  row,
int  column 
) [inline]
Component com::cosylab::logging::client::DetailedLogTable::prepareRenderer ( TableCellRenderer  renderer,
int  rowIndex,
int  vColIndex 
) [inline]

Sets a tool tip on all the cells. It pops up when the value is not fully displayed while the mouse scrolls over it.

See also:
javax.swing.JTable::prepareRenderer(TableCellRenderer, int, int)

References nameValue.

void com::cosylab::logging::client::DetailedLogTable::setEmptyContent (  )  [inline, private]

Fill the table with an empty content (no log selected)

References dataModel, nameValue, NOT_AVAILABLE, and rowsNum.

Referenced by DetailedLogTable(), and setupContent().

void com::cosylab::logging::client::DetailedLogTable::setupContent ( ILogEntry  log  )  [inline]

Member Data Documentation

The table model

Referenced by DetailedLogTable(), setEmptyContent(), and setupContent().

Referenced by getCellRenderer().

The multiline renderer for the log message

Referenced by getCellRenderer().

The pairs <name,value> i.e. all the values displayed in the table.

The first column contains the title of each cell in HTML format; the second column contains the value displayed in the right column of the table in plain text. The renderes will take such a string and format to be properly displayed, with the exception of the log type that is stored into the DetailedTableModel as a LogTypeHelper.

Referenced by com::cosylab::logging::client::DetailedLogTable::DetailedTableModel::getValueAt(), prepareRenderer(), setEmptyContent(), and setupContent().

The string shown when the dialog is not displaying a log

Referenced by setEmptyContent().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2