Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.guiutils.DurationCellRenderer Class Reference

Inherits org.sleuthkit.autopsy.guiutils.GrayableCellRenderer.

Public Member Functions

 DurationCellRenderer ()
Component getTableCellRendererComponent (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
void grayCellIfTableNotEnabled (JTable table, boolean isSelected)

Static Public Member Functions

static String longToDurationString (long duration)

Static Private Attributes

static final long serialVersionUID = 1L

Detailed Description

A JTable cell renderer that renders a duration represented as a long as a string with days, hours, minutes, and seconds components. It center-aligns cell content and grays out the cell if the table is disabled.

Definition at line 31 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.guiutils.DurationCellRenderer.DurationCellRenderer ( )

Definition at line 35 of file

Member Function Documentation

Component org.sleuthkit.autopsy.guiutils.DurationCellRenderer.getTableCellRendererComponent ( JTable  table,
Object  value,
boolean  isSelected,
boolean  hasFocus,
int  row,
int  column 
void org.sleuthkit.autopsy.guiutils.GrayableCellRenderer.grayCellIfTableNotEnabled ( JTable  table,
boolean  isSelected 
static String org.sleuthkit.autopsy.guiutils.DurationCellRenderer.longToDurationString ( long  duration)

Convert a duration represented by a long to a human readable string with with days, hours, minutes, and seconds components.

duration- the representation of the duration in long form
- the representation of the duration in String form.

Definition at line 58 of file

Referenced by org.sleuthkit.autopsy.guiutils.DurationCellRenderer.getTableCellRendererComponent().

Member Data Documentation

final long org.sleuthkit.autopsy.guiutils.DurationCellRenderer.serialVersionUID = 1L

Definition at line 33 of file

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

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.