A C F G I K L M S U 

A

addCmToInchesListener(ActionListener) - Method in class UnitConvView
Add a listener for the "cm to inches" button.
addCtoFListener(ActionListener) - Method in class UnitConvView
Add a listener for the "C to F" button.
addFtoCListener(ActionListener) - Method in class UnitConvView
Add a listener for the "F to C" button.
addInchesToCmListener(ActionListener) - Method in class UnitConvView
Add a listener for the "inches to cm" button.
addKgToLbsListener(ActionListener) - Method in class UnitConvView
Add a listener for the "kg to lbs" button.
addLbsToKgListener(ActionListener) - Method in class UnitConvView
Add a listener for the "lbs to kg" button.
addResetListener(ActionListener) - Method in class UnitConvView
Add a listener for the reset menu item.
addSaveListener(ActionListener) - Method in class UnitConvView
Add a listener for the save menu item.

C

clear() - Method in class UnitConvModel
Re-initialises this model with a calculated value of zero.
CM_PER_INCH - Variable in class UnitConvModel
Represents the number of centimetres in an inch.
cmToInches(double) - Method in class UnitConvModel
Converts the passed value in centimetres to the corresponding length in inches.
cToF(double) - Method in class UnitConvModel
Converts the passed value in Celcius to the corresponding temperature in Fahrenheit

F

fToC(double) - Method in class UnitConvModel
Converts the passed value in Fahrenheit to the corresponding temperature in Celcius

G

getInputValue() - Method in class UnitConvModel
Returns the input value of this model.
getInputValue() - Method in class UnitConvView
Get the string value of the user input text field.
getModel() - Method in class UnitConvController
Returns the model associated with this controller.
getResultValue() - Method in class UnitConvModel
Returns the converted value calculated by this model.
getResultValue() - Method in class UnitConvView
Get the string value of the result text field.
getSaveFile() - Method in class UnitConvView
Shows a file chooser for the user to select the file to save.
getView() - Method in class UnitConvController
Returns the view associated with this controller.

I

inchesToCm(double) - Method in class UnitConvModel
Converts the passed value in inches to the corresponding length in centimetres.

K

KG_PER_LBS - Variable in class UnitConvModel
Represents the number of kilograms in a pound.
kgToLbs(double) - Method in class UnitConvModel
Converts the passed value in kilograms to the corresponding weight in pounds.

L

lbsToKg(double) - Method in class UnitConvModel
Converts the passed value in pounds to the corresponding weight in kilograms.

M

main(String[]) - Static method in class UnitConvApp
Initialises and starts the Unit Converter application.

S

save(File) - Method in class UnitConvModel
Saves the current conversion to a file in plain text.
setInputValue(String) - Method in class UnitConvView
Set the string for the user input text field.
setResultValue(String) - Method in class UnitConvView
Set the string for the calculated value text field.

U

UnitConvApp - Class in <Unnamed>
This class is the main class for the Unit Converter application.
UnitConvApp() - Constructor for class UnitConvApp
 
UnitConvController - Class in <Unnamed>
This is the controller for the Unit Converter application.
UnitConvController(UnitConvModel, UnitConvView) - Constructor for class UnitConvController
Initialises this controller with the passed model and view.
UnitConvModel - Class in <Unnamed>
This is the model for the Unit Converter application.
UnitConvModel() - Constructor for class UnitConvModel
Creates a model with no user values and a calculated value of zero.
UnitConvView - Class in <Unnamed>
This is the view for the Unit Converter application.
UnitConvView(UnitConvModel) - Constructor for class UnitConvView
Initializes this view.
A C F G I K L M S U