Videoautomat
A C D F G H I L M Q R S T V

A

accept(LogEntry) - Method in class videoautomat.LogEntryFilterImpl
 
AutomatUser - class videoautomat.AutomatUser.
This class implements the User of this application.
AutomatUser(String, char[], boolean) - Constructor for class videoautomat.AutomatUser
Constructs a new AutomatUser.

C

C_CURRENCY - Static variable in class videoautomat.VideoShop
Key of the currency -Catalog
C_VIDEOS - Static variable in class videoautomat.VideoShop
Key of the video -Catalog
CAPABILITY_ADMIN - Static variable in class videoautomat.AutomatUser
Key used to get the ActionCapability used to start a SaleProcessAdmin.
CAPTION_AUTOMAT - Static variable in class videoautomat.gui.Global
The Caption of the VideoAutomat
CC_VIDEOS - Static variable in class videoautomat.VideoShop
Key of the video -CountingStock
checkRentedVideos() - Static method in class videoautomat.VideoShop
Method to iterate over all rented videos and taking out those, which renting costs exceed the purchase price
commitAddStockItems(StockChangeEvent) - Method in class videoautomat.StockChangeLogger
Called whenever the adding of StockItems was commited.
commitRemoveStockItems(StockChangeEvent) - Method in class videoautomat.StockChangeLogger
Called whenever the removing of StockItems was commited.
ComparatorCurrency - class videoautomat.ComparatorCurrency.
Comparator used to compare NumberValues of CatalogItems and CountingStockTableModel.Records
ComparatorCurrency() - Constructor for class videoautomat.ComparatorCurrency
Constructs a new ComparatorCurrency
compare(Object, Object) - Method in class videoautomat.ComparatorCurrency
Compares CatalogItemes or CountingStockTableModel.Records.
createShopMenuSheet() - Method in class videoautomat.VideoShop
 

D

DisplayMoneyStockError - class videoautomat.DisplayMoneyStockError.
This class implements a JDisplayDialog informing the customer that he/she has to insert the correct amount of money.
DisplayMoneyStockError() - Constructor for class videoautomat.DisplayMoneyStockError
Constructs a new DisplayMoneyStockError and shows it.

F

FB_ADMIN - Static variable in class videoautomat.gui.LogOn
An ID to identify the FormButton admin
FB_CANCEL - Static variable in class videoautomat.gui.Rent
An ID to identify the FormButton cancel
FB_CANCEL - Static variable in class videoautomat.gui.HandBack
An ID to identify the FormButton cancel
FB_CLOSE - Static variable in class videoautomat.gui.LogFileFormSheet
An ID to identify the FormButton close
FB_GIVEBACK - Static variable in class videoautomat.gui.HandBack
An ID to identify the FormButton give back
FB_HANDBACK - Static variable in class videoautomat.gui.LogOn
An ID to identify the FormButton hand back
FB_LOGON - Static variable in class videoautomat.gui.Global
An ID to identify the FormButton log on
FB_LOGOUT - Static variable in class videoautomat.gui.LogOn
An ID to identify the FormButton logout
FB_PAY - Static variable in class videoautomat.gui.Rent
An ID to identify the FormButton pay
FB_RENT - Static variable in class videoautomat.gui.Rent
An ID to identify the FormButton rent
FB_RENT - Static variable in class videoautomat.gui.LogOn
An ID to identify the FormButton rent
FILENAME - Static variable in class videoautomat.VideoShop
The name of the global log file

G

getCellRenderer(int) - Method in class videoautomat.TEDVideoStock
 
getChangeFormSheet(MoneyBagImpl, UIGate, DataBasket, String) - Static method in class videoautomat.gui.HandBack
 
getColumnClass(int) - Method in class videoautomat.TEDVideoStock
 
getColumnClass(int) - Method in class videoautomat.TEDVideoCassette
 
getColumnCount() - Method in class videoautomat.TEDVideoStock
 
getColumnCount() - Method in class videoautomat.TEDVideoCassette
 
getColumnName(int) - Method in class videoautomat.TEDVideoStock
 
getColumnName(int) - Method in class videoautomat.TEDVideoCassette
 
getConfirmFormSheet(DataBasket, DataBasketCondition, TableEntryDescriptor, CountingStock, UIGate) - Static method in class videoautomat.gui.Rent
 
getCost() - Method in class videoautomat.VideoCassette
 
getCurrency() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getDays() - Method in class videoautomat.VideoCassette
 
getDefaultFormSheet() - Method in class videoautomat.VideoAutomat
 
getFaultFormSheet() - Static method in class videoautomat.gui.LogOn
 
getInitialGate() - Method in class videoautomat.SaleProcessRent
Implementation of the inherited abstract method.
getInitialGate() - Method in class videoautomat.SaleProcessLogOn
Implementation of the inherited abstract method.
getInitialGate() - Method in class videoautomat.SaleProcessHandBack
Implementation of the inherited abstract method.
getInitialGate() - Method in class videoautomat.SaleProcessAdmin
Implementation of the inherited abstract method.
getLogData() - Method in class videoautomat.LoggableImpl
 
getLogDate() - Method in class videoautomat.LogEntryVideo
 
getLogOnForm(boolean, UserManager, Comparator, UserFilter) - Static method in class videoautomat.gui.LogOn
 
getMainFormSheet(CountingStock, UIGate, boolean, TableEntryDescriptor) - Static method in class videoautomat.gui.LogOn
 
getMoneyBag() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getNoChangeFormSheet() - Static method in class videoautomat.gui.Global
 
getPayFormSheet(Catalog, CountingStock, DataBasket, UIGate, Comparator, Comparator, boolean, TableEntryDescriptor, TableEntryDescriptor, CCSStrategy, String) - Static method in class videoautomat.gui.Rent
 
getRentedVideosFormSheet(StoringStock, StoringStock, DataBasket, UIGate, Comparator, Comparator, TableEntryDescriptor, TableEntryDescriptor, SSSSStrategy) - Static method in class videoautomat.gui.HandBack
 
getRentFormSheet(CountingStock, DataBasket, UIGate, Comparator, Comparator, boolean, TableEntryDescriptor, TableEntryDescriptor, CSDBStrategy) - Static method in class videoautomat.gui.Rent
 
getStartFormSheet(CountingStock, UIGate, boolean, TableEntryDescriptor) - Static method in class videoautomat.gui.Global
 
getValueAt(Object, int) - Method in class videoautomat.TEDVideoStock
 
getValueAt(Object, int) - Method in class videoautomat.TEDVideoCassette
 
getVideoCatalog() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getVideoStock() - Static method in class videoautomat.VideoShop
Helper method to avoid to long code-lines.
getVideoStock() - Method in class videoautomat.AutomatUser
 
Global - class videoautomat.gui.Global.
This class implements graphical-user-interface elements for the whole application, especially for the VideoAutomat
Global() - Constructor for class videoautomat.gui.Global
 

H

HandBack - class videoautomat.gui.HandBack.
This class implements graphical-user-interface elements for the SaleProcessHandBack
HandBack() - Constructor for class videoautomat.gui.HandBack
 

I

initializeMoney() - Static method in class videoautomat.MainClass
Method to initial add some coins to the VideoShops MoneyBag.
initializeUsers() - Static method in class videoautomat.MainClass
Method to initial add some users to the global UserManager.
initializeVideos() - Static method in class videoautomat.MainClass
Method to initial add some videos to the VideoShops Stock.

L

LogEntryFilterImpl - class videoautomat.LogEntryFilterImpl.
This class implements a LogEntryFilter to filter out LogEntryVideo
LogEntryFilterImpl() - Constructor for class videoautomat.LogEntryFilterImpl
 
LogEntryVideo - class videoautomat.LogEntryVideo.
This class implements a LogEntry that describes the rent or hand back of a video.
LogEntryVideo(String, String, boolean) - Constructor for class videoautomat.LogEntryVideo
Constructs a new LogEntryVideo by the given params and the current date.
LogFileFormSheet - class videoautomat.gui.LogFileFormSheet.
This class implements a LogTableForm to display the global logfile
LogFileFormSheet(LogInputStream) - Constructor for class videoautomat.gui.LogFileFormSheet
Constructs a new LogFileFormSheet
LoggableImpl - class videoautomat.LoggableImpl.
This class implements Loggable to achieve the logging of LogEntryVideo.
LoggableImpl(String, String, boolean) - Constructor for class videoautomat.LoggableImpl
Constructs a new LoggableImpl, that will log LogEntryVideos.
LogOn - class videoautomat.gui.LogOn.
This class implements graphical-user-interface elements for the SaleProcessLogOn
LogOn() - Constructor for class videoautomat.gui.LogOn
 

M

main(String[]) - Static method in class videoautomat.MainClass
The main void of the application, starts up the automat.
MainClass - class videoautomat.MainClass.
This class implements the start up of the whole application, it contains also the main void of this app.
MainClass() - Constructor for class videoautomat.MainClass
 
MB_MONEY - Static variable in class videoautomat.VideoShop
Key of the MoneyBag
MS_NEW - Static variable in class videoautomat.gui.Global
Label for the menusheet that contains self-defined items
MSG_ACCESS - Static variable in class videoautomat.gui.Global
Label for the admin- ActionCapability, if it`s not granted.
MSI_AUTOMAT - Static variable in class videoautomat.gui.Global
Label for the button to start the automat
MSI_DAY - Static variable in class videoautomat.gui.Global
Label for the time setter button

Q

quit() - Method in class videoautomat.VideoShop
Overidden to avoid the annoying save-query, when quiting the application.

R

Rent - class videoautomat.gui.Rent.
This class implements graphical-user-interface elements for the SaleProcessRent
RENT_VALUE_DAY - Static variable in class videoautomat.MainClass
Represents the cost per day for renting a video.
Rent() - Constructor for class videoautomat.gui.Rent
 

S

SaleProcessAdmin - class videoautomat.SaleProcessAdmin.
This class implements a SaleProcess for the administrative work.
SaleProcessAdmin() - Constructor for class videoautomat.SaleProcessAdmin
Constructs a new SaleProcessAdmin.
SaleProcessHandBack - class videoautomat.SaleProcessHandBack.
This class implements a SaleProcess to hand back the videos.
SaleProcessHandBack() - Constructor for class videoautomat.SaleProcessHandBack
Constructs a new SaleProcessHandBack
SaleProcessLogOn - class videoautomat.SaleProcessLogOn.
This class implements a SaleProcess used to log on and choose which activity should follow.
SaleProcessLogOn() - Constructor for class videoautomat.SaleProcessLogOn
Constructs a new SaleProcessLogOn
SaleProcessRent - class videoautomat.SaleProcessRent.
This class implements a SaleProcess used to rent videos.
SaleProcessRent() - Constructor for class videoautomat.SaleProcessRent
Constructs a new SaleProcessRent
StockChangeLogger - class videoautomat.StockChangeLogger.
This class implements a StockChangeListener, which reacts to changes on AutomatUser.getVideoStock().
StockChangeLogger(String) - Constructor for class videoautomat.StockChangeLogger
Constructs a new StockChangeLogger

T

TEDVideoCassette - class videoautomat.TEDVideoCassette.
This class implements a TableEntryDescriptor used to display rented VideoCassettes
TEDVideoCassette() - Constructor for class videoautomat.TEDVideoCassette
 
TEDVideoStock - class videoautomat.TEDVideoStock.
This class implements a TableEntryDescriptor used to display the VideoShop.getVideoStock()
TEDVideoStock() - Constructor for class videoautomat.TEDVideoStock
 
toString() - Method in class videoautomat.LogEntryVideo
 

V

videoautomat - package videoautomat
 
VideoAutomat - class videoautomat.VideoAutomat.
This class is an implementation of a SalesPoint, at which all the user activities take place.
videoautomat.gui - package videoautomat.gui
 
VideoAutomat() - Constructor for class videoautomat.VideoAutomat
The Constructor of VideoAutomat
VideoCassette - class videoautomat.VideoCassette.
This class implements a StockItem, representing a rented video, including the Date when it was rented
VideoCassette(String) - Constructor for class videoautomat.VideoCassette
Constructs a new VideoCassette with the given name and the current time as renting time
VideoShop - class videoautomat.VideoShop.
This is the central class for this application - the Shop.
VideoShop() - Constructor for class videoautomat.VideoShop
Constructs a new VideoShop and set it as Shop#setTheShop().

A C D F G H I L M Q R S T V
Videoautomat