Skip navigation links
A C G J M P R S V 

A

actionPerformed(ActionEvent) - Method in class jll.celcalc.chap2.GUIButtonsListener
Handles clicks on individual GUI buttons.
actionPerformed(ActionEvent) - Method in class jll.celcalc.chap2.MenusListener
Handles clicks on individual menu items.

C

ChapGUI - Class in jll.celcalc.chap2
Implements the main GUI
ChapGUI() - Constructor for class jll.celcalc.chap2.ChapGUI
Create the GUI frame.
ChapMenuItems - Class in jll.celcalc.chap2
This class extends JMenuItem to add some additional fields, which simplifies the code for adding items to the menu bar and determining what actions to take as various menu items are selected.
ChapMenuItems(JMenu) - Constructor for class jll.celcalc.chap2.ChapMenuItems
This class constructor creates ChapMenuItem objects (e.g., menu items) for the Conversions menu, and initializes the appropriate GUI variables to be the first menu item.
ChapMenuItems.ChapMnuItem - Class in jll.celcalc.chap2
Define a class for what a menu item looks like.
ChapMenuItems.ConversionType - Enum in jll.celcalc.chap2
Define values for the eConvType field in a ChapMenuItem class.
ChapMnuItem(String, String, double, String, String, double, String, ChapMenuItems.ConversionType) - Constructor for class jll.celcalc.chap2.ChapMenuItems.ChapMnuItem
This class constructor creates a ChapMenuItem when conversion data is supplied.
ConvertBtnActions - Class in jll.celcalc.chap2
Handles the Convert button.
ConvertBtnActions() - Constructor for class jll.celcalc.chap2.ConvertBtnActions
 
convertC_F() - Method in class jll.celcalc.chap2.ConvertBtnActions
Convert between degrees C and degrees F.
convertHorDMS_decHrsorDegs() - Method in class jll.celcalc.chap2.ConvertBtnActions
Convert between HMS and decimal hours, and DMS and decimal degrees.
crossMultiply() - Method in class jll.celcalc.chap2.ConvertBtnActions
Cross-multiply to do the requested conversion.

G

getAboutCommand() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the command that represents the About menu item.
getConvertCommand() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the command that represents the Convert button.
getConvMenuCommand() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the command that represents a Conversions menu item.
getConvType() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the type of conversion to be performed (cross-multiply, HMS/DMS, deg C/F).
getConvType() - Method in class jll.celcalc.chap2.ChapMenuItems.ChapMnuItem
Gets the type of conversion to perform.
getExitCommand() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the command that represents the Exit menu item.
getFromDenom() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the "from" denominator for a cross multiplication.
getFromDenom() - Method in class jll.celcalc.chap2.ChapMenuItems.ChapMnuItem
Gets the "from" denominator when doing a cross-multiply conversion.
getFromFormat() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the "from" format for displaying results.
getFromFormat() - Method in class jll.celcalc.chap2.ChapMenuItems.ChapMnuItem
Gets the format for displaying the "from" data value.
getFromUnits() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the "from" units.
getFromUnits() - Method in class jll.celcalc.chap2.ChapMenuItems.ChapMnuItem
Gets the "from" units for a conversion
getInstructionsCommand() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the command that represents the Instructions menu item.
getMenuListener() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the listener for the menu items
getPrtInstance() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the ASTPrt instance for this application's scrollable text pane area.
getResults() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the results label value from the GUI.
getSwapCommand() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the command that represents the Swap Units button
getTextPane() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the scrollable text pane area for this GUI.
getToDenom() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the "to" denominator for a cross multiplication.
getToDenom() - Method in class jll.celcalc.chap2.ChapMenuItems.ChapMnuItem
Gets the "to" denominator when doing a cross-multiply conversion.
getToFormat() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the "to" format for displaying results.
getToFormat() - Method in class jll.celcalc.chap2.ChapMenuItems.ChapMnuItem
Gets the format for displaying the "to" data value.
getToUnits() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the "to" units.
getToUnits() - Method in class jll.celcalc.chap2.ChapMenuItems.ChapMnuItem
Gets the "to" units for a conversion.
getUserInput() - Static method in class jll.celcalc.chap2.ChapGUI
Gets the data that the user entered in the GUI.
GUIButtonsListener - Class in jll.celcalc.chap2
Implements an action listener for GUI buttons.
GUIButtonsListener() - Constructor for class jll.celcalc.chap2.GUIButtonsListener
 

J

jll.celcalc.chap2 - package jll.celcalc.chap2
 

M

main(String[]) - Static method in class jll.celcalc.chap2.RunChap2
Main entry point for the 'Unit Conversions' program.
MenusListener - Class in jll.celcalc.chap2
Implements an action listener for menu items.
MenusListener() - Constructor for class jll.celcalc.chap2.MenusListener
 

P

printlnCond() - Static method in class jll.celcalc.chap2.ChapGUI
Routines to handle sending output text to the scrollable output area.
printlnCond(String) - Static method in class jll.celcalc.chap2.ChapGUI
Routines to handle sending output text to the scrollable output area.
printlnCond(String, boolean) - Static method in class jll.celcalc.chap2.ChapGUI
Routines to handle sending output text to the scrollable output area.

R

RunChap2 - Class in jll.celcalc.chap2
Chapter 2: Unit Conversions
RunChap2() - Constructor for class jll.celcalc.chap2.RunChap2
 

S

saveFromToValues(String, double, String, String, double, String, ChapMenuItems.ConversionType) - Static method in class jll.celcalc.chap2.ChapGUI
Saves the various from/to conversion related items in the appropriate GUI variables.
setResults(String) - Static method in class jll.celcalc.chap2.ChapGUI
Sets the results label in the GUI.
showAboutBox() - Static method in class jll.celcalc.chap2.ChapGUI
Shows the About Box.
swapUnits() - Static method in class jll.celcalc.chap2.ChapGUI
Swaps the conversion related information and clears the results label in the GUI.

V

valueOf(String) - Static method in enum jll.celcalc.chap2.ChapMenuItems.ConversionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum jll.celcalc.chap2.ChapMenuItems.ConversionType
Returns an array containing the constants of this enum type, in the order they are declared.
A C G J M P R S V 
Skip navigation links