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

S

saveFingerprint(FPData) - Method in interface cafe.database.Database
Inserts a new fingerprint into database
saveFingerprint(FPData) - Method in class cafe.database.DBCommunication
Inserts a new fingerprint into database
saveUser(UserInfo) - Method in interface cafe.database.Database
Saves userInfo into database.
saveUser(UserInfo) - Method in class cafe.database.DBCommunication
Saves userInfo into database.
saveUser(UserInfo) - Method in interface cafe.gui.UserInterfaceEvent
Saves an UserInfo instance describing a certain user to the database.
saveUser(UserInfo) - Method in class cafe.main.MainGuiHandler
Saves an UserInfo instance describing a certain user to the database by calling Database interface's saveUser method.
scrollDown() - Method in class cafe.gui.general.productLists.GroupList
Scrolls the group list down, i.e. towards bigger indices.
scrollDown() - Method in class cafe.gui.general.productLists.ImportProductList
Scrolls the product list down, i.e. towards bigger indices.
scrollDown() - Method in class cafe.gui.general.productLists.ProductList
Scrolls the product list down, i.e. towards bigger indices.
scrollUp() - Method in class cafe.gui.general.productLists.GroupList
Scrolls the group list up, i.e. towards smaller indices.
scrollUp() - Method in class cafe.gui.general.productLists.ImportProductList
Scrolls the product list up, i.e. towards smaller indices.
scrollUp() - Method in class cafe.gui.general.productLists.ProductList
Scrolls the product list up, i.e. towards smaller indices.
selectedProduct(ExportProduct) - Method in class cafe.gui.configView.ConfigPanel
Sets the currently selected favourite product.
selectedProduct(ExportProduct) - Method in interface cafe.gui.general.productLists.ProductChangeEvent
The method is used to inform the implementing class of the selected product.
selectedProduct(ExportProduct) - Method in class cafe.gui.general.productLists.ShopableList
Gets called when a product was selected.
selectedProduct(ImportProduct, double) - Method in class cafe.gui.importView.ImportPanel
Informs the panel that user has selected the given product and amount from the product list
selectedProduct(ExportProduct) - Method in interface cafe.gui.interfaces.ConfigViewInterface
Signals the implementing class that the user has selected a product from the product list.
selectedProduct(ImportProduct, double) - Method in interface cafe.gui.interfaces.ImportViewInterface
Informs the implementing class that a certain product has been selected.
selectedProduct(ExportProduct) - Method in interface cafe.gui.interfaces.ShopViewInterface
Informs the implementing class that a certain product has been selected.
selectedProduct(ExportProduct) - Method in class cafe.gui.shopView.ShopPanel
This method sets the selected product and redraws the center panel and balance panel with the correct information.
setBalance(UserBalance[]) - Method in class cafe.gui.importView.ImportPanel
 
setBalance(UserBalance[]) - Method in interface cafe.gui.interfaces.ImportViewInterface
Provides user's balance in different groups to implementing class.
setBalance(UserBalance[]) - Method in interface cafe.gui.interfaces.ShopViewInterface
Provides user's balance in different groups to implementing class.
setBalance(UserBalance[]) - Method in class cafe.gui.shopView.ShopPanel
Must be here because of the interface.
setBalance(double) - Method in class cafe.gui.UserBalance
Sets user's balance to the amount given.
setBalances(UserBalance[]) - Method in class cafe.gui.UserInfo
Sets user's balance in all product groups.
setCancelAllowed(boolean) - Method in class cafe.gui.UserInfo
Sets the variable that tells if the user is allowed to cancel a product export transaction.
setDefaultLanguage(String) - Method in class cafe.gui.UserInfo
Sets user's default language.
setFamilyname(String) - Method in class cafe.gui.UserInfo
Sets user's family name.
setFavoriteProduct(ExportProduct) - Method in class cafe.gui.GuiMain
Sets the current user's favorite product.
setFavoriteProduct(ExportProduct) - Method in class cafe.gui.UserInfo
Sets user's favorite product to some ExportProduct.
setFavoriteProduct(ExportProduct) - Method in interface cafe.gui.ViewEventInterface
Sets the current user's favorite product.
setFingerprint(int, int) - Method in class cafe.gui.UserInfo
Set's a finger's fingerprint to a given id.
setFocus() - Method in class cafe.gui.registerView.RegisterPanel
 
setGivenname(String) - Method in class cafe.gui.UserInfo
Sets user's given (first) name.
setSelectedProduct(ExportProduct) - Method in class cafe.gui.general.productLists.ProductList
Sets the selected product in the list.
Settings - Class in cafe.settings
This class implements Configuration interface.
Settings() - Constructor for class cafe.settings.Settings
Constructs new Settings and checks that the main settings file settings.xml is available
Settings(String) - Constructor for class cafe.settings.Settings
Constructs new Settings and checks that the main settings file is available at the given location.
SettingsTester - Class in cafe.settings
 
SettingsTester(String) - Constructor for class cafe.settings.SettingsTester
 
setUserName(String, String) - Method in class cafe.gui.GuiMain
Sets current user's first and family name
setUserName(String, String) - Method in interface cafe.gui.ViewEventInterface
Sets current user's first and family name
ShopableList - Class in cafe.gui.general.productLists
 
ShopableList(ExportProduct[], ViewEventInterface, ExportProduct) - Constructor for class cafe.gui.general.productLists.ShopableList
Constructs the panel containing the product list
ShopButton - Class in cafe.gui.general
Button to change view to ShopView.
ShopButton(String, ViewEvent) - Constructor for class cafe.gui.general.ShopButton
Constructs the button with the given text.
ShopPanel - Class in cafe.gui.shopView
Creates the product exporting view in GUI.
ShopPanel(ViewEventInterface, ShopableList) - Constructor for class cafe.gui.shopView.ShopPanel
Normal constructor that is used when the view is switched to the product export view.
ShopPanel(ViewEventInterface, ShopableList, CancelProduct) - Constructor for class cafe.gui.shopView.ShopPanel
This constructor is used when user presses the cancel previous product export button.
shopView() - Method in class cafe.gui.general.NPanel
Used to make this panel show the correct buttons when in product export view.
ShopViewInterface - Interface in cafe.gui.interfaces
This interface provides methods for informing shopPanel of selected product.
showAskName(boolean) - Method in interface cafe.gui.interfaces.RegisterViewInterface
If the user is a new user (i.e. not previously stored in database), this method gets called.
showAskName(boolean) - Method in class cafe.gui.registerView.RegisterPanel
If the user is a new user (i.e. not previously stored in database), this method gets called.
showFingerError() - Method in class cafe.gui.startView.StartPanel
Shows an error message "fingerprint not recognized" in the view for the amount of seconds that has been set in the settings file.
SPanel - Class in cafe.gui.shopView
This class creates a panel that shows user's balance.
StartPanel - Class in cafe.gui.startView
System makes an instance of this class when it needs startView.
StartPanel(ViewEventInterface) - Constructor for class cafe.gui.startView.StartPanel
Constructs the start panel.
StartPanel(ViewEventInterface, String) - Constructor for class cafe.gui.startView.StartPanel
Constructs the start panel and shows an error message while allowing no other controls.
StartViewInterface - Interface in cafe.gui.interfaces
This interface defines methods that the start view's main class must implement.
stopForProblem(String) - Method in class cafe.gui.GuiMain
This method puts the GUI in a error state where users cannot do anything else but change the language.
stopForProblem(String) - Method in interface cafe.gui.UserInterface
This method puts the GUI in a error state where users cannot do anything else but change the language.
suspendEncoding() - Method in class cafe.authentication.Base64.OutputStream
Suspends encoding of the stream.

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