Package de.willuhn.jameica.hbci.gui.controller

Examples of de.willuhn.jameica.hbci.gui.controller.AuslandsUeberweisungControl$EmpfaengerListener


  /**
   * @see de.willuhn.jameica.gui.AbstractView#bind()
   */
  public void bind() throws Exception
  {
    final AuslandsUeberweisungControl control = new AuslandsUeberweisungControl(this);
    this.transfer = control.getTransfer();

    GUI.getView().setTitle(i18n.tr("SEPA-�berweisung bearbeiten"));
    GUI.getView().addPanelButton(new PanelButtonPrint(new PrintSupportAuslandsUeberweisung(transfer)));
   
    Container cl = new SimpleContainer(getParent());
    cl.addHeadline(i18n.tr("Konto"));
    cl.addInput(control.getKontoAuswahl());
   
    ColumnLayout cols = new ColumnLayout(getParent(),2);
   
    // Linke Seite
    {
      Container container = new SimpleContainer(cols.getComposite());
      container.addHeadline(i18n.tr("Empf�nger"));
      container.addLabelPair(i18n.tr("Name"),                      control.getEmpfaengerName());
      container.addLabelPair(i18n.tr("IBAN"),                      control.getEmpfaengerKonto());   
      container.addLabelPair(i18n.tr("BIC"),                       control.getEmpfaengerBic());
      container.addCheckbox(control.getStoreEmpfaenger(),i18n.tr("In Adressbuch �bernehmen"));
    }
   
    // Rechte Seite
    {
      Container container = new SimpleContainer(cols.getComposite());
      container.addHeadline(i18n.tr("SEPA"));
      container.addInput(control.getEndToEndId());
      container.addInput(control.getPmtInfId());
      container.addHeadline(i18n.tr("Sonstige Informationen"));
      container.addInput(control.getTyp());
      container.addInput(control.getTermin());

      container.addHeadline(i18n.tr("Auftragswiederholung (nur Hibiscus-intern)"));
      container.addText(i18n.tr("Diese Information wird nicht an die Bank �bertragen."),true);
      container.addInput(control.getReminderInterval());
    }

    Container container = new SimpleContainer(getParent());
    container.addHeadline(i18n.tr("Details"));
    container.addLabelPair(i18n.tr("Verwendungszweck"),          control.getZweck());
    container.addLabelPair(i18n.tr("Betrag"),                   control.getBetrag());

    ButtonArea buttonArea = new ButtonArea();
    buttonArea.addButton(i18n.tr("L�schen"),new DBObjectDelete(),transfer,false,"user-trash-full.png");
    buttonArea.addButton(i18n.tr("Duplizieren..."), new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        if (control.handleStore()) // BUGZILLA 1181
          new Duplicate().handleAction(transfer);
      }
    },null,false,"edit-copy.png");

    Button execute = new Button(i18n.tr("Jetzt ausf�hren..."), new Action() {
      public void handleAction(Object context) throws ApplicationException {
        if (control.handleStore())
          new AuslandsUeberweisungExecute().handleAction(transfer);
      }
    },null,false,"emblem-important.png");
    execute.setEnabled(!transfer.ausgefuehrt());
   
    Button store = new Button(i18n.tr("Speichern"), new Action() {
      public void handleAction(Object context) throws ApplicationException {
        control.handleStore();
      }
    },null,!transfer.ausgefuehrt(),"document-save.png");
    store.setEnabled(!transfer.ausgefuehrt());
   
    buttonArea.addButton(execute);
View Full Code Here


  /**
   * @see de.willuhn.jameica.gui.AbstractView#bind()
   */
  public void bind() throws Exception
  {
    AuslandsUeberweisungControl control = new AuslandsUeberweisungControl(this);
   
    final de.willuhn.jameica.hbci.gui.parts.AuslandsUeberweisungList table = control.getAuslandsUeberweisungListe();
    final PanelButtonPrint print = new PanelButtonPrint(new PrintSupportAuslandsUeberweisungList(table));
    table.addSelectionListener(new Listener() {
      public void handleEvent(Event event)
      {
        print.setEnabled(table.getSelection() != null);
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.hbci.gui.controller.AuslandsUeberweisungControl$EmpfaengerListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.