jap.pay
Class PassivePaymentDetails

java.lang.Object
  extended by gui.dialog.JAPDialog
      extended by jap.pay.PassivePaymentDetails
All Implemented Interfaces:
IDialogOptions, java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.util.EventListener, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class PassivePaymentDetails
extends JAPDialog
implements java.awt.event.ActionListener

Shows detailed info for a passive payment transaction invoked by clicking

Author:
Elmar Schraml

Nested Class Summary
 
Nested classes/interfaces inherited from class gui.dialog.JAPDialog
JAPDialog.AbstractLinkedURLAdapter, JAPDialog.ILinkedInformation, JAPDialog.LinkedCheckBox, JAPDialog.LinkedHelpContext, JAPDialog.LinkedInformation, JAPDialog.LinkedInformationAdapter, JAPDialog.LinkedURLCheckBox, JAPDialog.Options
 
Field Summary
private  java.awt.GridBagConstraints m_c
           
private  javax.swing.JButton m_closeButton
           
private static java.lang.String MSG_ACCOUNTNUMBER
           
private static java.lang.String MSG_AMOUNT
           
private static java.lang.String MSG_CHECKNUMBER
           
private static java.lang.String MSG_CLOSEBUTTON
           
private static java.lang.String MSG_CREDITCARDTYPE
           
private static java.lang.String MSG_CREDITCARDWORD
           
private static java.lang.String MSG_HEADING
           
private static java.lang.String MSG_NOT_SHOWN
           
private static java.lang.String MSG_NUMBER
           
private static java.lang.String MSG_OWNER
           
private static java.lang.String MSG_PAID_BY
           
private static java.lang.String MSG_TITLE
           
private static java.lang.String MSG_TRANSFERNUMBER
           
private static java.lang.String MSG_UNKNOWN_PAYMENT
           
private static java.lang.String MSG_VALID
           
 
Fields inherited from class gui.dialog.JAPDialog
FORMAT_DEFAULT_SCREEN, FORMAT_GOLDEN_RATIO_PHI, FORMAT_WIDE_SCREEN, MSG_BTN_PROCEED, MSG_BTN_RETRY, MSG_ERROR_UNDISPLAYABLE, MSG_ERROR_UNKNOWN, MSG_TITLE_CONFIRMATION, MSG_TITLE_ERROR, MSG_TITLE_INFO, MSG_TITLE_WARNING, XML_ATTR_OPTIMIZED_FORMAT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Fields inherited from interface gui.dialog.IDialogOptions
MESSAGE_TYPE_ERROR, MESSAGE_TYPE_INFORMATION, MESSAGE_TYPE_PLAIN, MESSAGE_TYPE_QUESTION, MESSAGE_TYPE_WARNING, OPTION_TYPE_CANCEL, OPTION_TYPE_DEFAULT, OPTION_TYPE_EMPTY, OPTION_TYPE_OK_CANCEL, OPTION_TYPE_YES_NO, OPTION_TYPE_YES_NO_CANCEL, RETURN_VALUE_CANCEL, RETURN_VALUE_CLOSED, RETURN_VALUE_NO, RETURN_VALUE_OK, RETURN_VALUE_UNINITIALIZED, RETURN_VALUE_YES
 
Constructor Summary
PassivePaymentDetails(JAPDialog a_parent, XMLPassivePayment paymentToShow, long transfernumber, long accountnumber)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
private  void buildDialog(XMLPassivePayment pp, long transfernumber, long accountnumber)
           
private  javax.swing.JPanel buildPaymentDetailsPanel(XMLPassivePayment pp)
           
private  javax.swing.JPanel buildTransactionDetailsPanel(long accountnumber, long transfernumber, long amount)
           
 
Methods inherited from class gui.dialog.JAPDialog
addComponentListener, addWindowListener, dispose, doClosingOnContentPaneCancel, getAccessibleContext, getContentPane, getDefaultCloseOperation, getFont, getGlassPane, getInsets, getJMenuBar, getLayeredPane, getLocation, getName, getOptimizedFormat, getOptimizedFormatDelta, getOptimizedFormatDelta, getOptimizedFormatInternal, getOwner, getParentComponent, getPreferredSize, getRootPane, getScreenBounds, getSize, getTitle, imageUpdate, isClosingOnContentPaneCancel, isConsoleOnly, isDisposed, isEnabled, isModal, isResizable, isVisible, moveToUpRightCorner, pack, postEvent, remove, removeComponentListener, removeWindowListener, requestFocus, resetAutomaticLocation, restoreLocation, restoreSize, retrieveErrorMessage, setAlwaysOnTop, setConsoleOnly, setContentPane, setDefaultCloseOperation, setDockable, setEnabled, setGlassPane, setJMenuBar, setLayeredPane, setLocation, setLocation, setLocationCenteredOn, setLocationCenteredOnOwner, setLocationCenteredOnParent, setLocationCenteredOnScreen, setLocationRelativeToOwner, setModal, setName, setOptimizedFormat, setResizable, setSize, setSize, setTitle, setVisible, setVisible, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showErrorDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialog, showWarningDialog, showWarningDialog, showWarningDialog, showWarningDialog, showWarningDialog, showWarningDialog, showWarningDialog, showWarningDialog, showYesNoDialog, showYesNoDialog, showYesNoDialog, showYesNoDialog, showYesNoDialog, showYesNoDialog, showYesNoDialog, showYesNoDialog, toBack, toFront, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_HEADING

private static final java.lang.String MSG_HEADING

MSG_TITLE

private static final java.lang.String MSG_TITLE

MSG_CLOSEBUTTON

private static final java.lang.String MSG_CLOSEBUTTON

MSG_UNKNOWN_PAYMENT

private static final java.lang.String MSG_UNKNOWN_PAYMENT

MSG_NOT_SHOWN

private static final java.lang.String MSG_NOT_SHOWN

MSG_PAID_BY

private static final java.lang.String MSG_PAID_BY

MSG_CREDITCARDWORD

private static final java.lang.String MSG_CREDITCARDWORD

MSG_CREDITCARDTYPE

private static final java.lang.String MSG_CREDITCARDTYPE

MSG_NUMBER

private static final java.lang.String MSG_NUMBER

MSG_OWNER

private static final java.lang.String MSG_OWNER

MSG_VALID

private static final java.lang.String MSG_VALID

MSG_CHECKNUMBER

private static final java.lang.String MSG_CHECKNUMBER

MSG_AMOUNT

private static final java.lang.String MSG_AMOUNT

MSG_TRANSFERNUMBER

private static final java.lang.String MSG_TRANSFERNUMBER

MSG_ACCOUNTNUMBER

private static final java.lang.String MSG_ACCOUNTNUMBER

m_c

private java.awt.GridBagConstraints m_c

m_closeButton

private javax.swing.JButton m_closeButton
Constructor Detail

PassivePaymentDetails

public PassivePaymentDetails(JAPDialog a_parent,
                             XMLPassivePayment paymentToShow,
                             long transfernumber,
                             long accountnumber)
Method Detail

buildDialog

private void buildDialog(XMLPassivePayment pp,
                         long transfernumber,
                         long accountnumber)

buildTransactionDetailsPanel

private javax.swing.JPanel buildTransactionDetailsPanel(long accountnumber,
                                                        long transfernumber,
                                                        long amount)

buildPaymentDetailsPanel

private javax.swing.JPanel buildPaymentDetailsPanel(XMLPassivePayment pp)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener