Autopsy  4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel Class Reference

Inherits JPanel.

Classes

class  PanelDataFetcher
 
class  WorkerResults
 

Private Member Functions

void addDataComponents (List< SectionData > panelData)
 
void addPropertyName (String key, int row)
 
void addPropertyValue (String value, int row)
 
void addTitle (String title, int row)
 
SectionData buildBasicProperties (OsAccount account)
 
SectionData buildHostData (Host host, List< OsAccountAttribute > attributeList)
 
SectionData buildRealmProperties (OsAccountRealm realm)
 
GridBagConstraints getPropertyNameContraints (int row)
 
GridBagConstraints getPropertyValueContraints (int row)
 
GridBagConstraints getTitleContraints (int row)
 
void initialize ()
 

Private Attributes

PanelDataFetcher dataFetcher = null
 

Static Private Attributes

static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("MMM dd yyyy", US)
 
static final Insets FIRST_HEADER_INSETS = new Insets(0, 0, 0, 0)
 
static final Insets HEADER_INSETS = new Insets(ContentViewerDefaults.getSectionSpacing(), 0, ContentViewerDefaults.getLineSpacing(), 0)
 
static final int KEY_COLUMN = 0
 
static final Insets KEY_COLUMN_INSETS = new Insets(0, ContentViewerDefaults.getSectionIndent(), ContentViewerDefaults.getLineSpacing(), 0)
 
final static Logger logger = Logger.getLogger(OsAccountDataPanel.class.getName())
 
static final long serialVersionUID = 1L
 
static final int VALUE_COLUMN = 1
 
static final Insets VALUE_COLUMN_INSETS = new Insets(0, ContentViewerDefaults.getColumnSpacing(), ContentViewerDefaults.getLineSpacing(), 0)
 

Detailed Description

Panel for displaying the properties of an OsAccount.

Definition at line 59 of file OsAccountDataPanel.java.

Member Function Documentation

void org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addDataComponents ( List< SectionData >  panelData)
private
void org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addPropertyName ( String  key,
int  row 
)
private

Add the property name at the given row in the layout.

Parameters
keyThe property name.
rowThe row in the layout.

Definition at line 285 of file OsAccountDataPanel.java.

References org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.getPropertyNameContraints().

Referenced by org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addDataComponents().

void org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addPropertyValue ( String  value,
int  row 
)
private

Add the property value at the given row in the layout.

Parameters
valueThe value to display.
rowThe row in the layout.

Definition at line 296 of file OsAccountDataPanel.java.

References org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.getPropertyValueContraints().

Referenced by org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addDataComponents().

void org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addTitle ( String  title,
int  row 
)
private

Add a section title to the panel with the given title and location.

Parameters
titleSection title.
rowRow in the layout the title will appear.

Definition at line 272 of file OsAccountDataPanel.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getHeaderFont(), and org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.getTitleContraints().

Referenced by org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addDataComponents().

SectionData org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.buildBasicProperties ( OsAccount  account)
private

Returns the data for the Basic Properties section of the panel.

Parameters
accountSelected account
Returns
The basic properties data for the given account.

Definition at line 176 of file OsAccountDataPanel.java.

References org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getFormattedTime().

Referenced by org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.PanelDataFetcher.done().

SectionData org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.buildHostData ( Host  host,
List< OsAccountAttribute >  attributeList 
)
private
SectionData org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.buildRealmProperties ( OsAccountRealm  realm)
private

Builds the Realm Properties.

Parameters
realmA valid OsAccountRealm.
Returns
Data to be displayed for the given realm.

Definition at line 215 of file OsAccountDataPanel.java.

Referenced by org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.PanelDataFetcher.done().

GridBagConstraints org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.getPropertyNameContraints ( int  row)
private

Generate the constraints for a property name at the given row.

Parameters
row
Returns
Constraints for the property name label.

Definition at line 332 of file OsAccountDataPanel.java.

References org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.KEY_COLUMN, and org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.KEY_COLUMN_INSETS.

Referenced by org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addPropertyName().

GridBagConstraints org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.getPropertyValueContraints ( int  row)
private

Generate the constraints for a property value at the given row.

Parameters
rowRow in the layout.
Returns
The constraints for the property label.

Definition at line 352 of file OsAccountDataPanel.java.

References org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.VALUE_COLUMN, and org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.VALUE_COLUMN_INSETS.

Referenced by org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addPropertyValue().

GridBagConstraints org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.getTitleContraints ( int  row)
private

Generate the constraints for a title at the given row.

Parameters
rowThe row to generate the title constraints for.
Returns
Constraints for a title row.

Definition at line 308 of file OsAccountDataPanel.java.

Referenced by org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addTitle().

void org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.initialize ( )
private

Initializes the panel layout.

Definition at line 83 of file OsAccountDataPanel.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getPanelInsets().

Member Data Documentation

PanelDataFetcher org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.dataFetcher = null
private

Definition at line 73 of file OsAccountDataPanel.java.

final SimpleDateFormat org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.DATE_FORMAT = new SimpleDateFormat("MMM dd yyyy", US)
staticprivate

Definition at line 71 of file OsAccountDataPanel.java.

final Insets org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.FIRST_HEADER_INSETS = new Insets(0, 0, 0, 0)
staticprivate

Definition at line 67 of file OsAccountDataPanel.java.

final Insets org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.HEADER_INSETS = new Insets(ContentViewerDefaults.getSectionSpacing(), 0, ContentViewerDefaults.getLineSpacing(), 0)
staticprivate

Definition at line 68 of file OsAccountDataPanel.java.

final int org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.KEY_COLUMN = 0
staticprivate
final Insets org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.KEY_COLUMN_INSETS = new Insets(0, ContentViewerDefaults.getSectionIndent(), ContentViewerDefaults.getLineSpacing(), 0)
staticprivate
final static Logger org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.logger = Logger.getLogger(OsAccountDataPanel.class.getName())
staticprivate

Definition at line 62 of file OsAccountDataPanel.java.

final long org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.serialVersionUID = 1L
staticprivate

Definition at line 61 of file OsAccountDataPanel.java.

final int org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.VALUE_COLUMN = 1
staticprivate
final Insets org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.VALUE_COLUMN_INSETS = new Insets(0, ContentViewerDefaults.getColumnSpacing(), ContentViewerDefaults.getLineSpacing(), 0)
staticprivate

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

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