Examples of SimpleContainer


Examples of de.willuhn.jameica.gui.util.SimpleContainer

    final SepaDauerauftrag da = control.getTransfer();

    GUI.getView().setTitle(i18n.tr("SEPA-Dauerauftrag bearbeiten"));
    GUI.getView().addPanelButton(new PanelButtonPrint(new PrintSupportSepaDauerauftrag(da)));

    Container konten = new SimpleContainer(getParent());
    konten.addHeadline(i18n.tr("Konten"));
    konten.addLabelPair(i18n.tr("Pers�nliches Konto"),        control.getKontoAuswahl());

    ColumnLayout columns = new ColumnLayout(getParent(),2);

    {
      // Links
      Container left = new SimpleContainer(columns.getComposite());
      left.addHeadline(i18n.tr("Empf�nger"));
      left.addLabelPair(i18n.tr("Name"),                      control.getEmpfaengerName());
      left.addLabelPair(i18n.tr("IBAN"),                      control.getEmpfaengerKonto());   
      left.addLabelPair(i18n.tr("BIC"),                       control.getEmpfaengerBic());
      left.addCheckbox(control.getStoreEmpfaenger(),i18n.tr("In Adressbuch �bernehmen"));
    }
    {
      // Rechts
      Container right = new SimpleContainer(columns.getComposite());
      right.addHeadline(i18n.tr("Turnus"));
      right.addLabelPair(i18n.tr("Zahlungsturnus"),           control.getTurnus());
      right.addLabelPair(i18n.tr("Erste Zahlung"),            control.getErsteZahlung());
      right.addLabelPair(i18n.tr("Letzte Zahlung"),           control.getLetzteZahlung());
    }
   
    Container details = new SimpleContainer(getParent());
    details.addHeadline(i18n.tr("Details"));
    details.addLabelPair(i18n.tr("Verwendungszweck"),          control.getZweck());
    details.addLabelPair(i18n.tr("Betrag"),                    control.getBetrag());
    details.addSeparator();
    details.addLabelPair(i18n.tr("Auftragsnummer"),            control.getOrderID());
   
    ButtonArea buttonArea = new ButtonArea();
    String s = i18n.tr("Jetzt ausf�hren...");
    if (da.isActive())
      s = i18n.tr("Jetzt aktualisieren...");
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

  public void bind() throws Exception
  {
    GUI.getView().setTitle(i18n.tr("Bank-Zug�nge"));
    final PassportControl control = new PassportControl(this);

    Container c = new SimpleContainer(getParent());
    c.addText(i18n.tr("Klicken Sie auf \"Neuer Bank-Zugang...\", um eine neue PIN/TAN- oder " +
                      "Kartenleser-Konfiguration anzulegen oder eine Schl�sseldatei zu erstellen bzw. zu importieren."),true);

    final PassportTree tree = control.getPassports();

    ButtonArea buttons = new ButtonArea();
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

    this.transfer = (Ueberweisung) control.getTransfer();

    GUI.getView().setTitle(i18n.tr("�berweisung bearbeiten"));
    GUI.getView().addPanelButton(new PanelButtonPrint(new PrintSupportUeberweisung(transfer)));

    Container c1 = new SimpleContainer(getParent());
    c1.addHeadline(i18n.tr("Konto"));
    c1.addInput(control.getKontoAuswahl());

    ColumnLayout cols = new ColumnLayout(getParent(),2);
   
    // Linke Seite
    {
      Container container = new SimpleContainer(cols.getComposite());
      container.addHeadline(i18n.tr("Empf�nger"));
      container.addInput(control.getEmpfaengerName());
      container.addInput(control.getEmpfaengerKonto());   
      container.addInput(control.getEmpfaengerBlz());   
      container.addCheckbox(control.getStoreEmpfaenger(),i18n.tr("In Adressbuch �bernehmen"));
    }
   
    // Rechte Seite
    {
      Container container = new SimpleContainer(cols.getComposite());
      container.addHeadline(i18n.tr("Sonstige Informationen"));
      container.addInput(control.getTextSchluessel());
      container.addInput(control.getTermin());
      container.addInput(control.getReminderInterval());
    }

    Container container = new SimpleContainer(getParent());
    container.addHeadline(i18n.tr("Details"));
    container.addInput(control.getZweck());
    container.addInput(control.getZweck2());
    container.addInput(control.getBetrag());
    container.addInput(control.getTyp());

    ButtonArea buttonArea = new ButtonArea();
    buttonArea.addButton(i18n.tr("L�schen"),new DBObjectDelete(),transfer,false,"user-trash-full.png");
    Button store = new Button(i18n.tr("Speichern"), new Action() {
      public void handleAction(Object context) throws ApplicationException {
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

    this.transfer = control.getTransfer();

    GUI.getView().setTitle(i18n.tr("Sammel-�berweisung bearbeiten"));
    GUI.getView().addPanelButton(new PanelButtonPrint(new PrintSupportSammelUeberweisung(transfer)));
   
    Container group = new SimpleContainer(getParent());
    group.addHeadline(i18n.tr("Eigenschaften"));
    group.addLabelPair(i18n.tr("Zu belastendes Konto"),control.getKontoAuswahl());
    group.addLabelPair(i18n.tr("Bezeichnung"),control.getName());
    group.addInput(control.getTermin());
    group.addInput(control.getReminderInterval());
   
    group.addSeparator();
    group.addLabelPair(i18n.tr("Summe der Buchungen"),control.getSumme());

    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("Sammelauftrag l�schen"),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

    ColumnLayout cols = new ColumnLayout(getParent(),2);
   
    // Linke Seite
    {
      Container container = new SimpleContainer(cols.getComposite());
      container.addHeadline(i18n.tr("Zahlungspflichtiger"));
      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("Mandat"));
      container.addInput(control.getCreditorId());
      container.addInput(control.getMandateId());
      container.addInput(control.getSignatureDate());
      container.addHeadline(i18n.tr("SEPA"));
      container.addInput(control.getEndToEndId());
    }

    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();
    Button delete = new Button(i18n.tr("L�schen"), new DBObjectDelete(),control.getBuchung(),false,"user-trash-full.png");
    delete.setEnabled(!l.ausgefuehrt());
    buttonArea.addButton(delete);
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

        close();
      }
    };   


    Container c1 = new SimpleContainer(parent,true,1);
    final EmpfaengerList empf = new EmpfaengerList(a,this.filter);
    empf.setContextMenu(null);
    empf.setMulti(false);
    empf.setSummary(false);
   
    final Button apply = new Button(i18n.tr("�bernehmen"), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        Object o = empf.getSelection();
        if (o == null || !(o instanceof Address))
          return;

        choosen = (Address) o;
        close();
      }
    },null,true,"ok.png");
    apply.setEnabled(false);
    empf.addSelectionListener(new Listener() {
      public void handleEvent(Event event)
      {
        apply.setEnabled(empf.getSelection() != null);
      }
    });
   
    empf.paint(c1.getComposite());

    ButtonArea b = new ButtonArea();
    b.addButton(apply);
    b.addButton(i18n.tr("Abbrechen"), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException();
      }
    },null,false,"process-stop.png");
   
    Container c2 = new SimpleContainer(parent);
    c2.addButtonArea(b);
  }
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

    this.transfer = control.getTransfer();

    GUI.getView().setTitle(i18n.tr("SEPA-Sammellastschrift bearbeiten"));
    GUI.getView().addPanelButton(new PanelButtonPrint(new PrintSupportSepaSammelLastschrift(transfer)));
   
    Container group = new SimpleContainer(getParent());
    group.addHeadline(i18n.tr("Eigenschaften"));
    group.addLabelPair(i18n.tr("Gutschriftskonto"),control.getKontoAuswahl());
    group.addLabelPair(i18n.tr("Bezeichnung"),control.getName());

    ColumnLayout cols = new ColumnLayout(getParent(),2);

    // Linke Seite
    {
      Container container = new SimpleContainer(cols.getComposite());
      container.addHeadline(i18n.tr("SEPA"));
      container.addText(i18n.tr("Bitte beachten Sie die Vorlauffristen."),true);
      container.addInput(control.getType());
      container.addInput(control.getSequenceType());
      container.addInput(control.getTargetDate());
      container.addInput(control.getBatchBook());
      container.addInput(control.getPmtInfId());
    }
   
    // Rechte Seite
    {
      Container container = new SimpleContainer(cols.getComposite());
      container.addHeadline(i18n.tr("Sonstige Informationen (nur Hibiscus-intern)"));
      container.addText(i18n.tr("Diese Daten werden nicht an die Bank �bertragen."),true);
      container.addInput(control.getTermin());
      container.addInput(control.getReminderInterval());
    }

    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("Sammelauftrag l�schen"),new Action() {
      public void handleAction(Object context) throws ApplicationException
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

  /**
   * @see de.willuhn.jameica.gui.dialogs.AbstractDialog#paint(org.eclipse.swt.widgets.Composite)
   */
  protected void paint(Composite parent) throws Exception
  {
    Container group = new SimpleContainer(parent);
    group.addText(i18n.tr("Bitte w�hlen Sie die zu verwendende HBCI-Version"),true);
   
    final HBCIVersionInput input = new HBCIVersionInput();
    group.addInput(input);
   
    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("�bernehmen"), new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        version = (String) input.getValue();
        close();
      }
    },null,true,"ok.png");
    buttons.addButton(i18n.tr("Abbrechen"), new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        throw new OperationCanceledException("cancelled while choosing hbci version");
      }
   
    },null,false,"process-stop.png");
    group.addButtonArea(buttons);
  }
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

  /**
   * @see de.willuhn.jameica.gui.dialogs.AbstractDialog#paint(org.eclipse.swt.widgets.Composite)
   */
  protected void paint(Composite parent) throws Exception
  {
    Container group = new SimpleContainer(parent);
    group.addHeadline(i18n.tr("Details der Lastschrift"));
     
    Input kto = new LabelInput(ueb.getKonto().getKontonummer());
    kto.setComment(ueb.getKonto().getBezeichnung());
    group.addLabelPair(i18n.tr("Eigenes Konto (Empf�nger)"),kto);

    Input empfName = new LabelInput(ueb.getGegenkontoName());
    group.addLabelPair(i18n.tr("Names des Zahlungspflichtigen"),empfName);

    Input empfKto = new LabelInput(ueb.getGegenkontoNummer());
    empfKto.setComment(ueb.getGegenkontoBLZ() + "/" + HBCIProperties.getNameForBank(ueb.getGegenkontoBLZ()));
    group.addLabelPair(i18n.tr("Zu belastendes Konto"),empfKto);

    LabelInput betrag = new LabelInput(HBCI.DECIMALFORMAT.format(ueb.getBetrag()) + " " + ueb.getKonto().getWaehrung());
    betrag.setColor(Color.ERROR);
    group.addLabelPair(i18n.tr("Betrag"),betrag);

    group.addHeadline(i18n.tr("Verwendungszweck"));
    group.addText(VerwendungszweckUtil.toString(ueb,"\n"),false);
   
    super.paint(parent);
    getShell().setMinimumSize(getShell().computeSize(SWT.DEFAULT,SWT.DEFAULT));
  }
View Full Code Here

Examples of de.willuhn.jameica.gui.util.SimpleContainer

    TablePart table = new TablePart(entries,null);
    table.addColumn(i18n.tr("Name"),"name");
    table.addColumn(i18n.tr("Wert"),"value");
    table.setSummary(false);

    Container container = new SimpleContainer(parent);
    container.addText(i18n.tr("Inhalt der Wallet-Datei"),true);
   
    table.paint(parent);

    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("Schlie�en"),new Action() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.