videoautomat.gui
Class HandBack
java.lang.Object
|
+--videoautomat.gui.HandBack
- public class HandBack
- extends Object
This class implements graphical-user-interface elements for the SaleProcessHandBack
|
Field Summary |
static int |
FB_CANCEL
An ID to identify the FormButton cancel |
static int |
FB_GIVEBACK
An ID to identify the FormButton give back |
|
Method Summary |
static sale.FormSheet |
getChangeFormSheet(data.ooimpl.MoneyBagImpl mb_money,
sale.UIGate uig,
data.DataBasket db,
String value)
|
static data.stdforms.TwoTableFormSheet |
getRentedVideosFormSheet(data.StoringStock ss_source,
data.StoringStock ss_dest,
data.DataBasket db,
sale.UIGate uig,
Comparator cmp_source,
Comparator cmp_dest,
util.swing.TableEntryDescriptor ted_source,
util.swing.TableEntryDescriptor ted_dest,
data.stdforms.twotableformsheet.SSSSStrategy sssss)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FB_GIVEBACK
public static final int FB_GIVEBACK
- An ID to identify the
FormButton give back
- See Also:
- Constant Field Values
FB_CANCEL
public static final int FB_CANCEL
- An ID to identify the
FormButton cancel
- See Also:
- Constant Field Values
HandBack
public HandBack()
getRentedVideosFormSheet
public static data.stdforms.TwoTableFormSheet getRentedVideosFormSheet(data.StoringStock ss_source,
data.StoringStock ss_dest,
data.DataBasket db,
sale.UIGate uig,
Comparator cmp_source,
Comparator cmp_dest,
util.swing.TableEntryDescriptor ted_source,
util.swing.TableEntryDescriptor ted_dest,
data.stdforms.twotableformsheet.SSSSStrategy sssss)
- Parameters:
ss_source - the source Stock containing the videos of the userss_dest - the destination Stockdb - the DataBasket used for the transactionsuig - the UIGate this FormSheet is displayedcmp_source - the Comparator for the source Stockcmp_dest - the Comparator for the destination Stockted_source - the TableEntryDescriptor for the source Stockted_dest - the TableEntryDescriptor for the destination Stocksssss - the SSSSStrategy to be used
- Returns:
- a
TwoTableFormSheet used to display the already rented videos.
getChangeFormSheet
public static sale.FormSheet getChangeFormSheet(data.ooimpl.MoneyBagImpl mb_money,
sale.UIGate uig,
data.DataBasket db,
String value)
- Parameters:
mb_money - the MoneyBag containing the change that has to be displayeduig - the UIGate this FormSheet is displayeddb - the DataBasket used for the transactionsvalue - the String that will be displayed as the value that the user gets back
- Returns:
- a
FormSheet used to display change the user gets back.