Videoautomat

videoautomat.gui
Class Global

java.lang.Object
  |
  +--videoautomat.gui.Global

public class Global
extends Object

This class implements graphical-user-interface elements for the whole application, especially for the VideoAutomat


Field Summary
static String CAPTION_AUTOMAT
          The Caption of the VideoAutomat
static int FB_LOGON
          An ID to identify the FormButton log on
static String MS_NEW
          Label for the menusheet that contains self-defined items
static String MSG_ACCESS
          Label for the admin- ActionCapability, if it`s not granted.
static String MSI_AUTOMAT
          Label for the button to start the automat
static String MSI_DAY
          Label for the time setter button
 
Constructor Summary
Global()
           
 
Method Summary
static sale.FormSheet getNoChangeFormSheet()
           
static sale.FormSheet getStartFormSheet(data.CountingStock cs, sale.UIGate uigGate, boolean show_zeros, util.swing.TableEntryDescriptor ted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAPTION_AUTOMAT

public static final String CAPTION_AUTOMAT
The Caption of the VideoAutomat

See Also:
Constant Field Values

MSG_ACCESS

public static final String MSG_ACCESS
Label for the admin- ActionCapability, if it`s not granted.

See Also:
Constant Field Values

MS_NEW

public static final String MS_NEW
Label for the menusheet that contains self-defined items

See Also:
Constant Field Values

MSI_AUTOMAT

public static final String MSI_AUTOMAT
Label for the button to start the automat

See Also:
Constant Field Values

MSI_DAY

public static final String MSI_DAY
Label for the time setter button

See Also:
Constant Field Values

FB_LOGON

public static int FB_LOGON
An ID to identify the FormButton log on

Constructor Detail

Global

public Global()
Method Detail

getStartFormSheet

public static sale.FormSheet getStartFormSheet(data.CountingStock cs,
                                               sale.UIGate uigGate,
                                               boolean show_zeros,
                                               util.swing.TableEntryDescriptor ted)
Parameters:
cs - the containing the offer
uigGate - the UIGate this FormSheet should be diplayed at
show_zeros - if false, lines containing a '0' in the "Count" field will be hidden.
ted - the TableEntryDescriptor used to display the
Returns:
the VideoAutomat.getDefaultFormSheet()which displays the video-offer and the possibility to start a SaleProcessLogOn

getNoChangeFormSheet

public static sale.FormSheet getNoChangeFormSheet()
Returns:
a FormSheet that informs the user that there isn`t the correct amount of money left, to hand back the change.

Videoautomat