Autopsy  4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog Class Reference

Inherits JDialog.

Classes

class  TextBoxChangedListener
 

Public Member Functions

 AddNewOrganizationDialog ()
 
 AddNewOrganizationDialog (EamOrganization orgToEdit)
 
EamOrganization getNewOrg ()
 
boolean isChanged ()
 
boolean valid ()
 

Private Member Functions

void bnCancelActionPerformed (java.awt.event.ActionEvent evt)
 
void bnOKActionPerformed (java.awt.event.ActionEvent evt)
 
boolean checkFields ()
 
void customizeComponents ()
 
void display ()
 
boolean enableOkButton (Boolean enable)
 
void initComponents ()
 
boolean requiredFieldsArePopulated ()
 
void setTextBoxListeners ()
 

Static Private Member Functions

static void addDocumentListeners (Collection< JTextField > textFields, TextBoxChangedListener listener)
 

Private Attributes

javax.swing.JButton bnCancel
 
javax.swing.JButton bnOK
 
boolean hasChanged
 
javax.swing.JLabel lbOrganizationName
 
javax.swing.JLabel lbPocEmail
 
javax.swing.JLabel lbPocHeading
 
javax.swing.JLabel lbPocName
 
javax.swing.JLabel lbPocPhone
 
javax.swing.JLabel lbWarningMsg
 
EamOrganization newOrg
 
final EamOrganization organizationToEdit
 
final TextBoxChangedListener textBoxChangedListener
 
final Collection< JTextField > textBoxes
 
javax.swing.JTextField tfOrganizationName
 
javax.swing.JTextField tfPocEmail
 
javax.swing.JTextField tfPocName
 
javax.swing.JTextField tfPocPhone
 

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(AddNewOrganizationDialog.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

Dialog to add a new organization to the Central Repository database

Definition at line 41 of file AddNewOrganizationDialog.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.AddNewOrganizationDialog ( )
org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.AddNewOrganizationDialog ( EamOrganization  orgToEdit)

Member Function Documentation

static void org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.addDocumentListeners ( Collection< JTextField >  textFields,
TextBoxChangedListener  listener 
)
staticprivate

Adds a change listener to a collection of text fields.

Parameters
textFieldsThe text fields.
listenerThe change listener.

Definition at line 116 of file AddNewOrganizationDialog.java.

Referenced by org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.setTextBoxListeners().

void org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.bnCancelActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.bnOKActionPerformed ( java.awt.event.ActionEvent  evt)
private
boolean org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.checkFields ( )
private
void org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.customizeComponents ( )
private
void org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.display ( )
private
boolean org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.enableOkButton ( Boolean  enable)
private
EamOrganization org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.getNewOrg ( )
void org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.initComponents ( )
private

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 214 of file AddNewOrganizationDialog.java.

References org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.bnCancel, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.bnCancelActionPerformed(), org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.bnOK, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.bnOKActionPerformed(), org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbOrganizationName, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbPocEmail, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbPocHeading, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbPocName, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbPocPhone, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbWarningMsg, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfOrganizationName, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfPocEmail, org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfPocName, and org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfPocPhone.

Referenced by org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.AddNewOrganizationDialog().

boolean org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.isChanged ( )
boolean org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.requiredFieldsArePopulated ( )
private

Tests whether or not values have been entered in all of the database settings text fields.

Returns
True or false.

Definition at line 128 of file AddNewOrganizationDialog.java.

References org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfOrganizationName.

Referenced by org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.checkFields().

void org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.setTextBoxListeners ( )
private
boolean org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.valid ( )

Member Data Documentation

javax.swing.JButton org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.bnCancel
private
javax.swing.JButton org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.bnOK
private
boolean org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.hasChanged
private
javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbOrganizationName
private
javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbPocEmail
private
javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbPocHeading
private
javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbPocName
private
javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbPocPhone
private
javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.lbWarningMsg
private
final Logger org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.LOGGER = Logger.getLogger(AddNewOrganizationDialog.class.getName())
staticprivate

Definition at line 43 of file AddNewOrganizationDialog.java.

EamOrganization org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.newOrg
private
final EamOrganization org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.organizationToEdit
private

Definition at line 50 of file AddNewOrganizationDialog.java.

final long org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.serialVersionUID = 1L
staticprivate

Definition at line 44 of file AddNewOrganizationDialog.java.

final TextBoxChangedListener org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.textBoxChangedListener
private

Definition at line 47 of file AddNewOrganizationDialog.java.

final Collection<JTextField> org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.textBoxes
private

Definition at line 46 of file AddNewOrganizationDialog.java.

javax.swing.JTextField org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfOrganizationName
private
javax.swing.JTextField org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfPocEmail
private
javax.swing.JTextField org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfPocName
private
javax.swing.JTextField org.sleuthkit.autopsy.centralrepository.optionspanel.AddNewOrganizationDialog.tfPocPhone
private

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

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