Serialized Form


Package rand.asset_forfeiture

Class rand.asset_forfeiture.AssetGui extends javax.swing.JFrame implements Serializable

Serialized Fields

backOffice

javax.swing.JTextArea backOffice
This JTA stores the results of the current parameters.


resultsLog

javax.swing.JTextArea resultsLog
This JTA stores the results of all cases run since starting the tool.


wageWizardB

javax.swing.JButton wageWizardB
The button to launch the WageWizard


calculateB

javax.swing.JButton calculateB
The button to run the calculations


resetB

javax.swing.JButton resetB
The button to clear all the text fields


doneB

javax.swing.JButton doneB
The button to close the tool


infoB

javax.swing.JButton infoB
The button to bring up more information about the tool


resultsB

javax.swing.JButton resultsB
The button to display backOffice


saveB

javax.swing.JButton saveB
The button to save the current inputs/output to CSV


logB

javax.swing.JButton logB
The button to display resultsLog


dp

DisplayPanel dp
The DisplayPanel which controls all the textual input/output for the variables


defaultPL3

java.lang.Double defaultPL3
The value of PL3 obtained from the BLS


pcs

ProfitCalculator[] pcs
An array of all the ProfitCalculators that you want to compare

Class rand.asset_forfeiture.CompanyInfo extends javax.swing.JDialog implements Serializable

Serialized Fields

doneB

javax.swing.JButton doneB
The "Done" button


nameModel

javax.swing.text.PlainDocument nameModel
The model for the company name, so it persists after the dialog is closed.


stateModel

javax.swing.DefaultComboBoxModel stateModel
The model for the state chooser, so it persists after the dialog is closed.


msa

javax.swing.JComboBox msa
The menu for choosing an MSA, based on which state is already chosen.


mogs

javax.swing.DefaultComboBoxModel mogs
The model for the MOG chosen, so it persists after the dialog is closed.


msasByState

java.util.HashMap<K,V> msasByState
Mapping from MOG to State to the appropariate MSA ComboBox


wagesByMSA

java.util.HashMap<K,V> wagesByMSA
Mapping from MOG to MSA to average wage

Class rand.asset_forfeiture.CustomWage extends javax.swing.JDialog implements Serializable

Serialized Fields

newWage

javax.swing.JTextField newWage
The input box to accept a user-input value of newPL3


wagePrompt

javax.swing.JLabel wagePrompt
The text label asking for input


defaultPL3

java.lang.Double defaultPL3
The BLS take on what newPL3 should be

Class rand.asset_forfeiture.DisplayPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

columnHeadings

java.lang.String[] columnHeadings
An array of column headings for the input/output section, in the order in which they will appear.


labels

javax.swing.JLabel[] labels
The labels for each of the input boxes.


alternateLabels

javax.swing.JLabel[] alternateLabels
The labels for each of the output rows.


textFields

javax.swing.JTextField[][] textFields
The JTextFields that are used for all input/output, with [0][0] being the upper left hand field.


manager

javax.swing.SpringLayout manager
The layout manager for the main input/output panel section.

Class rand.asset_forfeiture.HelpDialog extends javax.swing.JDialog implements Serializable

Class rand.asset_forfeiture.MyTextBoxEditor extends javax.swing.DefaultCellEditor implements Serializable

Class rand.asset_forfeiture.MyTextBoxRenderer extends javax.swing.table.DefaultTableCellRenderer implements Serializable

Serialized Fields

selectionBackground

java.awt.Color selectionBackground
Pulling in the default selection color


editBorder

javax.swing.border.Border editBorder
Setting the cell borders to Color.BLACK ensures that they are clearly visible, even when some of the cell backgrounds are Color.GRAY.


cellHasFocus

boolean cellHasFocus
Tracks whether the cell this object renders currently has focus or not.

Class rand.asset_forfeiture.WageTableModel extends javax.swing.table.DefaultTableModel implements Serializable

Class rand.asset_forfeiture.WageWizard extends javax.swing.JDialog implements Serializable

Serialized Fields

okB

javax.swing.JButton okB
OK means you are done, so save the results to the DisplayPanel


cancelB

javax.swing.JButton cancelB
Cancel exits without saving


addRowB

javax.swing.JButton addRowB
Adds another row to the table in case you run out


removeRowB

javax.swing.JButton removeRowB
Removes the active row as a simple alternative to zeroing all the entries by hand


valid

java.lang.Boolean valid
This variable keeps track of whether the data stored in wtm are valid or not.


myTable

javax.swing.JTable myTable
This is the table that is the main interface for the WageWizard. It is kind of like a spreadsheet, except you need to implement all the functionality in java instead of as formulae in the cells.


busy

java.lang.Boolean busy
Busy is true when the program is editing cells. Whenever the user changes something, we want to recalculate the results in that row. However, putting the new results in to the output cells triggers another TableModelEvent, so we want to ignore those events generated by the internal program logic.


initialData

java.lang.Object[] initialData
A simple array that holds the initial values used for each row of the WageWizard.

Class rand.asset_forfeiture.WageWizard.MyComboBoxEditor extends javax.swing.DefaultCellEditor implements Serializable

Class rand.asset_forfeiture.WageWizard.MyComboBoxRenderer extends javax.swing.JComboBox implements Serializable