jap.pay
Class PaymentMainPanel.MyPaymentListener

java.lang.Object
  extended by jap.pay.PaymentMainPanel.MyPaymentListener
All Implemented Interfaces:
IPaymentListener, java.util.EventListener
Enclosing class:
PaymentMainPanel

private class PaymentMainPanel.MyPaymentListener
extends java.lang.Object
implements IPaymentListener

Notifies us when the state of the active account changes, so we can update the display

Version:
1.0

Constructor Summary
private PaymentMainPanel.MyPaymentListener()
           
 
Method Summary
 void accountActivated(PayAccount acc)
          accountActivated
 void accountAdded(PayAccount acc)
          accountAdded
 int accountCertRequested(MixCascade a_connectedCascade)
          accountCertRequested
 void accountError(XMLErrorMessage a_msg, boolean a_bIgnore)
          accountError
 void accountRemoved(PayAccount acc)
          accountRemoved
 void creditChanged(PayAccount acc)
          creditChanged
private  java.lang.String formatCascadeName(MixCascade a_cascade)
           
private  java.lang.String formatOrganisation(java.lang.String a_strOrganisation)
           
 void gotCaptcha(ICaptchaSender a_source, IImageEncodedCaptcha a_captcha)
          Captcha retrieved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentMainPanel.MyPaymentListener

private PaymentMainPanel.MyPaymentListener()
Method Detail

accountActivated

public void accountActivated(PayAccount acc)
accountActivated

Specified by:
accountActivated in interface IPaymentListener
Parameters:
acc - PayAccount

accountAdded

public void accountAdded(PayAccount acc)
accountAdded

Specified by:
accountAdded in interface IPaymentListener
Parameters:
acc - PayAccount

accountRemoved

public void accountRemoved(PayAccount acc)
accountRemoved

Specified by:
accountRemoved in interface IPaymentListener
Parameters:
acc - PayAccount

creditChanged

public void creditChanged(PayAccount acc)
creditChanged

Specified by:
creditChanged in interface IPaymentListener
Parameters:
acc - PayAccount

formatCascadeName

private java.lang.String formatCascadeName(MixCascade a_cascade)

formatOrganisation

private java.lang.String formatOrganisation(java.lang.String a_strOrganisation)

accountCertRequested

public int accountCertRequested(MixCascade a_connectedCascade)
accountCertRequested

Specified by:
accountCertRequested in interface IPaymentListener
Parameters:
usingCurrentAccount - boolean

accountError

public void accountError(XMLErrorMessage a_msg,
                         boolean a_bIgnore)
accountError

Specified by:
accountError in interface IPaymentListener
Parameters:
msg - XMLErrorMessage

gotCaptcha

public void gotCaptcha(ICaptchaSender a_source,
                       IImageEncodedCaptcha a_captcha)
Description copied from interface: IPaymentListener
Captcha retrieved

Specified by:
gotCaptcha in interface IPaymentListener