Autopsy  4.19.3
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< Section > panelData)
 
void addLabel (String text, int row)
 
void addPropertyName (String key, int row)
 
void addPropertyValue (String value, int row)
 
void addSubTitle (String title, int row)
 
void addTitle (String title, int row)
 
Section buildBasicProperties (OsAccount account)
 
Section buildHostData (Host host, Map< DataSource, List< OsAccountAttribute >> attributeDataSourceMap)
 
Section buildRealmProperties (OsAccountRealm realm)
 
GridBagConstraints getPropertyNameContraints (int row)
 
GridBagConstraints getPropertyValueContraints (int row)
 
GridBagConstraints getSubtitleContraints (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 Insets SUBHEADER_COLUMN_INSETS = new Insets(5, ContentViewerDefaults.getSectionIndent(), ContentViewerDefaults.getLineSpacing(), 0)
 
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 63 of file OsAccountDataPanel.java.

Member Function Documentation

void org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addDataComponents ( List< Section >  panelData)
private
void org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addLabel ( String  text,
int  row 
)
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 333 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
void org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.addSubTitle ( String  title,
int  row 
)
private
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 313 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().

Section 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 194 of file OsAccountDataPanel.java.

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

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

Section org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.buildHostData ( Host  host,
Map< DataSource, List< OsAccountAttribute >>  attributeDataSourceMap 
)
private
Section 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 237 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
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 427 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.getSubtitleContraints ( int  row)
private
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 368 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 88 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 78 of file OsAccountDataPanel.java.

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

Definition at line 76 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 71 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 72 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 66 of file OsAccountDataPanel.java.

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

Definition at line 65 of file OsAccountDataPanel.java.

final Insets org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.SUBHEADER_COLUMN_INSETS = new Insets(5, ContentViewerDefaults.getSectionIndent(), ContentViewerDefaults.getLineSpacing(), 0)
staticprivate
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-2022 Basis Technology. Generated on: Thu Oct 6 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.