Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

Collaboration diagram for com::cosylab::logging::client::DetailedLogTable:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DetailedLogTable ()
void setupContent (ILogEntry log)
Component prepareRenderer (TableCellRenderer renderer, int rowIndex, int vColIndex)
Override 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


Member Function Documentation

Override 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)

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

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

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

Fill the table with the fields of the given log.

Parameters:
log The log whose content is shown in the table


Member Data Documentation

DetailedTableModel com::cosylab::logging::client::DetailedLogTable::dataModel = new DetailedTableModel() [private]
 

The table model

EntryTypeRenderer com::cosylab::logging::client::DetailedLogTable::entryTypeRenderer = new EntryTypeRenderer(true) [private]
 

MultilineRenderer com::cosylab::logging::client::DetailedLogTable::logMessageRenderer = new MultilineRenderer() [private]
 

The multiline renderer for the log message

String [][] com::cosylab::logging::client::DetailedLogTable::nameValue [private]
 

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.

int com::cosylab::logging::client::DetailedLogTable::normalRowHeight [private]
 

The height of a row with only one line of text

final String com::cosylab::logging::client::DetailedLogTable::NOT_AVAILABLE = "" [private]
 

The string shown when the dialog is not displaying a log

int com::cosylab::logging::client::DetailedLogTable::rowsNum [private]
 

The rows in the table


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:13:02 2009 for ACS Java API by doxygen 1.3.8