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

Inherits org.sleuthkit.autopsy.guiutils.GrayableCellRenderer.

Public Member Functions

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

Static Private Attributes

static final SimpleDateFormat dateFormat = new SimpleDateFormat(FORMAT_STRING)
 
static final String FORMAT_STRING = "yyyy/MM/dd HH:mm:ss"
 
static final long serialVersionUID = 1L
 

Detailed Description

A JTable cell renderer that renders a date represented as a long as a center-aligned, long-format date string. It also grays out the cell if the table is disabled.

Definition at line 31 of file LongDateCellRenderer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.guiutils.LongDateCellRenderer.LongDateCellRenderer ( )

Definition at line 37 of file LongDateCellRenderer.java.

Member Function Documentation

Component org.sleuthkit.autopsy.guiutils.LongDateCellRenderer.getTableCellRendererComponent ( JTable  table,
Object  value,
boolean  isSelected,
boolean  hasFocus,
int  row,
int  column 
)
void org.sleuthkit.autopsy.guiutils.GrayableCellRenderer.grayCellIfTableNotEnabled ( JTable  table,
boolean  isSelected 
)
inherited

Member Data Documentation

final SimpleDateFormat org.sleuthkit.autopsy.guiutils.LongDateCellRenderer.dateFormat = new SimpleDateFormat(FORMAT_STRING)
staticprivate

Definition at line 35 of file LongDateCellRenderer.java.

final String org.sleuthkit.autopsy.guiutils.LongDateCellRenderer.FORMAT_STRING = "yyyy/MM/dd HH:mm:ss"
staticprivate

Definition at line 34 of file LongDateCellRenderer.java.

final long org.sleuthkit.autopsy.guiutils.LongDateCellRenderer.serialVersionUID = 1L
staticprivate

Definition at line 33 of file LongDateCellRenderer.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.