Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datasourcesummary.uiutils.ColumnModel< T, C extends CellModel > Class Template Reference

Public Member Functions

 ColumnModel (String headerTitle, Function< T,?extends C > cellRenderer)
 
 ColumnModel (String headerTitle, Function< T,?extends C > cellRenderer, Integer width)
 
Function< T,?extends C > getCellRenderer ()
 
String getHeaderTitle ()
 
Integer getWidth ()
 

Private Attributes

final Function< T,?extends C > cellRenderer
 
final String headerTitle
 
final Integer width
 

Detailed Description

Describes aspects of a column which can be used with getTableModel or getJTablePanel. 'T' represents the object that will represent rows in the table.

Definition at line 28 of file ColumnModel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.uiutils.ColumnModel< T, C extends CellModel >.ColumnModel ( String  headerTitle,
Function< T,?extends C >  cellRenderer 
)

Constructor for a DataResultColumnModel.

Parameters
headerTitleThe title for the column.
cellRendererThe method that generates a CellModel for the column based on the data.

Definition at line 41 of file ColumnModel.java.

org.sleuthkit.autopsy.datasourcesummary.uiutils.ColumnModel< T, C extends CellModel >.ColumnModel ( String  headerTitle,
Function< T,?extends C >  cellRenderer,
Integer  width 
)

Constructor for a DataResultColumnModel.

Parameters
headerTitleThe title for the column.
cellRendererThe method that generates a CellModel for the column based on the data.
widthThe preferred width of the column.

Definition at line 53 of file ColumnModel.java.

Member Function Documentation

Function<T, ? extends C> org.sleuthkit.autopsy.datasourcesummary.uiutils.ColumnModel< T, C extends CellModel >.getCellRenderer ( )
Returns
The method that generates a CellModel for the column based on the data.

Definition at line 70 of file ColumnModel.java.

Returns
The preferred width of the column (can be null).

Definition at line 77 of file ColumnModel.java.

Referenced by org.sleuthkit.autopsy.datasourcesummary.uiutils.JTablePanel< org.sleuthkit.autopsy.url.analytics.DomainCategory >.getTableColumnModel().

Member Data Documentation

final Function<T, ? extends C> org.sleuthkit.autopsy.datasourcesummary.uiutils.ColumnModel< T, C extends CellModel >.cellRenderer
private
final String org.sleuthkit.autopsy.datasourcesummary.uiutils.ColumnModel< T, C extends CellModel >.headerTitle
private
final Integer org.sleuthkit.autopsy.datasourcesummary.uiutils.ColumnModel< T, C extends CellModel >.width
private

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

Copyright © 2012-2022 Basis Technology. Generated on: Wed Oct 5 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.