A B C D E F G H I K L M N O P R S T U V W X Z

A

abortCurrentTask() - Method in class ca.spaz.task.TaskBar
 
abortTask() - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
abortTask() - Method in interface ca.spaz.task.Task
The task has been cancelled.
AbstractFoodDataSource - Class in ca.spaz.cron.datasource
This is a partial implementation of the IFoodDatasource interface, providing checking for proper sources for Food parameters and basic naming.
AbstractFoodDataSource(String) - Constructor for class ca.spaz.cron.datasource.AbstractFoodDataSource
Construct a new instance of this class, with the name supplied.
AbstractFoodGroup - Class in ca.spaz.cron.database
A simple food group aggregator.
AbstractFoodGroup() - Constructor for class ca.spaz.cron.database.AbstractFoodGroup
 
AbstractMutableFoodDatasource - Class in ca.spaz.cron.datasource
A partial implementation of a mutable food source.
AbstractMutableFoodDatasource(String) - Constructor for class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
AbstractNutrientSummaryPanel - Class in ca.spaz.cron.summary
 
AbstractNutrientSummaryPanel() - Constructor for class ca.spaz.cron.summary.AbstractNutrientSummaryPanel
 
AbstractRegexKeyValidator - Class in ca.spaz.cron.config
 
AbstractRegexKeyValidator() - Constructor for class ca.spaz.cron.config.AbstractRegexKeyValidator
 
AbstractWWWDatasource - Class in ca.spaz.cron.datasource.www
The base class of all WWW food datasources.
AbstractWWWDatasource(String) - Constructor for class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
actionPerformed(ActionEvent) - Method in class ca.spaz.cron.ui.MeasureWidget
Called when the text field is set
actionPerformed(ActionEvent) - Method in class ca.spaz.cron.ui.USDAImportDialog.FinishAction
 
actionPerformed(ActionEvent) - Method in class ca.spaz.cron.ui.USDAImportDialog.ImportAction
 
actionPerformed(ActionEvent) - Method in class ca.spaz.cron.ui.USDAImportDialog.NextAction
 
actionPerformed(ActionEvent) - Method in class ca.spaz.cron.user.USDAImportWizardPanel.ImportAction
 
actionPerformed(ActionEvent) - Method in class ca.spaz.gui.SpazCanvas
 
actionPerformed(ActionEvent) - Method in class ca.spaz.gui.SpazMenuBar
 
actions - Variable in class ca.spaz.gui.SpazCanvas
 
add(JComponent, SpazPosition) - Method in class ca.spaz.gui.SpazCanvasLoader
 
add(String, String) - Method in class ca.spaz.sql.SQLColumnSet
 
add(String, Object) - Method in class ca.spaz.sql.SQLColumnSet
 
add(String, int) - Method in class ca.spaz.sql.SQLColumnSet
 
add(String, boolean) - Method in class ca.spaz.sql.SQLColumnSet
 
add(String, double) - Method in class ca.spaz.sql.SQLColumnSet
 
add(String, float) - Method in class ca.spaz.sql.SQLColumnSet
 
add(String, char) - Method in class ca.spaz.sql.SQLColumnSet
 
addAttribute(String, String) - Method in class ca.spaz.util.XMLNode
 
addChangeListener(ChangeListener) - Method in class ca.spaz.cron.ui.MeasureEditor
 
addChangeListener(ChangeListener) - Method in class ca.spaz.cron.ui.MeasureWidget
 
addChild(XMLNode) - Method in class ca.spaz.util.XMLNode
 
addConnectionStatusListener(IConnectionStatusObserver) - Method in class ca.spaz.cron.datasource.sql.ConnectionManager
Add an observer for notification when the database connection is made.
addContentPane(String, IValueListUser) - Method in class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated. Add a new content panel to the summary panel.
addContentPane(String, Icon, IValueListUser) - Method in class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated. Add a new content panel to the summary panel.
addFood(Serving) - Method in class ca.spaz.cron.database.AminoAcids
 
addFood(Serving) - Method in class ca.spaz.cron.database.Lipids
 
addFood(Serving) - Method in class ca.spaz.cron.database.MacroNutrients
 
addFood(Serving) - Method in class ca.spaz.cron.database.Minerals
 
addFood(NutrientTable, double) - Method in class ca.spaz.cron.database.NutrientTable
Add the nutrients in the given table to our total
addFood(Serving) - Method in class ca.spaz.cron.database.Vitamins
 
addFood(Food) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
addFood(Food) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Add a Food to this datasource.
addFoodDatasourceListener(IFoodDatasourceListener) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
addFoodDatasourceListener(IFoodDatasourceListener) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Add a new IFoodDatasourceListener to this implementation.
addFoodGroup(FoodGroup) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
addFoodGroup(FoodGroup) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Add a new FoodGroup to the data source.
addLayoutComponent(String, Component) - Method in class ca.spaz.gui.SpazLayout
Adds the specified component with the specified name to the layout.
addLayoutComponent(Component, Object) - Method in class ca.spaz.gui.SpazLayout
Adds the specified component to the layout, using the specified constraint object.
addMeasure(Food, Measure) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
addMeasure(Food, Measure) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Each food in the Datasource has available a list of Measures that describe portions or servings.
addMetric(Metric) - Method in class ca.spaz.cron.user.UserMetrics
Add a new metric to the list.
addOrderBy(String) - Method in class ca.spaz.sql.SQLSelect
 
addPropertyValidator(PropertyValidator) - Method in class ca.spaz.cron.CRONConfiguration
Add a PropertyValidator to the configuration.
addRemoveListener(ChangeListener) - Method in class ca.spaz.cron.ui.MeasureWidget
 
addSelection(String) - Method in class ca.spaz.sql.SQLSelect
Add an item to select
addSelection(String, String) - Method in class ca.spaz.sql.SQLSelect
 
addServing(Serving) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
addServing(Serving) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
This method consumes the food in a serving.
addServing(Serving) - Method in class ca.spaz.cron.ui.DailySummary
 
addServingToDay() - Method in class ca.spaz.cron.ui.ServingEditor
Add the current food to the current day
addTaskListener(TaskListener) - Method in class ca.spaz.cron.SplashScreen
Adds a task listener to this object to receive events on a task's progress.
addTaskListener(TaskListener) - Method in class ca.spaz.task.TaskBar
Adds a task listener to this object to receive events on a task's progress.
addToDB(Connection) - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAFood
 
addToDB(Connection, HashMap) - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAWeight
 
addUserChangeListener(UserChangeListener) - Method in class ca.spaz.cron.user.impl.CRONUser
 
addUserChangeListener(UserChangeListener) - Method in interface ca.spaz.cron.user.User
Add a listener for user change events.
addUserMetrics(Date, UserMetrics) - Method in class ca.spaz.cron.user.impl.CRONUser
 
addUserMetrics(UserMetrics) - Method in class ca.spaz.cron.user.impl.CRONUser
 
addUserMetrics(Date, UserMetrics) - Method in interface ca.spaz.cron.user.User
Add a new set of metrics for a particular date.
addUserMetrics(UserMetrics) - Method in interface ca.spaz.cron.user.User
Add a new set of metrics for the current time.
addValueField(String, String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Add a new value field to the component.
addValueField(String, String, String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Add a new value field to the component.
addWhere(String, Object) - Method in class ca.spaz.sql.SQLSelectableStatement
Added a WHERE constraint to the SELECT command.
addWhere(String, String, Object) - Method in class ca.spaz.sql.SQLSelectableStatement
 
addWhere(String, int) - Method in class ca.spaz.sql.SQLSelectableStatement
 
addWhere(String, String, int) - Method in class ca.spaz.sql.SQLSelectableStatement
 
addWhere(String, double) - Method in class ca.spaz.sql.SQLSelectableStatement
 
addWhere(String, String, double) - Method in class ca.spaz.sql.SQLSelectableStatement
 
addWhere(String, char) - Method in class ca.spaz.sql.SQLSelectableStatement
 
addWhere(String, String, char) - Method in class ca.spaz.sql.SQLSelectableStatement
 
addWhereLike(String, String) - Method in class ca.spaz.sql.SQLSelectableStatement
Added a WHERE constraint to the SELECT command.
addWizardPanel(WizardPanel) - Method in class ca.spaz.wizard.Wizard
 
adjustBottom(int, int) - Method in class ca.spaz.gui.SpazPosition
 
adjustLeft(int, int) - Method in class ca.spaz.gui.SpazPosition
 
adjustRight(int, int) - Method in class ca.spaz.gui.SpazPosition
 
adjustTop(int, int) - Method in class ca.spaz.gui.SpazPosition
 
ALA - Variable in class ca.spaz.cron.database.AminoAcids
 
alpha_carotene - Variable in class ca.spaz.cron.database.Vitamins
 
AminoAcids - Class in ca.spaz.cron.database
 
AminoAcids() - Constructor for class ca.spaz.cron.database.AminoAcids
 
AminoAcids(Food) - Constructor for class ca.spaz.cron.database.AminoAcids
 
AminoAcidSummaryPanel - Class in ca.spaz.cron.summary
 
AminoAcidSummaryPanel() - Constructor for class ca.spaz.cron.summary.AminoAcidSummaryPanel
 
ARG - Variable in class ca.spaz.cron.database.AminoAcids
 
ash - Variable in class ca.spaz.cron.database.MacroNutrients
 
ASP - Variable in class ca.spaz.cron.database.AminoAcids
 

B

beta_carotene - Variable in class ca.spaz.cron.database.Vitamins
 
beta_cryptoxanthin - Variable in class ca.spaz.cron.database.Vitamins
 
beta_tocopherol - Variable in class ca.spaz.cron.database.Vitamins
 
BiomarkerPanel - Class in ca.spaz.cron.ui
 
BiomarkerPanel() - Constructor for class ca.spaz.cron.ui.BiomarkerPanel
 
bottomA - Variable in class ca.spaz.gui.SpazPosition
 
bottomR - Variable in class ca.spaz.gui.SpazPosition
 

C

ca.spaz.cron - package ca.spaz.cron
 
ca.spaz.cron.config - package ca.spaz.cron.config
 
ca.spaz.cron.database - package ca.spaz.cron.database
 
ca.spaz.cron.datasource - package ca.spaz.cron.datasource
 
ca.spaz.cron.datasource.sql - package ca.spaz.cron.datasource.sql
 
ca.spaz.cron.datasource.sql.USDAsr17 - package ca.spaz.cron.datasource.sql.USDAsr17
 
ca.spaz.cron.datasource.www - package ca.spaz.cron.datasource.www
 
ca.spaz.cron.summary - package ca.spaz.cron.summary
 
ca.spaz.cron.targets - package ca.spaz.cron.targets
 
ca.spaz.cron.ui - package ca.spaz.cron.ui
 
ca.spaz.cron.user - package ca.spaz.cron.user
 
ca.spaz.cron.user.impl - package ca.spaz.cron.user.impl
 
ca.spaz.gui - package ca.spaz.gui
 
ca.spaz.sql - package ca.spaz.sql
 
ca.spaz.task - package ca.spaz.task
 
ca.spaz.util - package ca.spaz.util
 
ca.spaz.wizard - package ca.spaz.wizard
 
CacheMap - Class in ca.spaz.util
A caching map implementation that provides a maximum number of stored objects.
CacheMap(int) - Constructor for class ca.spaz.util.CacheMap
 
calcium - Variable in class ca.spaz.cron.database.Minerals
 
canAbortTask() - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
canAbortTask() - Method in interface ca.spaz.task.Task
Return true if the program can finish.
carbs - Variable in class ca.spaz.cron.database.MacroNutrients
 
centerFrame(Window) - Static method in class ca.spaz.util.ToolBox
Centers a given frame on the screen.
changeMeasure(Food, List) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
changeMeasure(Food, List) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
 
changeServingAmount(Serving) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
changeServingAmount(Serving) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Changes the amount of a food consumed to the amount in the serving provided.
checkDataSources() - Method in class ca.spaz.cron.CRONOMETER
 
cholesterol - Variable in class ca.spaz.cron.database.Lipids
 
chooseDate() - Method in class ca.spaz.cron.ui.DailySummary
Prompt the user for a specific calendar date and set the panel to that current date.
clear() - Method in class ca.spaz.util.CacheMap
 
close() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Close this connection.
close() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
close() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
closeAll() - Method in class ca.spaz.cron.datasource.Datasources
Closes all data sources in the application.
Columns - Interface in ca.spaz.sql
TODO describe
commitChanges() - Method in class ca.spaz.cron.user.NewUserWizard.IntroductionPanel
 
commitChanges() - Method in class ca.spaz.cron.user.NewUserWizard.TargetsPanel
 
commitChanges() - Method in class ca.spaz.cron.user.USDAImportWizardPanel
 
commitChanges() - Method in class ca.spaz.cron.user.UserInfoWizardPanel
 
commitChanges() - Method in class ca.spaz.wizard.WizardPanel
 
compareTo(Object) - Method in class ca.spaz.cron.user.UserMetrics
 
components - Variable in class ca.spaz.gui.SpazCanvas
 
components() - Method in class ca.spaz.gui.SpazCanvas
 
configureLogger() - Static method in class ca.spaz.cron.CRONOMETER
 
conn - Variable in class ca.spaz.cron.datasource.sql.SQLDatasource
 
connectionMade(String) - Method in interface ca.spaz.cron.datasource.sql.IConnectionStatusObserver
This method will be called when a connection to the specified connectionID is made.
ConnectionManager - Class in ca.spaz.cron.datasource.sql
Class for JDBC connection management.
containsFood(Food) - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Determine if this datasource contains the specified food.
containsFood(Food) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
containsFood(Food) - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
containsKey(Object) - Method in class ca.spaz.util.CacheMap
 
containsValue(Object) - Method in class ca.spaz.util.CacheMap
 
copper - Variable in class ca.spaz.cron.database.Minerals
 
CountableInputStream - Class in ca.spaz.util
This class implements an InputStream that counts the bytes that it has read.
CountableInputStream(InputStream) - Constructor for class ca.spaz.util.CountableInputStream
Create a new CountableInputStream and wrap it around the supplied InputStream.
createDefaultModel() - Method in class ca.spaz.gui.DoubleField
 
createNewFood() - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
createNewFood() - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Create a new Food object associated with this datasource.
createNewUser(User) - Static method in class ca.spaz.cron.user.NewUserWizard
 
createPersonalFoodSource() - Static method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
createPersonalFoodSource(String) - Static method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
createReadonlyFoodSource(String) - Static method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
createReadonlyFoodSource() - Static method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
CRONConfiguration - Class in ca.spaz.cron
 
CRONOMETER - Class in ca.spaz.cron
The main app.
CRONOMETER() - Constructor for class ca.spaz.cron.CRONOMETER
Constructor
CRONTargetModel - Class in ca.spaz.cron.targets
 
CRONTargetModel() - Constructor for class ca.spaz.cron.targets.CRONTargetModel
 
CRONUser - Class in ca.spaz.cron.user.impl
A CRONOMETER-specific, property-based User implementation.
CRONUser.UserPropertyValidator - Class in ca.spaz.cron.user.impl
A simple validator for user properties.
CRONUser.UserPropertyValidator() - Constructor for class ca.spaz.cron.user.impl.CRONUser.UserPropertyValidator
 
CYS - Variable in class ca.spaz.cron.database.AminoAcids
 

D

DailySummary - Class in ca.spaz.cron.ui
Shows all data for a particular date
DailySummary(CRONOMETER) - Constructor for class ca.spaz.cron.ui.DailySummary
 
DailySummary.ServingTableModel - Class in ca.spaz.cron.ui
 
DailySummary.ServingTableModel() - Constructor for class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
DatabaseID - Interface in ca.spaz.cron.datasource.sql
Simple interface for DatabaseIDs.
Datasources - Class in ca.spaz.cron.datasource
A class for managing datasources.
datasourceUpdated(ILocalFoodDatasource, FoodDataEvent, Object) - Method in interface ca.spaz.cron.datasource.IFoodDatasourceListener
 
DatasourceValidator - Class in ca.spaz.cron.config
 
DBRow - Class in ca.spaz.sql
Simple Java Object / Relational Database linker Uses reflection to map between simple objects and corresponding table rows.
DBRow() - Constructor for class ca.spaz.sql.DBRow
 
deleteDir(File) - Static method in class ca.spaz.util.ToolBox
Recursively delete a directory
deleteFromDatabase() - Method in class ca.spaz.cron.database.Serving
 
delta_tocopherol - Variable in class ca.spaz.cron.database.Vitamins
 
deselect() - Method in class ca.spaz.cron.ui.DailySummary
 
deselect() - Method in class ca.spaz.cron.ui.SearchPanel
 
diffSource(Food) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Gatekeeper method to ensure that the Food object is from a different Datasource.
doAddFood(Food) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Add a Food to this datasource.
doAddFood(Food) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doAddFoodGroup(FoodGroup) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Add a new FoodGroup to the data source.
doAddFoodGroup(FoodGroup) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doAddMeasure(Food, Measure) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Each food in the Datasource has available a list of Measures that describe portions or servings.
doAddMeasure(Food, Measure) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doBooleanString(String, Boolean) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Format a Boolean for display.
doCancel() - Method in class ca.spaz.cron.ui.FoodEditor
 
doCancel() - Method in class ca.spaz.cron.ui.USDAImportDialog
 
doCancel() - Method in class ca.spaz.cron.user.USDAImportWizardPanel
 
doCancel() - Method in class ca.spaz.wizard.Wizard
 
doChangeMeasure(Food, List) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
doChangeMeasure(Food, List) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
Update all changes made to a set of measures for the food.
doChangeServingAmount(Serving) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Changes the amount of a food consumed to the amount in the serving provided.
doChangeServingAmount(Serving) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doClose() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
doClose() - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
doConsumeFood(Serving) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
This method consumes the food in a serving.
doConsumeFood(Serving) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doCreateNewFood() - Method in class ca.spaz.cron.CRONOMETER
 
doCreateNewFood() - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Create a new Food object associated with this datasource.
doCreateNewFood() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doDBSearch() - Method in class ca.spaz.cron.ui.SearchPanel
Depending on the selected source, a different database will be searched
doDBSearch(IFoodDatasource) - Method in class ca.spaz.cron.ui.SearchPanel
Execute a search query for a food.
doDoubleString(String, Double) - Method in class ca.spaz.cron.summary.NumericSummaryPanel
Deprecated.  
doDoubleString(String, Double) - Method in class ca.spaz.cron.summary.OldMacroNutrientSummaryPanel
Deprecated.  
doDoubleString(String, Double) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Format a Double for display.
doEditTargets() - Method in class ca.spaz.cron.CRONOMETER
 
doExecute(Connection) - Method in class ca.spaz.sql.SQLDelete
Overrides execute() and calls executeUpdate()
doExecute(Connection) - Method in class ca.spaz.sql.SQLInsert
 
doExecute(Connection) - Method in class ca.spaz.sql.SQLStatement
 
doExecute(Connection) - Method in class ca.spaz.sql.SQLUpdate
Overrides execute() and calls executeUpdate()
doExecuteQuery(Connection) - Method in class ca.spaz.sql.SQLInsert
 
doExecuteQuery(Connection) - Method in class ca.spaz.sql.SQLSelect
Execute the query and return the results.
doExecuteQuery(Connection) - Method in class ca.spaz.sql.SQLStatement
 
doFindAllFoods() - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Retrieve a list of all foods in this datasource.
doFindAllFoods() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doFindAllFoods() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
doFindAllFoods() - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
doFindFoods(String[]) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Retrieve a List of all foods in this particular Datasource.
doFindFoods(String[], String, String) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Retrieve a List of all foods in this particular Datasource having the given food group and source.
doFindFoods(String[]) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doFindFoods(String[], String, String) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doFindFoods(String[], String, String) - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
doFindFoods(String[]) - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
doFindFoods(String[]) - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
doFindFoods(String[], String, String) - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
doFinish() - Method in class ca.spaz.wizard.Wizard
 
doGetFoodGroups() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
Retrieve a list of food groups for this data source.
doGetFoodGroups() - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
doGetMeasuresFor(Food) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Return a List of Measure objects for the provided food.
doGetMeasuresFor(Food) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doGetMeasuresFor(Food) - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
doGetMeasuresFor(Food) - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
doGetNutrientsFor(Food, NutrientTable) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Fill the provided NutrientTable with the nutrients associated with the Food.
doGetNutrientsFor(Food, NutrientTable) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doGetNutrientsFor(Food, NutrientTable) - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
doGetNutrientsFor(Food, NutrientTable) - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
doGetSources() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
Retrieve a list of Sources available from this data source.
doGetSources() - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
doGetTableName() - Method in class ca.spaz.cron.database.AminoAcids
 
doGetTableName() - Method in class ca.spaz.cron.database.Lipids
 
doGetTableName() - Method in class ca.spaz.cron.database.MacroNutrients
 
doGetTableName() - Method in class ca.spaz.cron.database.Minerals
 
doGetTableName() - Method in class ca.spaz.cron.database.NutrientTable
Subclasses must implement this in order to supply their table name.
doGetTableName() - Method in class ca.spaz.cron.database.Vitamins
 
doGetTextForValue(String, Object) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Get the label text for a value.
doGetTimesConsumed(Food) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Retrieve the total number of times that this food has been consumed.
doGetTimesConsumed(Food, Date, Date) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Retrieve the number of times the specified Food was consumed between the provided dates.
doGetTimesConsumed(Food) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doGetTimesConsumed(Food, Date, Date) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doIntegerString(String, Integer) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Format a Integer for display.
doIsValid(String, String) - Method in class ca.spaz.cron.config.AbstractRegexKeyValidator
This method will be called only in the case where the pattern matches.
doIsValid(String, String) - Method in class ca.spaz.cron.user.impl.CRONUser.UserPropertyValidator
 
doNewUserWizard() - Method in class ca.spaz.cron.CRONOMETER
 
doQuit() - Method in class ca.spaz.cron.CRONOMETER
 
doRemoveFood(Food) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Remove a Food from the datasource.
doRemoveFood(Food) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doRemoveMeasure(Food, Measure) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Remove a particular form of Measure from the list of those available for a particular Food.
doRemoveMeasure(Food, Measure) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
Remove a measure from the database.
doSave() - Method in class ca.spaz.cron.ui.FoodEditor
 
doSaveFood(Food) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Alter the information of some Food object in the backing representation of the datasource.
doSaveFood(Food) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doSaveMeasure(Measure) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doString(String, String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Format a String for display.
DoubleField - Class in ca.spaz.gui
 
DoubleField(double, int) - Constructor for class ca.spaz.gui.DoubleField
 
DoubleField.DoubleDocument - Class in ca.spaz.gui
 
DoubleField.DoubleDocument() - Constructor for class ca.spaz.gui.DoubleField.DoubleDocument
 
doUnConsumeFood(Serving) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Remove the Food in a particular serving from the user's consumed list.
doUnConsumeFood(Serving) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
doUSDAImport() - Method in class ca.spaz.cron.CRONOMETER
 
doValueUpdate(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Subclass-specific behaviour on value settings occurs here.
doValueUpdate(String) - Method in class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated.  
downloadBinary(URL, File) - Static method in class ca.spaz.util.ToolBox
Download a URL to a file
DSEVENT_FOOD_ADDED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
Enumeration values
DSEVENT_FOOD_CHANGED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
 
DSEVENT_FOOD_DELETED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
 
DSEVENT_MEASURE_ADDED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
 
DSEVENT_MEASURE_CHANGED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
 
DSEVENT_MEASURE_REMOVED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
 
DSEVENT_SERVING_ADDED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
 
DSEVENT_SERVING_CHANGED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
 
DSEVENT_SERVING_REMOVED - Static variable in class ca.spaz.cron.datasource.FoodDataEvent
 

E

editFood(Food) - Static method in class ca.spaz.cron.ui.FoodEditor
 
EditServingDialog - Class in ca.spaz.cron.ui
An alternative option for editing a Consumed food item amount, by popping up a dialog for editing.
EditServingDialog(Serving) - Constructor for class ca.spaz.cron.ui.EditServingDialog
 
editTargets() - Static method in class ca.spaz.cron.targets.TargetEditor
 
entrySet() - Method in class ca.spaz.util.CacheMap
 
EQ - Static variable in class ca.spaz.sql.SQLSelectableStatement
 
equals(Object) - Method in class ca.spaz.cron.config.DatasourceValidator
 
equals(FoodGroup) - Method in class ca.spaz.cron.database.AbstractFoodGroup
 
equals(Object) - Method in class ca.spaz.cron.user.UserMetrics
 
equals(Object) - Method in class ca.spaz.util.CacheMap
 
escape(String) - Method in class ca.spaz.util.XMLNode
Escape a string so that it's safe to put in XML
execute(Connection) - Method in class ca.spaz.sql.SQLStatement
 
executeQuery(Connection) - Method in class ca.spaz.sql.SQLStatement
 
executeTask(Task) - Method in class ca.spaz.task.TaskBar
Start the given task.
exists() - Method in class ca.spaz.cron.database.Serving
 

F

fiber - Variable in class ca.spaz.cron.database.MacroNutrients
 
findAllFoods() - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
 
findAllFoods() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Retrieve a list of all foods in this datasource.
findFoodBySourceUID(String) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
Find a local food by its sourceUID field value.
findFoodBySourceUID(String) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
findFoods(String[]) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
 
findFoods(String[], String, String) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
 
findFoods(String[]) - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Retrieve a List of all foods in this particular Datasource.
findFoods(String[], String, String) - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Retrieve a List of all foods in this particular Datasource having the given food group and source.
fireChangeEvent() - Method in class ca.spaz.cron.ui.MeasureEditor
 
fireChangeEvent() - Method in class ca.spaz.cron.ui.MeasureWidget
 
fireTargetsChanged() - Method in class ca.spaz.cron.targets.TargetEditorTable
 
firstRun() - Method in class ca.spaz.cron.user.impl.CRONUser
 
focus() - Method in class ca.spaz.cron.ui.MeasureWidget
Focus the component, selecting the text field and giving it keyboard focus.
folate - Variable in class ca.spaz.cron.database.Vitamins
 
Food - Interface in ca.spaz.cron.database
This interface defines a Food object in CRON-O-Meter.
FOOD_DB_ID - Static variable in class ca.spaz.cron.datasource.sql.SQLDatasource
 
FoodDataEvent - Class in ca.spaz.cron.datasource
An event to be fired when a datasource has certain events occur.
FoodDatasourceException - Exception in ca.spaz.cron.datasource
An exception for food data sources to throw.
FoodDatasourceException() - Constructor for exception ca.spaz.cron.datasource.FoodDatasourceException
 
FoodDatasourceException(String) - Constructor for exception ca.spaz.cron.datasource.FoodDatasourceException
 
FoodDatasourceException(String, Throwable) - Constructor for exception ca.spaz.cron.datasource.FoodDatasourceException
 
FoodDatasourceException(Throwable) - Constructor for exception ca.spaz.cron.datasource.FoodDatasourceException
 
FoodDBToolBar - Class in ca.spaz.cron.ui
 
FoodDBToolBar() - Constructor for class ca.spaz.cron.ui.FoodDBToolBar
 
FoodEditor - Class in ca.spaz.cron.ui
An editor panel for a food item in the database.
FoodEditor(CRONOMETER, Food) - Constructor for class ca.spaz.cron.ui.FoodEditor
 
FoodGroup - Interface in ca.spaz.cron.database
A simple food group aggregator.
foodSelected(Food) - Method in class ca.spaz.cron.ui.SearchPanel
 

G

gamma_tocopherol - Variable in class ca.spaz.cron.database.Vitamins
 
generateContentPane() - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Regenerate the UI components.
get(Object) - Method in class ca.spaz.util.CacheMap
 
getAbortButton() - Method in class ca.spaz.task.TaskBar
 
getAction(JComponent) - Method in class ca.spaz.gui.SpazCanvas
 
getAge() - Method in class ca.spaz.cron.user.impl.CRONUser
 
getAge() - Method in interface ca.spaz.cron.user.User
Get the user's age
getAminoAcids() - Method in interface ca.spaz.cron.database.Food
Retrieve the Amino Acids list for this Food.
getAminoAcids() - Static method in class ca.spaz.cron.database.NutrientInfo
 
getAminoAcids() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getAmount() - Method in class ca.spaz.cron.database.Measure
Get the standard amount of this measure.
getAmount() - Method in class ca.spaz.cron.database.Serving
 
getAmount() - Method in class ca.spaz.cron.summary.NutrientDisplay
 
getAmountByTag(String) - Method in class ca.spaz.cron.database.NutrientTable
Get the amount of a nutrient by the tag name
getAvailableContentPanes() - Method in class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated. Get a list of available content panes.
getBirthDate() - Method in class ca.spaz.cron.user.impl.CRONUser
 
getBirthDate() - Method in interface ca.spaz.cron.user.User
Get the user's birthdate
getBooleanValue(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Retrieve a boolean value.
getByName(String) - Static method in class ca.spaz.cron.database.NutrientInfo
 
getByTableName(String) - Static method in class ca.spaz.cron.database.NutrientInfo
 
getBytesRead() - Method in class ca.spaz.util.CountableInputStream
Get a count of the bytes read by this stream.
getCalories() - Method in interface ca.spaz.cron.database.Food
Deprecated. This method should apply only to Servings.
getCalories() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getCarbs() - Method in class ca.spaz.cron.summary.MacroChart
 
getCategory() - Method in class ca.spaz.cron.database.NutrientInfo
 
getColumnClass(int) - Method in class ca.spaz.cron.summary.NutrientTable.NutrientTableModel
 
getColumnClass(int) - Method in class ca.spaz.cron.targets.TargetEditorTableModel
 
getColumnClass(int) - Method in class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
getColumnClass(int) - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
getColumnClass(int) - Method in class ca.spaz.cron.ui.NutrientTableModel
 
getColumnClass(int) - Method in class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
getColumnCount() - Method in class ca.spaz.cron.summary.NutrientTable.NutrientTableModel
 
getColumnCount() - Method in class ca.spaz.cron.targets.TargetEditorTableModel
 
getColumnCount() - Method in class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
getColumnCount() - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
getColumnCount() - Method in class ca.spaz.cron.ui.NutrientTableModel
 
getColumnCount() - Method in class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
getColumnName(int) - Method in class ca.spaz.cron.summary.NutrientTable.NutrientTableModel
 
getColumnName(int) - Method in class ca.spaz.cron.targets.TargetEditorTableModel
 
getColumnName(int) - Method in class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
getColumnName(int) - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
getColumnName(int) - Method in class ca.spaz.cron.ui.NutrientTableModel
 
getColumnName(int) - Method in class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
getColumns() - Method in interface ca.spaz.sql.Columns
 
getColumns() - Method in class ca.spaz.sql.SQLInsert
Retrieve the cols from the SQLInsert
getColumns() - Method in class ca.spaz.sql.SQLUpdate
Retrieve the cols from the SQLInsert
getComponent(String) - Method in class ca.spaz.gui.SpazCanvas
 
getConnection() - Method in class ca.spaz.cron.datasource.sql.ConnectionManager
Get the database connection.
getConsumedOn(Date) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Retrieve a list of all Servings consumed on a particular date.
getConsumedOn(Date) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
getContentPane(List) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Overridable method to select the actual content panel of the display component.
getContentPane(List) - Method in class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated.  
getCurrentText() - Method in class ca.spaz.gui.DoubleField
 
getDailySummary() - Method in class ca.spaz.cron.CRONOMETER
 
getDatabaseIDs() - Static method in class ca.spaz.cron.datasource.sql.ConnectionManager
Retrieve a list of available database IDs.
getDataSource() - Method in interface ca.spaz.cron.database.Food
 
getDataSource() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getDatasources() - Method in class ca.spaz.cron.datasource.Datasources
Retrieve a list of all functional data sources in the application.
getDatasources(boolean) - Method in class ca.spaz.cron.datasource.Datasources
Retrieve a list of data sources available in the application.
getDate() - Method in class ca.spaz.cron.database.Serving
 
getDescription() - Method in interface ca.spaz.cron.database.Food
Get a textual description of the food.
getDescription() - Method in class ca.spaz.cron.database.Measure
Get the english name of the measure type
getDescription() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getDialog(JFrame, String, JComponent) - Static method in class ca.spaz.util.ToolBox
Handy dandy method to pop up a quick and easy Dialog.
getDoubleValue(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Retrieve a double value.
getExpression() - Method in class ca.spaz.cron.config.AbstractRegexKeyValidator
Get the regular expression to match the key on.
getExpression() - Method in class ca.spaz.cron.user.impl.CRONUser.UserPropertyValidator
 
getFat() - Method in class ca.spaz.cron.summary.MacroChart
 
getFood() - Method in class ca.spaz.cron.database.Serving
 
getFood(int) - Method in class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
getFoodGroup() - Method in interface ca.spaz.cron.database.Food
Get the FoodGroup associated with this food
getFoodGroup() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getFoodGroupName() - Method in interface ca.spaz.cron.database.FoodGroup
 
getFoodGroupName() - Method in class ca.spaz.cron.datasource.www.WWWFoodGroupImpl
 
getFoodGroups() - Method in class ca.spaz.cron.datasource.Datasources
Retrieve a list of the Food Groups consisting of the union of all food groups in the various supported data sources.
getFoodGroups() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Get a list of all food groups in this datasource.
getFoodGroups() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
getFoodGroups() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
getFoodGroups(URL, Pattern, Pattern, Pattern, int, int) - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
Utility method to retrieve food groups from a URL's data, using regular expressions to mark the beginning and end of the list, as well as a regex to get the food group itself.
getFoodID() - Method in class ca.spaz.cron.database.Measure
 
getGlobalList() - Static method in class ca.spaz.cron.database.NutrientInfo
 
getGrams() - Method in class ca.spaz.cron.database.Measure
Get the number of grams in this measure
getGrams() - Method in class ca.spaz.cron.database.Serving
 
getGrams() - Method in class ca.spaz.cron.ui.MeasureWidget
Get the number of grams in this measure
getHeightInCM() - Method in class ca.spaz.cron.user.impl.CRONUser
 
getHeightInCM() - Method in interface ca.spaz.cron.user.User
Get the user's height in cm
getIcon(String) - Method in class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated. Get the icon for a given content pane.
getID() - Method in class ca.spaz.cron.database.Measure
 
getID() - Method in class ca.spaz.cron.database.Serving
 
getID() - Method in interface ca.spaz.cron.datasource.sql.DatabaseID
 
getId() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
Retrieve the id from the SQLDatasource.
getID() - Method in interface ca.spaz.cron.datasource.sql.SQLFood
 
getIndex() - Method in class ca.spaz.cron.datasource.FoodDataEvent
 
getInfo() - Method in class ca.spaz.cron.summary.NutrientDisplay
 
getInstance() - Static method in class ca.spaz.cron.config.DatasourceValidator
 
getInstance() - Static method in class ca.spaz.cron.CRONConfiguration
Get the global singleton instance of the configuration manager
getInstance() - Static method in class ca.spaz.cron.CRONOMETER
 
getInstance() - Static method in class ca.spaz.cron.datasource.Datasources
 
getInstance(String) - Static method in class ca.spaz.cron.datasource.sql.ConnectionManager
Get an instance of a ConnectionManager for a particular dbID.
getInstance() - Static method in class ca.spaz.util.ImageFactory
 
getIntValue(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Retrieve an int value.
getItem(String) - Method in class ca.spaz.gui.SpazMenuBar
 
getKey() - Method in interface ca.spaz.cron.datasource.www.WWWFoodGroup
 
getKey() - Method in class ca.spaz.cron.datasource.www.WWWFoodGroupImpl
 
getLabelText(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated.  
getLastError() - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
 
getLastError() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Provides access to the last exception thrown by the underlying representation.
getLayoutAlignmentX(Container) - Method in class ca.spaz.gui.SpazLayout
Returns the alignment along the x axis.
getLayoutAlignmentY(Container) - Method in class ca.spaz.gui.SpazLayout
Returns the alignment along the y axis.
getLipids() - Method in interface ca.spaz.cron.database.Food
Retrieve the Lipids list for this Food.
getLipids() - Static method in class ca.spaz.cron.database.NutrientInfo
 
getLipids() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getMacroNutrients() - Method in interface ca.spaz.cron.database.Food
Retrieve the MacroNutrients list for this Food.
getMacroNutrients() - Static method in class ca.spaz.cron.database.NutrientInfo
 
getMacroNutrients() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getMatcher(String) - Method in class ca.spaz.cron.config.AbstractRegexKeyValidator
 
getMax() - Method in class ca.spaz.cron.targets.Target
 
getMeal() - Method in class ca.spaz.cron.database.Serving
 
getMeasure() - Method in class ca.spaz.cron.database.Serving
 
getMeasures() - Method in interface ca.spaz.cron.database.Food
Retrieve a List of Measures for this Food.
getMeasures() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getMeasures() - Method in class ca.spaz.cron.ui.MeasureEditor
 
getMeasuresFor(Food) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
 
getMeasuresFor(Food) - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Return a List of Measure objects for the provided food.
getMetricDate() - Method in class ca.spaz.cron.user.UserMetrics
Get the date of this set of metrics.
getMetrics() - Method in class ca.spaz.cron.user.UserMetrics
Get a list of the metrics in this object.
getMin() - Method in class ca.spaz.cron.targets.Target
 
getMinerals() - Method in interface ca.spaz.cron.database.Food
Retrieve the Minerals list for this Food.
getMinerals() - Static method in class ca.spaz.cron.database.NutrientInfo
 
getMinerals() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getMinimumSize() - Method in class ca.spaz.cron.summary.NutrientDisplay
 
getMinRectangle() - Method in class ca.spaz.gui.SpazPosition
 
getMultiplier() - Method in class ca.spaz.cron.ui.MeasureWidget
Get the multiplier for the current weight and mult settings.
getMutableDataSource() - Method in class ca.spaz.cron.datasource.Datasources
Retrieve the unique instance of the user data source.
getName() - Method in class ca.spaz.cron.database.NutrientInfo
 
getName() - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
 
getName() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Retrieve the name of this datasource for use in UI components.
getName() - Method in interface ca.spaz.cron.datasource.sql.DatabaseID
 
getName() - Method in class ca.spaz.cron.user.impl.CRONUser
 
getName() - Method in class ca.spaz.cron.user.impl.WeightMetric
 
getName() - Method in interface ca.spaz.cron.user.Metric
 
getName() - Method in interface ca.spaz.cron.user.User
Get the name of the user.
getNames() - Method in class ca.spaz.sql.SQLColumnSet
 
getNameString() - Method in class ca.spaz.sql.SQLColumnSet
 
getNDB_ID() - Method in interface ca.spaz.cron.datasource.sql.SQLFood
 
getNotify() - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
getNumPanels() - Method in class ca.spaz.wizard.Wizard
 
getNumTimesConsumed() - Method in interface ca.spaz.cron.database.Food
Get the number of times this food was consumed.
getNumTimesConsumed() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getNutrientAmount(NutrientInfo) - Method in interface ca.spaz.cron.database.Food
Get the amount of a nutrient provided by this Food.
getNutrientAmount(NutrientInfo) - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getNutrientInfo(int) - Method in class ca.spaz.cron.summary.NutrientTable.NutrientTableModel
 
getNutrientInfo(int) - Method in class ca.spaz.cron.targets.TargetEditorTableModel
 
getNutrientInfo(int) - Method in class ca.spaz.cron.ui.NutrientTableModel
 
getNutrientList() - Method in class ca.spaz.cron.summary.AbstractNutrientSummaryPanel
 
getNutrientList() - Method in class ca.spaz.cron.summary.AminoAcidSummaryPanel
 
getNutrientList() - Method in class ca.spaz.cron.summary.LipidSummaryPanel
 
getNutrientList() - Method in class ca.spaz.cron.summary.MacroNutrientSummaryPanel
 
getNutrientList() - Method in class ca.spaz.cron.summary.MineralSummaryPanel
 
getNutrientList() - Method in class ca.spaz.cron.summary.VitaminSummaryPanel
 
getNutrientMap() - Static method in class ca.spaz.cron.datasource.sql.USDAsr17.USDANutrientInfo
 
getNutrientsFor(Food, NutrientTable) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
 
getNutrientsFor(Food, NutrientTable) - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Fill the provided NutrientTable with the nutrients associated with the Food.
getNutrientTablePane() - Method in class ca.spaz.cron.summary.AbstractNutrientSummaryPanel
 
getPosition(JComponent) - Method in class ca.spaz.gui.SpazCanvas
 
getPosition(Component) - Method in class ca.spaz.gui.SpazLayout
 
getPreferredSize() - Method in class ca.spaz.cron.summary.TargetSummaryChart
 
getProperty(String, String, boolean) - Method in class ca.spaz.cron.CRONConfiguration
 
getProperty(String, boolean) - Method in class ca.spaz.cron.CRONConfiguration
 
getProperty(String, String) - Method in class ca.spaz.cron.CRONConfiguration
Get a property from the configuration set, with a provided default value.
getProperty(String) - Method in class ca.spaz.cron.CRONConfiguration
Get a property from the configuration set.
getProtein() - Method in class ca.spaz.cron.summary.MacroChart
 
getQueryString() - Method in class ca.spaz.sql.SQLDelete
Generate the SQL string for an DELETE command.
getQueryString() - Method in class ca.spaz.sql.SQLInsert
 
getQueryString() - Method in class ca.spaz.sql.SQLSelect
Generate the SQL string for a SELECT command.
getQueryString() - Method in class ca.spaz.sql.SQLStatement
 
getQueryString() - Method in class ca.spaz.sql.SQLUpdate
Generate the SQL string for an UPDATE command.
getRectangle(int, int) - Method in class ca.spaz.gui.SpazPosition
 
getReferenceDailyIntake() - Method in class ca.spaz.cron.database.NutrientInfo
 
getRowCount() - Method in class ca.spaz.cron.summary.NutrientTable.NutrientTableModel
 
getRowCount() - Method in class ca.spaz.cron.targets.TargetEditorTableModel
 
getRowCount() - Method in class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
getRowCount() - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
getRowCount() - Method in class ca.spaz.cron.ui.NutrientTableModel
 
getRowCount() - Method in class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
getSearchPanel() - Method in class ca.spaz.cron.CRONOMETER
 
getSelectedFood() - Method in class ca.spaz.cron.ui.FoodDBToolBar
 
getSelectedMeasure() - Method in class ca.spaz.cron.ui.MeasureWidget
 
getServing(int) - Method in class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
getServingEditor() - Method in class ca.spaz.cron.ui.SearchPanel
 
getSource() - Method in interface ca.spaz.cron.database.Food
Get the identifying 'source' of this food.
getSource() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getSources() - Method in class ca.spaz.cron.datasource.Datasources
Retrieve a list of the Sources listed in the food data sources.
getSources() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Get a list of all sources in this datasource.
getSources() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
getSources() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
getSourceStream() - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
getSourceUID() - Method in interface ca.spaz.cron.database.Food
Retrieve a key for this food uniquely identifying both its datasource and its own unique ID in the DS.
getSourceUID() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getSourceURL() - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
getStringValue(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Retrieve a String value.
getTableName() - Method in class ca.spaz.cron.database.NutrientTable
Get the name of the table corresponding to this class.
getTableName() - Method in class ca.spaz.sql.SQLStatement
 
getTag() - Method in class ca.spaz.cron.database.NutrientInfo
 
getTarget() - Method in class ca.spaz.cron.database.NutrientInfo
 
getTarget(NutrientInfo) - Method in class ca.spaz.cron.user.impl.CRONUser
 
getTarget(NutrientInfo) - Method in interface ca.spaz.cron.user.User
Get the target value for a particular nutrient.
getTargetMaximum(User, NutrientInfo) - Method in class ca.spaz.cron.targets.CRONTargetModel
 
getTargetMaximum(User, NutrientInfo) - Method in class ca.spaz.cron.targets.RDITargetModel
 
getTargetMaximum(User, NutrientInfo) - Method in interface ca.spaz.cron.targets.TargetModel
 
getTargetMinimum(User, NutrientInfo) - Method in class ca.spaz.cron.targets.CRONTargetModel
 
getTargetMinimum(User, NutrientInfo) - Method in class ca.spaz.cron.targets.RDITargetModel
 
getTargetMinimum(User, NutrientInfo) - Method in interface ca.spaz.cron.targets.TargetModel
 
getTaskDescription() - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
getTaskDescription() - Method in interface ca.spaz.task.Task
A description of the current Task being performed
getTaskProgress() - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
getTaskProgress() - Method in interface ca.spaz.task.Task
A number between 0 and 100 representing the % completion of the task.
getText(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated.  
getTimesConsumed(Food) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
getTimesConsumed(Food, Date, Date) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
getTimesConsumed(Food) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Retrieve the total number of times that this food has been consumed.
getTimesConsumed(Food, Date, Date) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Retrieve the number of times the specified Food was consumed between the provided dates.
getTitle() - Method in class ca.spaz.wizard.Wizard
 
getUnit(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. get the unit string for the value, with all the fixings.
getUnits() - Method in class ca.spaz.cron.database.NutrientInfo
 
getUser() - Static method in class ca.spaz.cron.user.impl.CRONUser
 
getUserAppDirectory(String) - Static method in class ca.spaz.util.ToolBox
 
getUserDirectory() - Static method in class ca.spaz.util.ToolBox
Get the system specific user data directory.
getUserMetrics() - Method in class ca.spaz.cron.user.impl.CRONUser
 
getUserMetrics(Date) - Method in class ca.spaz.cron.user.impl.CRONUser
 
getUserMetrics() - Method in interface ca.spaz.cron.user.User
Get a List of all user metrics.
getUserMetrics(Date) - Method in interface ca.spaz.cron.user.User
Get a List of all user metrics for a given day.
getUserPreference(String) - Method in class ca.spaz.cron.user.impl.CRONUser
 
getUserPreference(String) - Method in interface ca.spaz.cron.user.User
This gets a user preference by name.
getValue() - Method in class ca.spaz.cron.user.impl.WeightMetric
 
getValue() - Method in interface ca.spaz.cron.user.Metric
 
getValue() - Method in class ca.spaz.gui.DoubleField
 
getValueAt(int, int) - Method in class ca.spaz.cron.summary.NutrientTable.NutrientTableModel
 
getValueAt(int, int) - Method in class ca.spaz.cron.targets.TargetEditorTableModel
 
getValueAt(int, int) - Method in class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
getValueAt(int, int) - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
getValueAt(int, int) - Method in class ca.spaz.cron.ui.NutrientTableModel
 
getValueAt(int, int) - Method in class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
getValueList() - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Get a list of the values in this summary panel.
getValues() - Method in class ca.spaz.sql.SQLColumnSet
 
getValueString() - Method in class ca.spaz.sql.SQLColumnSet
 
getValueText(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated.  
getVitamins() - Method in interface ca.spaz.cron.database.Food
Retrieve the Vitamins list for this Food.
getVitamins() - Static method in class ca.spaz.cron.database.NutrientInfo
 
getVitamins() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
getWeight(int) - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
getWeights() - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
getWhere() - Method in class ca.spaz.sql.SQLSelectableStatement
 
getWizardPanelTitle() - Method in class ca.spaz.cron.user.NewUserWizard.IntroductionPanel
 
getWizardPanelTitle() - Method in class ca.spaz.cron.user.NewUserWizard.TargetsPanel
 
getWizardPanelTitle() - Method in class ca.spaz.cron.user.USDAImportWizardPanel
 
getWizardPanelTitle() - Method in class ca.spaz.cron.user.UserInfoWizardPanel
 
getWizardPanelTitle() - Method in class ca.spaz.wizard.WizardPanel
 
GLU - Variable in class ca.spaz.cron.database.AminoAcids
 
GLY - Variable in class ca.spaz.cron.database.AminoAcids
 
GRAM - Static variable in class ca.spaz.cron.database.Measure
 
GT - Static variable in class ca.spaz.sql.SQLSelectableStatement
 

H

hashCode() - Method in class ca.spaz.cron.user.UserMetrics
 
hashCode() - Method in class ca.spaz.util.CacheMap
 
HIS - Variable in class ca.spaz.cron.database.AminoAcids
 
HYP - Variable in class ca.spaz.cron.database.AminoAcids
 

I

IConnectionStatusObserver - Interface in ca.spaz.cron.datasource.sql
Interface to be implemented by classes wishing to be notified of events pertaining to database connections.
IFoodDatasource - Interface in ca.spaz.cron.datasource
This interface defines the interaction the application will have with a static, readonly data source.
IFoodDatasourceListener - Interface in ca.spaz.cron.datasource
This interface should be implemented by classes interested in events from a food datasource.
ILE - Variable in class ca.spaz.cron.database.AminoAcids
 
ILocalFoodDatasource - Interface in ca.spaz.cron.datasource
This interface defines a datasource whose contents may be changed by interested classes.
ImageFactory - Class in ca.spaz.util
A class for manufacturing images from the resource path.
initialize(ProgressListener) - Static method in class ca.spaz.cron.datasource.Datasources
 
initialize() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Initialize the datasource to a working state.
initialize() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
initialize() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
insertString(int, String, AttributeSet) - Method in class ca.spaz.gui.DoubleField.DoubleDocument
 
invalidateLayout(Container) - Method in class ca.spaz.gui.SpazLayout
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.
iron - Variable in class ca.spaz.cron.database.Minerals
 
isAvailable() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Determines if the datasource is operable and available.
isAvailable() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
isAvailable() - Method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
isCellEditable(int, int) - Method in class ca.spaz.cron.summary.NutrientTable.NutrientTableModel
 
isCellEditable(int, int) - Method in class ca.spaz.cron.targets.TargetEditorTableModel
 
isCellEditable(int, int) - Method in class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
isCellEditable(int, int) - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
isCellEditable(int, int) - Method in class ca.spaz.cron.ui.NutrientTableModel
 
isCellEditable(int, int) - Method in class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
isEmpty() - Method in class ca.spaz.util.CacheMap
 
isExecuteSupported() - Method in class ca.spaz.sql.SQLStatement
 
isFemale() - Method in class ca.spaz.cron.user.impl.CRONUser
 
isFemale() - Method in interface ca.spaz.cron.user.User
Get the gender of the user.
isLinked() - Method in class ca.spaz.cron.ui.MeasureWidget
If linked, changing a weight will update the multiplier to keep the grams constant.
isListable() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Implementors that can provide listing services should return true here, false otherwise.
isListable() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
isListable() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
isMacOSX() - Static method in class ca.spaz.util.ToolBox
Returns true if we are currently running on Mac OS X
isMale() - Method in class ca.spaz.cron.user.impl.CRONUser
 
isMale() - Method in interface ca.spaz.cron.user.User
Get the gender of the user.
isQuerySupported() - Method in class ca.spaz.sql.SQLStatement
 
isSearchable() - Method in interface ca.spaz.cron.datasource.IFoodDatasource
Implementors that can provide search services should return true here, false otherwise.
isSearchable() - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
 
isSearchable() - Method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
isSelected(String) - Method in class ca.spaz.gui.SpazMenuBar
 
isValid(String, String) - Method in class ca.spaz.cron.config.AbstractRegexKeyValidator
 
isValid(String, String) - Method in class ca.spaz.cron.config.DatasourceValidator
 
isValid(String, String) - Method in interface ca.spaz.cron.config.PropertyValidator
Validate the specified value for the key.
isValid() - Method in class ca.spaz.cron.user.NewUserWizard.IntroductionPanel
 
isValid() - Method in class ca.spaz.cron.user.NewUserWizard.TargetsPanel
 
isValid() - Method in class ca.spaz.cron.user.USDAImportWizardPanel
 
isValid() - Method in class ca.spaz.cron.user.UserInfoWizardPanel
 
isValid() - Method in class ca.spaz.wizard.WizardPanel
 
items - Variable in class ca.spaz.sql.SQLSelect
 
itemStateChanged(ItemEvent) - Method in class ca.spaz.cron.ui.MeasureWidget
Called if the weight menu state is changed
itemStateChanged(ItemEvent) - Method in class ca.spaz.cron.ui.SearchPanel
 

K

kcals - Variable in class ca.spaz.cron.database.MacroNutrients
 
keyPressed(KeyEvent) - Method in class ca.spaz.cron.ui.MeasureWidget
 
keyReleased(KeyEvent) - Method in class ca.spaz.cron.ui.MeasureWidget
Called when the text field is edited
keySet() - Method in class ca.spaz.cron.CRONConfiguration
Retrieve the set of all keys in both the user and system configurations.
keySet() - Method in class ca.spaz.util.CacheMap
 
keyTyped(KeyEvent) - Method in class ca.spaz.cron.ui.MeasureWidget
 
kj - Variable in class ca.spaz.cron.database.MacroNutrients
 

L

layoutContainer(Container) - Method in class ca.spaz.gui.SpazLayout
Lays out the container in the specified container.
leftA - Variable in class ca.spaz.gui.SpazPosition
 
leftR - Variable in class ca.spaz.gui.SpazPosition
 
LEU - Variable in class ca.spaz.cron.database.AminoAcids
 
lipid - Variable in class ca.spaz.cron.database.MacroNutrients
 
Lipids - Class in ca.spaz.cron.database
 
Lipids() - Constructor for class ca.spaz.cron.database.Lipids
 
Lipids(Food) - Constructor for class ca.spaz.cron.database.Lipids
 
LipidSummaryPanel - Class in ca.spaz.cron.summary
 
LipidSummaryPanel() - Constructor for class ca.spaz.cron.summary.LipidSummaryPanel
 
listener - Variable in class ca.spaz.gui.SpazCanvas
 
load(ResultSet, Object) - Static method in class ca.spaz.sql.DBRow
Attempts to load all fields in the object from a ResultSet row.
loadClass(String, boolean) - Method in class ca.spaz.util.Loader
Load a class by name.
Loader - Class in ca.spaz.util
A special class for loading classes from an jar file.
Loader(File) - Constructor for class ca.spaz.util.Loader
 
loadImage(URL) - Method in class ca.spaz.util.ImageFactory
 
loadImage(String) - Method in class ca.spaz.util.ImageFactory
 
loadImage(String, Object) - Method in class ca.spaz.util.ImageFactory
 
loadImageIcon(String) - Method in class ca.spaz.util.Loader
 
loadXML(String) - Method in class ca.spaz.gui.SpazCanvas
 
loadXML(InputStream) - Method in class ca.spaz.gui.SpazMenuBar
 
loadXML(Document) - Method in class ca.spaz.gui.SpazMenuBar
 
loadXMLMenu(Element) - Method in class ca.spaz.gui.SpazMenuBar
 
loadXMLMenuItem(Element, JMenu) - Method in class ca.spaz.gui.SpazMenuBar
 
LT - Static variable in class ca.spaz.sql.SQLSelectableStatement
 
lutein - Variable in class ca.spaz.cron.database.Vitamins
 
lycopene - Variable in class ca.spaz.cron.database.Vitamins
 
LYS - Variable in class ca.spaz.cron.database.AminoAcids
 

M

MacroChart - Class in ca.spaz.cron.summary
 
MacroChart() - Constructor for class ca.spaz.cron.summary.MacroChart
 
MacroNutrients - Class in ca.spaz.cron.database
 
MacroNutrients() - Constructor for class ca.spaz.cron.database.MacroNutrients
 
MacroNutrients(Food) - Constructor for class ca.spaz.cron.database.MacroNutrients
 
MacroNutrientSummaryPanel - Class in ca.spaz.cron.summary
 
MacroNutrientSummaryPanel() - Constructor for class ca.spaz.cron.summary.MacroNutrientSummaryPanel
 
magnesium - Variable in class ca.spaz.cron.database.Minerals
 
main(String[]) - Static method in class ca.spaz.cron.CRONConfiguration
The main method.
main(String[]) - Static method in class ca.spaz.cron.CRONOMETER
 
main(String[]) - Static method in class ca.spaz.cron.datasource.www.NutritionDataDatasource
 
manganese - Variable in class ca.spaz.cron.database.Minerals
 
mark(int) - Method in class ca.spaz.util.CountableInputStream
 
maximumLayoutSize(Container) - Method in class ca.spaz.gui.SpazLayout
Returns the maximum size of this component.
Measure - Class in ca.spaz.cron.database
A measure maps a common measure for a food item (ie: a Cup, Teaspoon, Serving, etc...) The Measure contains the description of the measure and the number of grams of the food there are in the given measure.
Measure() - Constructor for class ca.spaz.cron.database.Measure
 
Measure(double, String, double) - Constructor for class ca.spaz.cron.database.Measure
Contruct a measure manually
MeasureEditor - Class in ca.spaz.cron.ui
A class for editing the set of weights for a food item
MeasureEditor(Food) - Constructor for class ca.spaz.cron.ui.MeasureEditor
 
MeasureEditor.WeightTableModel - Class in ca.spaz.cron.ui
 
MeasureEditor.WeightTableModel(List) - Constructor for class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
MeasureWidget - Class in ca.spaz.cron.ui
A measure widget displays the UI for choosing an amount of a food item, based on various Measures stored for the particular food being weighed.
MeasureWidget() - Constructor for class ca.spaz.cron.ui.MeasureWidget
Construct a new measure widget
MET - Variable in class ca.spaz.cron.database.AminoAcids
 
Metric - Interface in ca.spaz.cron.user
 
Minerals - Class in ca.spaz.cron.database
 
Minerals() - Constructor for class ca.spaz.cron.database.Minerals
 
Minerals(Food) - Constructor for class ca.spaz.cron.database.Minerals
 
MineralSummaryPanel - Class in ca.spaz.cron.summary
 
MineralSummaryPanel() - Constructor for class ca.spaz.cron.summary.MineralSummaryPanel
 
minimumLayoutSize(Container) - Method in class ca.spaz.gui.SpazLayout
Calculates the minimum size dimensions for the specified panel given the components in the specified parent container.
monounsaturated - Variable in class ca.spaz.cron.database.Lipids
 

N

newInstance(String) - Method in class ca.spaz.util.Loader
Create a new instance of a class in this jar file.
NewUserWizard - Class in ca.spaz.cron.user
 
NewUserWizard() - Constructor for class ca.spaz.cron.user.NewUserWizard
 
NewUserWizard.IntroductionPanel - Class in ca.spaz.cron.user
 
NewUserWizard.IntroductionPanel() - Constructor for class ca.spaz.cron.user.NewUserWizard.IntroductionPanel
 
NewUserWizard.TargetsPanel - Class in ca.spaz.cron.user
 
NewUserWizard.TargetsPanel(User) - Constructor for class ca.spaz.cron.user.NewUserWizard.TargetsPanel
 
niacin - Variable in class ca.spaz.cron.database.Vitamins
 
notifyListeners() - Method in class ca.spaz.cron.user.impl.CRONUser
 
notifyObservers(FoodDataEvent) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
notifyObservers(FoodDataEvent, Object) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
notifyObservers() - Method in class ca.spaz.cron.ui.DailySummary
 
notNull(Object) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Gatekeeper method to ensure that an object is not null.
NumericSummaryPanel - Class in ca.spaz.cron.summary
Deprecated. No longer needed for UI
NumericSummaryPanel(List) - Constructor for class ca.spaz.cron.summary.NumericSummaryPanel
Deprecated. Construct a new NumericSummaryPanel with the supplied nutrient values.
NutrientDisplay - Class in ca.spaz.cron.summary
 
NutrientDisplay(NutrientInfo) - Constructor for class ca.spaz.cron.summary.NutrientDisplay
 
NutrientEditorTable - Class in ca.spaz.cron.ui
 
NutrientEditorTable(List) - Constructor for class ca.spaz.cron.ui.NutrientEditorTable
 
NutrientInfo - Class in ca.spaz.cron.database
 
NutrientTable - Class in ca.spaz.cron.database
A base class for a group of related nutrient values Provides common support for loading and updating the database.
NutrientTable() - Constructor for class ca.spaz.cron.database.NutrientTable
 
NutrientTable(Food) - Constructor for class ca.spaz.cron.database.NutrientTable
 
nutrientTable - Variable in class ca.spaz.cron.summary.AbstractNutrientSummaryPanel
 
NutrientTable - Class in ca.spaz.cron.summary
 
NutrientTable(List) - Constructor for class ca.spaz.cron.summary.NutrientTable
 
NutrientTable.NutrientTableModel - Class in ca.spaz.cron.summary
 
NutrientTable.NutrientTableModel() - Constructor for class ca.spaz.cron.summary.NutrientTable.NutrientTableModel
 
NutrientTableModel - Class in ca.spaz.cron.ui
 
NutrientTableModel(List) - Constructor for class ca.spaz.cron.ui.NutrientTableModel
 
NutritionDataDatasource - Class in ca.spaz.cron.datasource.www
A datasource that is tied to the website http://www.nutritiondata.com/
NutritionDataFood - Class in ca.spaz.cron.datasource.www
A Food implementation for NutritionDataDatasource
NutritionDataFood(NutritionDataDatasource, WebResponse) - Constructor for class ca.spaz.cron.datasource.www.NutritionDataFood
 
NutritionSummaryPanel - Class in ca.spaz.cron.summary
A comprehensive summary of a set of consumed foods
NutritionSummaryPanel() - Constructor for class ca.spaz.cron.summary.NutritionSummaryPanel
 

O

OldMacroNutrientSummaryPanel - Class in ca.spaz.cron.summary
Deprecated. No longer needed for UI
OldMacroNutrientSummaryPanel() - Constructor for class ca.spaz.cron.summary.OldMacroNutrientSummaryPanel
Deprecated. Construct a new MacroNutrientSummaryPanel
OldMacroNutrientSummaryPanel.FatProteinCarbChartContent - Class in ca.spaz.cron.summary
Deprecated. A panel for inclusion in the MacroNutrientsSummaryPanel that will display a ratio chart of fat/protein/carbs.
OldMacroNutrientSummaryPanel.FatProteinCarbChartContent(SummaryPanel) - Constructor for class ca.spaz.cron.summary.OldMacroNutrientSummaryPanel.FatProteinCarbChartContent
Deprecated. Create a new chart panel in the given summaryPanel
omega3 - Variable in class ca.spaz.cron.database.Lipids
 
omega6 - Variable in class ca.spaz.cron.database.Lipids
 

P

paint(Graphics) - Method in class ca.spaz.cron.summary.MacroChart
 
paint(Graphics) - Method in class ca.spaz.cron.summary.NutrientDisplay
 
paint(Graphics) - Method in class ca.spaz.gui.TranslucentLabel
 
paint(Graphics) - Method in class ca.spaz.gui.TranslucentPanel
 
paintComponent(Graphics) - Method in class ca.spaz.cron.summary.TargetSummaryChart
 
panto_acid - Variable in class ca.spaz.cron.database.Vitamins
 
parseAttributes(Element, JComponent) - Method in class ca.spaz.gui.SpazCanvas
 
parseBorder(JComponent, Element) - Method in class ca.spaz.gui.SpazCanvas
 
parseButton(Element) - Method in class ca.spaz.gui.SpazCanvas
 
parseChildren(Element) - Method in class ca.spaz.gui.SpazCanvas
 
parseLabel(Element) - Method in class ca.spaz.gui.SpazCanvas
 
parseProgressBar(Element) - Method in class ca.spaz.gui.SpazCanvas
 
parseSpazPosition(Element) - Method in class ca.spaz.gui.SpazCanvas
 
parseTextArea(Element) - Method in class ca.spaz.gui.SpazCanvas
 
parseTextField(Element) - Method in class ca.spaz.gui.SpazCanvas
 
PHE - Variable in class ca.spaz.cron.database.AminoAcids
 
phosphorus - Variable in class ca.spaz.cron.database.Minerals
 
phytosterol - Variable in class ca.spaz.cron.database.Lipids
 
polyunsaturated - Variable in class ca.spaz.cron.database.Lipids
 
potassium - Variable in class ca.spaz.cron.database.Minerals
 
preferredLayoutSize(Container) - Method in class ca.spaz.gui.SpazLayout
Calculates the preferred size dimensions for the specified panel given the components in the specified parent container.
prepareRenderer(TableCellRenderer, int, int) - Method in class ca.spaz.gui.PrettyTable
 
PrettyTable - Class in ca.spaz.gui
 
PrettyTable() - Constructor for class ca.spaz.gui.PrettyTable
 
print(PrintStream) - Method in class ca.spaz.util.XMLNode
 
PRO - Variable in class ca.spaz.cron.database.AminoAcids
 
progress(int) - Method in interface ca.spaz.util.ProgressListener
This event is fired whenever the progress item being tracked updates its public progress level.
progressFinish() - Method in interface ca.spaz.util.ProgressListener
This event is fired when the progress item being tracked finishes.
ProgressListener - Interface in ca.spaz.util
This interface should be implemented by classes interested in being informed of the progress of some other thread.
progressStart() - Method in interface ca.spaz.util.ProgressListener
This event is fired when the progress item being tracked starts.
PropertyValidator - Interface in ca.spaz.cron.config
An interface for validation of property values.
protein - Variable in class ca.spaz.cron.database.MacroNutrients
 
proxy - Variable in class ca.spaz.gui.SpazCanvasLoader
 
put(Object, Object) - Method in class ca.spaz.util.CacheMap
 
putAll(Map) - Method in class ca.spaz.util.CacheMap
 

R

RDITargetModel - Class in ca.spaz.cron.targets
 
RDITargetModel() - Constructor for class ca.spaz.cron.targets.RDITargetModel
 
read() - Method in class ca.spaz.util.CountableInputStream
 
read(byte[], int, int) - Method in class ca.spaz.util.CountableInputStream
 
read(byte[]) - Method in class ca.spaz.util.CountableInputStream
 
readURLAsString(URL) - Static method in class ca.spaz.cron.datasource.www.AbstractWWWDatasource
 
registerError(Throwable) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Set the last error message to the supplied Throwable.
remove(Object) - Method in class ca.spaz.util.CacheMap
 
removeChangeListener(ChangeListener) - Method in class ca.spaz.cron.ui.MeasureEditor
 
removeConnectionStatusListener(IConnectionStatusObserver) - Method in class ca.spaz.cron.datasource.sql.ConnectionManager
Remove an observer from this ConnectionManager
removeContentPane(String) - Method in class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated. Remove the named content pane from the summary panel.
removeFood(Food) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
removeFood(Food) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Remove a Food from the datasource.
removeFoodDatasourceListener(IFoodDatasourceListener) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
removeFoodDatasourceListener(IFoodDatasourceListener) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Remove an IFoodDatasourceListener from the list of observers of this class.
removeLayoutComponent(Component) - Method in class ca.spaz.gui.SpazLayout
Removes the specified component from the layout.
removeMeasure(Food, Measure) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
removeMeasure(Food, Measure) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Remove a particular form of Measure from the list of those available for a particular Food.
removeMetric(Metric) - Method in class ca.spaz.cron.user.UserMetrics
Remove a metric from the list.
removePropertyValidator(PropertyValidator) - Method in class ca.spaz.cron.CRONConfiguration
Remove a validator from the configuration.
removeServing(Serving) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
removeServing(Serving) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Remove the Food in a particular serving from the user's consumed list.
removeTaskListener(TaskListener) - Method in class ca.spaz.cron.SplashScreen
Remove a task listener from the TaskBar
removeTaskListener(TaskListener) - Method in class ca.spaz.task.TaskBar
Remove a task listener from the TaskBar
removeUserChangeListener(UserChangeListener) - Method in class ca.spaz.cron.user.impl.CRONUser
 
removeUserChangeListener(UserChangeListener) - Method in interface ca.spaz.cron.user.User
Remove a listener for user change events.
removeUserMetrics(UserMetrics) - Method in class ca.spaz.cron.user.impl.CRONUser
 
removeUserMetrics(UserMetrics) - Method in interface ca.spaz.cron.user.User
Remove a set of user metrics from the database.
removeValueField(String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Purge a value from the component.
reset() - Method in class ca.spaz.util.CountableInputStream
 
results - Variable in class ca.spaz.sql.SQLSelect
 
retinol - Variable in class ca.spaz.cron.database.Vitamins
 
riboflavin - Variable in class ca.spaz.cron.database.Vitamins
 
rightA - Variable in class ca.spaz.gui.SpazPosition
 
rightR - Variable in class ca.spaz.gui.SpazPosition
 
run() - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 

S

sameSource(Food) - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
Gatekeeper method to ensure that the Food object is from this Datasource.
saturated - Variable in class ca.spaz.cron.database.Lipids
 
saveFood(Food) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
saveFood(Food) - Method in interface ca.spaz.cron.datasource.ILocalFoodDatasource
Alter the information of some Food object in the backing representation of the datasource.
scrollPane - Variable in class ca.spaz.cron.summary.AbstractNutrientSummaryPanel
 
SearchPanel - Class in ca.spaz.cron.ui
The search panel allows fast and easy searching of the food database, and potentially multiple database sources.
SearchPanel(CRONOMETER) - Constructor for class ca.spaz.cron.ui.SearchPanel
 
SearchPanel.ResultsTableModel - Class in ca.spaz.cron.ui
 
SearchPanel.ResultsTableModel() - Constructor for class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
selectContentPane(String) - Method in class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated. Bring the selected content pane to the front.
selenium - Variable in class ca.spaz.cron.database.Minerals
 
SER - Variable in class ca.spaz.cron.database.AminoAcids
 
Serving - Class in ca.spaz.cron.database
Stores an amount and time of a food serving
Serving() - Constructor for class ca.spaz.cron.database.Serving
 
Serving(Food) - Constructor for class ca.spaz.cron.database.Serving
 
Serving(Food, double) - Constructor for class ca.spaz.cron.database.Serving
 
ServingEditor - Class in ca.spaz.cron.ui
This is panel that displays some breif summary information about a Food item and allows choosing of a measure to be used for either adding or updating a Consumed food entry in the user data.
ServingEditor(CRONOMETER) - Constructor for class ca.spaz.cron.ui.ServingEditor
 
setAmount(double) - Method in class ca.spaz.cron.database.Measure
Set the standard amount of this measure
setAmount(double) - Method in class ca.spaz.cron.database.Serving
 
setAmount(double) - Method in class ca.spaz.cron.summary.NutrientDisplay
 
setAmountByTag(String, double) - Method in class ca.spaz.cron.database.NutrientTable
Set the amount of a nutrient by the tag name
setBirthDate(Date) - Method in class ca.spaz.cron.user.impl.CRONUser
 
setBirthDate(Date) - Method in interface ca.spaz.cron.user.User
Set the user's birthdate
setCarbs(double) - Method in class ca.spaz.cron.summary.MacroChart
 
setConstraints(Component, SpazPosition) - Method in class ca.spaz.gui.SpazLayout
 
setDate(Date) - Method in class ca.spaz.cron.database.Serving
 
setDate(Date) - Method in class ca.spaz.cron.ui.BiomarkerPanel
 
setDate(Date) - Method in class ca.spaz.cron.ui.DailySummary
 
setDescription(String) - Method in interface ca.spaz.cron.database.Food
Update this Food's description.
setDescription(String) - Method in class ca.spaz.cron.database.Measure
Set the english name of this measure type
setDescription(String) - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
setEnabled(String, boolean) - Method in class ca.spaz.gui.SpazMenuBar
 
setFat(double) - Method in class ca.spaz.cron.summary.MacroChart
 
setFirstRun(boolean) - Method in class ca.spaz.cron.user.impl.CRONUser
 
setFood(Food) - Method in class ca.spaz.cron.database.Serving
 
setFood(Food) - Method in class ca.spaz.cron.ui.MeasureWidget
Set the measure to display weights for a particular food.
setFood(Food) - Method in class ca.spaz.cron.ui.NutrientEditorTable
 
setFood(Food) - Method in class ca.spaz.cron.ui.NutrientTableModel
 
setFoodGroup(FoodGroup) - Method in interface ca.spaz.cron.database.Food
Set the FoodGroup associated with this food.
setFoodGroup(FoodGroup) - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
setFoodID(int) - Method in class ca.spaz.cron.database.Measure
 
setGender(boolean) - Method in class ca.spaz.cron.user.impl.CRONUser
 
setGender(boolean) - Method in interface ca.spaz.cron.user.User
Set the gender of the user
setGrams(double) - Method in class ca.spaz.cron.database.Measure
Set the number of grams in this measure
setGrams(double) - Method in class ca.spaz.cron.database.Serving
 
setHeightInCM(Double) - Method in class ca.spaz.cron.user.impl.CRONUser
 
setHeightInCM(Double) - Method in interface ca.spaz.cron.user.User
Set the user's height in cm
setHPos(double, int, double, int) - Method in class ca.spaz.gui.SpazPosition
 
setID(int) - Method in class ca.spaz.cron.database.Measure
 
setID(int) - Method in class ca.spaz.cron.database.Serving
 
setId(String) - Method in class ca.spaz.cron.datasource.sql.SQLDatasource
Set the id in the SQLDatasource.
setID(int) - Method in interface ca.spaz.cron.datasource.sql.SQLFood
 
setInfo(NutrientInfo) - Method in class ca.spaz.cron.summary.NutrientDisplay
 
setLinked(boolean) - Method in class ca.spaz.cron.ui.MeasureWidget
If linked, changing a weight will update the multiplier to keep the grams constant.
setListener(Object) - Method in class ca.spaz.gui.SpazCanvas
 
setMax(double) - Method in class ca.spaz.cron.targets.Target
 
setMeal(int) - Method in class ca.spaz.cron.database.Serving
 
setMeasure(Measure) - Method in class ca.spaz.cron.database.Serving
 
setMeasure(int) - Method in class ca.spaz.cron.database.Serving
 
setMeasure(Measure, double) - Method in class ca.spaz.cron.ui.MeasureWidget
Set the weight to display
setMeasures(List) - Method in interface ca.spaz.cron.database.Food
Replace the list of Measures for this food.
setMeasures(List) - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
setMin(double) - Method in class ca.spaz.cron.targets.Target
 
setModified() - Method in interface ca.spaz.cron.database.Food
Call this method to set the food as modified.
setModified() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
setMultiplier(double) - Method in class ca.spaz.cron.ui.NutrientEditorTable
 
setMultiplier(double) - Method in class ca.spaz.cron.ui.NutrientTableModel
 
setName(String) - Method in class ca.spaz.cron.user.impl.CRONUser
 
setName(String) - Method in interface ca.spaz.cron.user.User
Set the name of the user
setNotify(boolean) - Method in class ca.spaz.cron.datasource.AbstractMutableFoodDatasource
 
setNutrientAmount(NutrientInfo, double) - Method in interface ca.spaz.cron.database.Food
Set the amount of a nutrient provided by this Food.
setNutrientAmount(NutrientInfo, double) - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
setPosition(Component, SpazPosition) - Method in class ca.spaz.gui.SpazLayout
 
setProperty(String, String) - Method in class ca.spaz.cron.CRONConfiguration
Sets the value of a property in the user configuration section.
setProtein(double) - Method in class ca.spaz.cron.summary.MacroChart
 
setRange(double, double) - Method in class ca.spaz.gui.DoubleField
 
setSelectedFood(Food) - Method in class ca.spaz.cron.ui.FoodDBToolBar
 
setServing(Serving) - Method in class ca.spaz.cron.ui.ServingEditor
 
setSource(String) - Method in interface ca.spaz.cron.database.Food
Set the identifying 'source' of this Food.
setSource(String) - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
setSourceStream(InputStream) - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
setSourceUID(String) - Method in interface ca.spaz.cron.database.Food
Directly set the sourceUID of a food to that of another one.
setSourceUID(String) - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
setSourceURL(URL) - Method in class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
setTarget(NutrientInfo, Target) - Method in class ca.spaz.cron.user.impl.CRONUser
 
setTarget(NutrientInfo, Target) - Method in interface ca.spaz.cron.user.User
Set a target value for a particular NutrientInfo.
setTransparency(double) - Method in class ca.spaz.gui.TranslucentLabel
 
setUserPreference(String, String) - Method in class ca.spaz.cron.user.impl.CRONUser
 
setUserPreference(String, String) - Method in interface ca.spaz.cron.user.User
Sets the value of a user preference.
setValue(String, boolean) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Set a boolean value in the value set.
setValue(String, double) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Set a double value in the value set.
setValue(String, int) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Set an int value in the value set.
setValue(String, String) - Method in class ca.spaz.cron.summary.SummaryPanel
Deprecated. Set a String value in the value set.
setValue(Number) - Method in class ca.spaz.cron.user.impl.WeightMetric
 
setValue(Number) - Method in interface ca.spaz.cron.user.Metric
 
setValue(double) - Method in class ca.spaz.gui.DoubleField
 
setValueAt(Object, int, int) - Method in class ca.spaz.cron.targets.TargetEditorTableModel
 
setValueAt(Object, int, int) - Method in class ca.spaz.cron.ui.DailySummary.ServingTableModel
 
setValueAt(Object, int, int) - Method in class ca.spaz.cron.ui.MeasureEditor.WeightTableModel
 
setValueAt(Object, int, int) - Method in class ca.spaz.cron.ui.NutrientTableModel
 
setValueAt(Object, int, int) - Method in class ca.spaz.cron.ui.SearchPanel.ResultsTableModel
 
setValueList(List) - Method in class ca.spaz.cron.summary.OldMacroNutrientSummaryPanel.FatProteinCarbChartContent
Deprecated.  
setValueList(List) - Method in class ca.spaz.cron.summary.SimpleSummaryContent
Deprecated.  
setVPos(double, int, double, int) - Method in class ca.spaz.gui.SpazPosition
 
setWeight(Measure, double) - Method in class ca.spaz.cron.ui.ServingEditor
 
setWizard(Wizard) - Method in class ca.spaz.wizard.WizardPanel
 
setWriteOnChange(boolean) - Method in class ca.spaz.cron.CRONConfiguration
Set this value to determine if the configuration manager should write to disk on every change to the configuration, or if it should wait until store() is called to proceed.
showSplashScreen(Task) - Static method in class ca.spaz.cron.SplashScreen
 
SimpleSummaryContent - Class in ca.spaz.cron.summary
Deprecated. No longer needed for UI
SimpleSummaryContent(SummaryPanel) - Constructor for class ca.spaz.cron.summary.SimpleSummaryContent
Deprecated.  
size() - Method in class ca.spaz.util.CacheMap
 
skip(long) - Method in class ca.spaz.util.CountableInputStream
 
sleep(int) - Static method in class ca.spaz.util.ToolBox
Sleep for some amount of time.
sodium - Variable in class ca.spaz.cron.database.Minerals
 
SpazCanvas - Class in ca.spaz.gui
An XML definition of a GUI layout.
SpazCanvas(String) - Constructor for class ca.spaz.gui.SpazCanvas
 
SpazCanvas(String, Object) - Constructor for class ca.spaz.gui.SpazCanvas
 
SpazCanvasLoader - Class in ca.spaz.gui
An XML definition of a GUI layout.
SpazCanvasLoader(String, JPanel) - Constructor for class ca.spaz.gui.SpazCanvasLoader
 
SpazLayout - Class in ca.spaz.gui
 
SpazLayout() - Constructor for class ca.spaz.gui.SpazLayout
 
SpazMenuBar - Class in ca.spaz.gui
A JMenuBar that can be created from an XML description.
SpazMenuBar(InputStream, Object) - Constructor for class ca.spaz.gui.SpazMenuBar
 
SpazMenuBar(String, Object) - Constructor for class ca.spaz.gui.SpazMenuBar
 
SpazPosition - Class in ca.spaz.gui
 
SpazPosition() - Constructor for class ca.spaz.gui.SpazPosition
 
SpazPosition(SpazPosition) - Constructor for class ca.spaz.gui.SpazPosition
 
SplashScreen - Class in ca.spaz.cron
 
SplashScreen(Task) - Constructor for class ca.spaz.cron.SplashScreen
 
SQLColumnSet - Class in ca.spaz.sql
TODO describe
SQLColumnSet() - Constructor for class ca.spaz.sql.SQLColumnSet
 
SQLDatasource - Class in ca.spaz.cron.datasource.sql
A Food datasource that is based on a SQL database.
SQLDatasource(String, String, Connection, boolean) - Constructor for class ca.spaz.cron.datasource.sql.SQLDatasource
 
SQLDelete - Class in ca.spaz.sql
Conveniently produces simple SQL DELETE statements
SQLDelete(String) - Constructor for class ca.spaz.sql.SQLDelete
Create a new SQLUpdate command for the given table
SQLFood - Interface in ca.spaz.cron.datasource.sql
TODO describe
SQLFoodGroup - Interface in ca.spaz.cron.datasource.sql
TODO describe
SQLInsert - Class in ca.spaz.sql
Simplifies constructing SQL Insert Queries.
SQLInsert(String) - Constructor for class ca.spaz.sql.SQLInsert
 
SQLSelect - Class in ca.spaz.sql
Conveniently produces simple SQL SELECT statements Currently only handles basic column selection and where based on column equality.
SQLSelect(String) - Constructor for class ca.spaz.sql.SQLSelect
Create a new SQLUpdate command for the given table
SQLSelect(SQLSelect) - Constructor for class ca.spaz.sql.SQLSelect
 
SQLSelect(String[]) - Constructor for class ca.spaz.sql.SQLSelect
 
SQLSelectableStatement - Class in ca.spaz.sql
An abstract class encapsulating capabilities that are consistent across all selecting SQL statements.
SQLSelectableStatement(String, boolean, boolean, boolean) - Constructor for class ca.spaz.sql.SQLSelectableStatement
 
SQLStatement - Class in ca.spaz.sql
Base class for SQL command generators
SQLStatement(String, boolean, boolean) - Constructor for class ca.spaz.sql.SQLStatement
 
SQLUpdate - Class in ca.spaz.sql
Simplifies constructing SQL Update Queries.
SQLUpdate(String) - Constructor for class ca.spaz.sql.SQLUpdate
Create a new SQLUpdate command for the given table
starch - Variable in class ca.spaz.cron.database.MacroNutrients
 
start() - Method in class ca.spaz.cron.SplashScreen
 
startWizard() - Method in class ca.spaz.wizard.Wizard
 
store() - Method in class ca.spaz.cron.CRONConfiguration
Write the configuration to disk.
sugar - Variable in class ca.spaz.cron.database.MacroNutrients
 
SummaryPanel - Class in ca.spaz.cron.summary
Deprecated. No longer needed for UI.
SummaryPanel() - Constructor for class ca.spaz.cron.summary.SummaryPanel
Deprecated. Construct a summary panel with the default ordering of components.
SummaryPanel(Comparator) - Constructor for class ca.spaz.cron.summary.SummaryPanel
Deprecated. Construct a summary panel with the specified number of columns and field ordering.
SwitchableSummaryPanel - Class in ca.spaz.cron.summary
Deprecated. No longer needed for UI
SwitchableSummaryPanel() - Constructor for class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated. Create a new instance.
SwitchableSummaryPanel(Comparator) - Constructor for class ca.spaz.cron.summary.SwitchableSummaryPanel
Deprecated.  

T

table - Variable in class ca.spaz.cron.datasource.sql.USDAsr17.USDANutrientInfo
 
table - Variable in class ca.spaz.sql.SQLStatement
 
tag - Variable in class ca.spaz.cron.datasource.sql.USDAsr17.USDANutrientInfo
 
Target - Class in ca.spaz.cron.targets
 
Target() - Constructor for class ca.spaz.cron.targets.Target
 
Target(double, double) - Constructor for class ca.spaz.cron.targets.Target
 
TargetEditor - Class in ca.spaz.cron.targets
A UI panel that will let the user view and edit their nutritional targets.
TargetEditor(User) - Constructor for class ca.spaz.cron.targets.TargetEditor
 
TargetEditorTable - Class in ca.spaz.cron.targets
 
TargetEditorTable(User, List) - Constructor for class ca.spaz.cron.targets.TargetEditorTable
 
TargetEditorTableModel - Class in ca.spaz.cron.targets
 
TargetEditorTableModel(User, List) - Constructor for class ca.spaz.cron.targets.TargetEditorTableModel
 
TargetModel - Interface in ca.spaz.cron.targets
A Target Model can suggest targets for a User This lets us add different expert systems that suggest nutrient target values for a user, based on their parameters (age, weight, sex, etc...)
TargetSummaryChart - Class in ca.spaz.cron.summary
 
TargetSummaryChart() - Constructor for class ca.spaz.cron.summary.TargetSummaryChart
 
Task - Interface in ca.spaz.task
 
taskAborted(Task) - Method in class ca.spaz.cron.CRONOMETER
 
taskAborted(Task) - Method in class ca.spaz.cron.SplashScreen
 
taskAborted(Task) - Method in class ca.spaz.cron.ui.USDAImportDialog
 
taskAborted(Task) - Method in class ca.spaz.cron.user.USDAImportWizardPanel
 
taskAborted(Task) - Method in interface ca.spaz.task.TaskListener
 
TaskBar - Class in ca.spaz.task
A TaskBar is a Swing component that can safely run a Task in a background thread, display progress of the task, interact with the task control, and fire events to report task progress.
TaskBar() - Constructor for class ca.spaz.task.TaskBar
 
taskFinished(Task) - Method in class ca.spaz.cron.CRONOMETER
 
taskFinished(Task) - Method in class ca.spaz.cron.SplashScreen
 
taskFinished(Task) - Method in class ca.spaz.cron.ui.USDAImportDialog
 
taskFinished(Task) - Method in class ca.spaz.cron.user.USDAImportWizardPanel
 
taskFinished(Task) - Method in interface ca.spaz.task.TaskListener
 
TaskListener - Interface in ca.spaz.task
 
taskStarted(Task) - Method in class ca.spaz.cron.CRONOMETER
 
taskStarted(Task) - Method in class ca.spaz.cron.SplashScreen
 
taskStarted(Task) - Method in class ca.spaz.cron.ui.USDAImportDialog
 
taskStarted(Task) - Method in class ca.spaz.cron.user.USDAImportWizardPanel
 
taskStarted(Task) - Method in interface ca.spaz.task.TaskListener
 
thiamin - Variable in class ca.spaz.cron.database.Vitamins
 
THR - Variable in class ca.spaz.cron.database.AminoAcids
 
ToolBox - Class in ca.spaz.util
A class with misc.
ToolBox() - Constructor for class ca.spaz.util.ToolBox
 
topA - Variable in class ca.spaz.gui.SpazPosition
 
topR - Variable in class ca.spaz.gui.SpazPosition
 
toString() - Method in class ca.spaz.cron.database.AbstractFoodGroup
 
toString() - Method in class ca.spaz.cron.database.Measure
 
toString() - Method in class ca.spaz.cron.datasource.AbstractFoodDataSource
 
toString() - Method in class ca.spaz.cron.datasource.FoodDataEvent
Returns the enumeration name.
toString() - Method in class ca.spaz.cron.datasource.www.NutritionDataFood
 
toString() - Method in class ca.spaz.cron.targets.CRONTargetModel
 
toString() - Method in class ca.spaz.cron.targets.RDITargetModel
 
toString() - Method in class ca.spaz.gui.SpazPosition
 
toString() - Method in class ca.spaz.sql.SQLStatement
 
toString() - Method in class ca.spaz.util.CacheMap
 
toXMLString() - Method in class ca.spaz.gui.SpazPosition
 
transfats - Variable in class ca.spaz.cron.database.Lipids
 
TranslucentLabel - Class in ca.spaz.gui
 
TranslucentLabel(double, String) - Constructor for class ca.spaz.gui.TranslucentLabel
 
TranslucentLabel(double, String, int) - Constructor for class ca.spaz.gui.TranslucentLabel
 
TranslucentLabel(double, Icon) - Constructor for class ca.spaz.gui.TranslucentLabel
 
TranslucentPanel - Class in ca.spaz.gui
 
TranslucentPanel(double) - Constructor for class ca.spaz.gui.TranslucentPanel
 
TRP - Variable in class ca.spaz.cron.database.AminoAcids
 
TYR - Variable in class ca.spaz.cron.database.AminoAcids
 

U

uncompress(byte[]) - Static method in class ca.spaz.util.ToolBox
Decompress a byte array
update(Observable, Object) - Method in class ca.spaz.cron.summary.AbstractNutrientSummaryPanel
 
update(Observable, Object) - Method in class ca.spaz.cron.summary.NutrientTable
 
update(Observable, Object) - Method in class ca.spaz.cron.summary.NutritionSummaryPanel
 
update(Observable, Object) - Method in class ca.spaz.cron.summary.TargetSummaryChart
 
update(Observable, Object) - Method in class ca.spaz.cron.ui.ServingEditor
 
updateDatabase() - Method in class ca.spaz.cron.database.NutrientTable
Update the existing food information
updateDatabase() - Method in class ca.spaz.cron.database.Serving
Update the existing food information
updateMeasure() - Method in class ca.spaz.cron.ui.MeasureWidget
Update the widget after a weight change has occurred.
USDAFood - Class in ca.spaz.cron.datasource.sql.USDAsr17
 
USDAFood(String, Map) - Constructor for class ca.spaz.cron.datasource.sql.USDAsr17.USDAFood
Construct from USDB Flat file string
USDAImportDialog - Class in ca.spaz.cron.ui
This dialog encapsulates the behaviour involved in downloading and installing the USDA NR17 food info database.
USDAImportDialog(Frame) - Constructor for class ca.spaz.cron.ui.USDAImportDialog
This is the default constructor
USDAImportDialog.FinishAction - Class in ca.spaz.cron.ui
This action is to be triggered when the import process is complete.
USDAImportDialog.FinishAction() - Constructor for class ca.spaz.cron.ui.USDAImportDialog.FinishAction
Construct a new FinishAction instance.
USDAImportDialog.ImportAction - Class in ca.spaz.cron.ui
This action is fired to start the downloading process.
USDAImportDialog.ImportAction() - Constructor for class ca.spaz.cron.ui.USDAImportDialog.ImportAction
Construct a new ImportAction instance.
USDAImportDialog.NextAction - Class in ca.spaz.cron.ui
This action is to be fired when moving through the dialog.
USDAImportDialog.NextAction() - Constructor for class ca.spaz.cron.ui.USDAImportDialog.NextAction
Construct a new instance of NextAction
USDAImporter - Class in ca.spaz.cron.datasource.sql.USDAsr17
 
USDAImporter(Connection, OutputStream) - Constructor for class ca.spaz.cron.datasource.sql.USDAsr17.USDAImporter
 
USDAImportWizardPanel - Class in ca.spaz.cron.user
 
USDAImportWizardPanel() - Constructor for class ca.spaz.cron.user.USDAImportWizardPanel
 
USDAImportWizardPanel.ImportAction - Class in ca.spaz.cron.user
This action is fired to start the downloading process.
USDAImportWizardPanel.ImportAction() - Constructor for class ca.spaz.cron.user.USDAImportWizardPanel.ImportAction
Construct a new ImportAction instance.
USDANutrientInfo - Class in ca.spaz.cron.datasource.sql.USDAsr17
 
USDANutrientInfo() - Constructor for class ca.spaz.cron.datasource.sql.USDAsr17.USDANutrientInfo
 
USDAWeight - Class in ca.spaz.cron.datasource.sql.USDAsr17
 
USDAWeight(String) - Constructor for class ca.spaz.cron.datasource.sql.USDAsr17.USDAWeight
 
User - Interface in ca.spaz.cron.user
 
userChanged(User) - Method in interface ca.spaz.cron.user.UserChangeListener
This event is fired whenever the user model changes in some way.
UserChangeListener - Interface in ca.spaz.cron.user
An interface to be implemented by objects interested in user model changes.
UserInfoWizardPanel - Class in ca.spaz.cron.user
 
UserInfoWizardPanel(User) - Constructor for class ca.spaz.cron.user.UserInfoWizardPanel
 
UserMetrics - Class in ca.spaz.cron.user
 
UserMetrics() - Constructor for class ca.spaz.cron.user.UserMetrics
Create a new UserMetrics object with the current time as its date;
UserMetrics(Date) - Constructor for class ca.spaz.cron.user.UserMetrics
Create a new UserMetrics object with the specified time as its date;

V

VAL - Variable in class ca.spaz.cron.database.AminoAcids
 
valid() - Method in class ca.spaz.gui.SpazPosition
 
values() - Method in class ca.spaz.util.CacheMap
 
vit_a - Variable in class ca.spaz.cron.database.Vitamins
 
vit_b12 - Variable in class ca.spaz.cron.database.Vitamins
 
vit_b6 - Variable in class ca.spaz.cron.database.Vitamins
 
vit_c - Variable in class ca.spaz.cron.database.Vitamins
 
vit_d - Variable in class ca.spaz.cron.database.Vitamins
 
vit_e - Variable in class ca.spaz.cron.database.Vitamins
 
vit_k - Variable in class ca.spaz.cron.database.Vitamins
 
Vitamins - Class in ca.spaz.cron.database
The standard list of vitamins for a food item.
Vitamins() - Constructor for class ca.spaz.cron.database.Vitamins
 
Vitamins(Food) - Constructor for class ca.spaz.cron.database.Vitamins
 
VitaminSummaryPanel - Class in ca.spaz.cron.summary
 
VitaminSummaryPanel() - Constructor for class ca.spaz.cron.summary.VitaminSummaryPanel
 

W

water - Variable in class ca.spaz.cron.database.MacroNutrients
 
WeightMetric - Class in ca.spaz.cron.user.impl
 
WeightMetric() - Constructor for class ca.spaz.cron.user.impl.WeightMetric
 
Wizard - Class in ca.spaz.wizard
A Wizard Dialog.
Wizard(JFrame, String) - Constructor for class ca.spaz.wizard.Wizard
 
WizardPanel - Class in ca.spaz.wizard
 
WizardPanel() - Constructor for class ca.spaz.wizard.WizardPanel
 
writeXML(PrintStream) - Method in interface ca.spaz.cron.datasource.sql.SQLFood
 
WWWFoodGroup - Interface in ca.spaz.cron.datasource.www
TODO describe
WWWFoodGroupImpl - Class in ca.spaz.cron.datasource.www
A generic food group class for WWW Food Datasources.
WWWFoodGroupImpl(String, String) - Constructor for class ca.spaz.cron.datasource.www.WWWFoodGroupImpl
Create a new WWWFoodGroupImpl.

X

XMLNode - Class in ca.spaz.util
A super simple class for quickly outputting some XML
XMLNode(String) - Constructor for class ca.spaz.util.XMLNode
 

Z

zinc - Variable in class ca.spaz.cron.database.Minerals
 

A B C D E F G H I K L M N O P R S T U V W X Z

Copyright © 2005 Spaz. All Rights Reserved.