Serialized Form


Package cafe.database

Class cafe.database.DBConLostException extends java.lang.Exception implements Serializable

Class cafe.database.ProductNotFoundException extends java.lang.Exception implements Serializable


Package cafe.gui

Class cafe.gui.GuiMain extends javax.swing.JFrame implements Serializable

serialVersionUID: 1L

Serialized Fields

currentView

javax.swing.JPanel currentView
The panel that is currently filling this frame


guiSettings

GUISettings guiSettings
Settings for the GUI component. Parsed from settings files.


userInterfaceEvent

UserInterfaceEvent userInterfaceEvent
Interface for communicating with rest of the system


waitingNewFinger

boolean waitingNewFinger
If system is waiting for a new fingerprint to be inserted and stored


inErrorState

boolean inErrorState
If system is in error state, i.e. no user actions are allowed


selectedFinger

int selectedFinger
Currently selected finger for fingerprint addition (if any)


errorMessage

java.lang.String errorMessage
The current error message if system is in error state


startPanel

StartPanel startPanel
Base panel of the startview / title screen


registerPanel

RegisterPanel registerPanel
Base panel of the register new user view


alertPanel

AlertPanel alertPanel
Base panel of the add product alert view


configPanel

ConfigPanel configPanel
Base panel of "my settings" view


importPanel

ImportPanel importPanel
Base panel of the import product view


shopPanel

ShopPanel shopPanel
Base panel of the export product view


alertProduct

ImportProduct alertProduct
The product currently receiving an alert


currentUser

UserInfo currentUser
Currently logged on user. null if there is no user currently logged on.


currentLanguage

LanguageEnum currentLanguage
Currently selected language.


Package cafe.gui.alertView

Class cafe.gui.alertView.AlertPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

cPanel

cafe.gui.alertView.CPanel cPanel
Center panel that shows information.


viewEventInterface

ViewEventInterface viewEventInterface
Interface used to communicate with other system.


nPanel

NPanel nPanel
Panel that shows navigation bar.


c

java.awt.GridBagConstraints c
Constraints used with GridBagLayout


importableList

ImportableList importableList
Product list containing products to which an alert can be added.


Package cafe.gui.configView

Class cafe.gui.configView.ConfigPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEventInterface

ViewEventInterface viewEventInterface
Interface that is used to communicate with other system.


nPanel

NPanel nPanel
Panel that shows header in this view.


cPanel

cafe.gui.configView.CPanel cPanel
Center panel in this view.


balances

UserBalance[] balances
User's balance in different product groups.


productList

ShopableList productList
Product list for selecting favourite product.


fingerprints

boolean[] fingerprints
Fingers that have fingerprints set.


adding

boolean adding
is user adding fingerprint.


currentUser

UserInfo currentUser

Package cafe.gui.general

Class cafe.gui.general.CancelProductButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

cancelEvent

CancelEvent cancelEvent
Interface for signalling the product cancellation

Class cafe.gui.general.ConfigButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEvent

ViewEvent viewEvent
Interface for changing the view

Class cafe.gui.general.ImportButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEvent

ViewEvent viewEvent
Interface for changing the view

Class cafe.gui.general.LanguageButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEvent

ViewEvent viewEvent
Interface for changing the language


startView

StartViewInterface startView
Interface for changing language in start view

Class cafe.gui.general.LogoutButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEvent

ViewEvent viewEvent
Interface for changing the view

Class cafe.gui.general.NPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

logout

LogoutButton logout
Log out button


shop

ShopButton shop
Change to product export button


importButton

ImportButton importButton
Change to product import button


config

ConfigButton config
Change to settings view button


language

LanguageButton language
Change language button


cancel

CancelProductButton cancel
Cancel product export button


viewEventInterface

ViewEventInterface viewEventInterface
Interface for accessing GUI's main class

Class cafe.gui.general.ShopButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEvent

ViewEvent viewEvent
Interface for changing the view


Package cafe.gui.general.fingerConf

Class cafe.gui.general.fingerConf.FingerButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

fingerEvent

FingerEvent fingerEvent
Interface for informing the system that a fingerprint is going to be added


id

int id
Number of the finger that this button represents


cancelEvent

CancelEvent cancelEvent
Interface for informing the system that countdown timer should be stopped


finger

boolean finger
If a fingerprint is set in this finger or not


waiting

boolean waiting
If this finger is currently being added or not

Class cafe.gui.general.fingerConf.FingerConfigPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

buttons

FingerButton[] buttons
The five fingerprint buttons


Package cafe.gui.general.productLists

Class cafe.gui.general.productLists.AlertViewProductRenderer extends javax.swing.JLabel implements Serializable

serialVersionUID: 1L

Serialized Fields

currentLanguage

LanguageEnum currentLanguage
Current language used in the GUI.

Class cafe.gui.general.productLists.GroupList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

importProductChange

ImportProductChange importProductChange
Interface that it used to tell when group selected.


currentGroup

ProductGroup currentGroup
Group that is selected and which's products are shown.

Class cafe.gui.general.productLists.GroupRenderer extends javax.swing.JLabel implements Serializable

serialVersionUID: 1L

Serialized Fields

currentLanguage

LanguageEnum currentLanguage
Current language used in the GUI.

Class cafe.gui.general.productLists.ImportableList extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

groupList

GroupList groupList
Product group list shown in this panel


productList

ImportProductList productList
Import product list shown in this panel


viewEventInterface

ViewEventInterface viewEventInterface
Interface used for communicating with GUI's main class


productGroups

ProductGroup[] productGroups
Product groups that are shown in group list


left

javax.swing.JPanel left
Panel containing the group list


right

javax.swing.JPanel right
Panel containing the product list


alert

boolean alert
Tells if this is used in alert view or not


rightScroll

javax.swing.JScrollPane rightScroll
Scrolling pane for the product list


leftScroll

javax.swing.JScrollPane leftScroll
Scrolling pane for the group list


leftUpArrow

javax.swing.JButton leftUpArrow
Scroller button


leftDownArrow

javax.swing.JButton leftDownArrow
Scroller button


rightUpArrow

javax.swing.JButton rightUpArrow
Scroller button


rightDownArrow

javax.swing.JButton rightDownArrow
Scroller button

Class cafe.gui.general.productLists.ImportProductList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

importProductChange

ImportProductChange importProductChange
Interface for communicating the selected product


currentProduct

ImportProduct currentProduct
The currently selected product


currentAmount

double currentAmount

products

ImportProduct[] products
List of products available for import

Class cafe.gui.general.productLists.ImportViewProductRenderer extends javax.swing.JLabel implements Serializable

serialVersionUID: 1L

Class cafe.gui.general.productLists.ProductList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

productChangeEvent

ProductChangeEvent productChangeEvent
Interface for notifying of product selections.


products

ExportProduct[] products
Table containing the products to be shown in this list


currentProduct

ExportProduct currentProduct
Currently selected product

Class cafe.gui.general.productLists.ProductRenderer extends javax.swing.JLabel implements Serializable

serialVersionUID: 1L

Serialized Fields

currentLanguage

LanguageEnum currentLanguage
Current language used in the GUI.

Class cafe.gui.general.productLists.ShopableList extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

productList

ProductList productList
Export product list shown in this panel


scrollPane

javax.swing.JScrollPane scrollPane
Scrolling pane for the product list


upArrow

javax.swing.JButton upArrow
Scroller button


downArrow

javax.swing.JButton downArrow
Scroller button


products

ExportProduct[] products
Products that are shown in the product list


viewEventInterface

ViewEventInterface viewEventInterface
Interface used for communicating with GUI's main class


Package cafe.gui.importView

Class cafe.gui.importView.CPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEventInterface

ViewEventInterface viewEventInterface
Interface for communicating with GUI's main class


product

ImportProduct product
Product currently selected for import


amount

double amount
Amount selected for the product


timer

javax.swing.Timer timer
Timer counting down until automatic logout


timeLeft

int timeLeft
Time left until automatic logout


timeoutLabel

javax.swing.JLabel timeoutLabel
Label showing the time until automatic logout

Class cafe.gui.importView.ImportPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEventInterface

ViewEventInterface viewEventInterface
Interface for communicating with GUI's main class


nPanel

NPanel nPanel
Navigation panel on top of the screen


sPanel

cafe.gui.importView.SPanel sPanel
The panel that show's user's balance in bottom of the screen


cPanel

CPanel cPanel
Center panel for showing information to the user


middlePanel

javax.swing.JPanel middlePanel
Extra panel for grouping components together


importableList

ImportableList importableList
A panel containing product group and product lists


c

java.awt.GridBagConstraints c
Constraints used with GridBagLayout


Package cafe.gui.registerView

Class cafe.gui.registerView.RegisterPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEventInterface

ViewEventInterface viewEventInterface
Interface for accessing GUI's main class' features


cPanel

cafe.gui.registerView.CPanel cPanel
Center panel in this view


texts

java.lang.String[] texts
Table containing all the texts used for this view Texts order: username 0, password 1, ok(upper) 2, info1(upper) 3, info2(upper) 4, firstname 5, lastname 6, ok(lower) 7, info1(lower) 8, info2(lower) 9, info3(lower) 10, errormsg 11


nPanel

NPanel nPanel
Navigation panel


c

java.awt.GridBagConstraints c
Settings used with GridBagLayout


Package cafe.gui.shopView

Class cafe.gui.shopView.BuyButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

buyEvent

BuyEvent buyEvent
The interface used when the button is pressed.

Class cafe.gui.shopView.CancelButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

cancelEvent

CancelEvent cancelEvent
The interface used when the button is pressed.

Class cafe.gui.shopView.ShopPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

nPanel

NPanel nPanel
Navigation panel


viewEventInterface

ViewEventInterface viewEventInterface
Used for calling GUI's main class


cPanel

cafe.gui.shopView.CPanel cPanel
Center panel that displays text


cancelCPanel

cafe.gui.shopView.CancelCPanel cancelCPanel
Alternate center panel that is used if user wants to cancel a previous export


sPanel

SPanel sPanel
Bottom panel that displays user's balance


c

java.awt.GridBagConstraints c
Used with GridBagLayout layout manager to define the layout


productList

ShopableList productList
A panel containing list of products and scroll buttons


selectedProduct

ExportProduct selectedProduct
The product that user has selected from the product list

Class cafe.gui.shopView.SPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L


Package cafe.gui.startView

Class cafe.gui.startView.RemoveButton extends javax.swing.JButton implements Serializable

serialVersionUID: 1L

Serialized Fields

product

ImportProduct product

alertEvent

AlertEvent alertEvent

Class cafe.gui.startView.StartPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

viewEventInterface

ViewEventInterface viewEventInterface
Interface that is used to communicate with other system.


cPanel

cafe.gui.startView.CPanel cPanel
Panel that is part of View. Created when needed and added to this panel.