|
Autopsy
4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
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 |
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 DurationCellRenderer.java.
| org.sleuthkit.autopsy.guiutils.DurationCellRenderer.DurationCellRenderer | ( | ) |
Definition at line 35 of file DurationCellRenderer.java.
| Component org.sleuthkit.autopsy.guiutils.DurationCellRenderer.getTableCellRendererComponent | ( | JTable | table, |
| Object | value, | ||
| boolean | isSelected, | ||
| boolean | hasFocus, | ||
| int | row, | ||
| int | column | ||
| ) |
Definition at line 40 of file DurationCellRenderer.java.
References org.sleuthkit.autopsy.guiutils.GrayableCellRenderer.grayCellIfTableNotEnabled(), and org.sleuthkit.autopsy.guiutils.DurationCellRenderer.longToDurationString().
|
inherited |
Definition at line 48 of file GrayableCellRenderer.java.
Referenced by org.sleuthkit.autopsy.guiutils.DurationCellRenderer.getTableCellRendererComponent(), org.sleuthkit.autopsy.guiutils.GrayableCellRenderer.getTableCellRendererComponent(), org.sleuthkit.autopsy.guiutils.LongDateCellRenderer.getTableCellRendererComponent(), and org.sleuthkit.autopsy.guiutils.StatusIconCellRenderer.getTableCellRendererComponent().
|
static |
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 |
Definition at line 58 of file DurationCellRenderer.java.
Referenced by org.sleuthkit.autopsy.guiutils.DurationCellRenderer.getTableCellRendererComponent().
|
staticprivate |
Definition at line 33 of file DurationCellRenderer.java.
Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.