Package de.willuhn.jameica.gui.parts

Examples of de.willuhn.jameica.gui.parts.ButtonArea.addButton()


      final char[] iban = new char[]{'D','E','1','7','8','6','0','5','0','2','0','0','1','2','1','0','3','2','2','5','2','4'};
      final char[] bic  = new char[]{'S','O','L','A','D','E','S','1','G','R','M'};
      final String name = "Olaf Willuhn";
     
      ButtonArea buttons = new ButtonArea();
      buttons.addButton(i18n.tr("Dauerauftrag erstellen"),new Action() {
        public void handleAction(Object context) throws ApplicationException
        {
          try
          {
            SepaDauerauftrag d = (SepaDauerauftrag) Settings.getDBService().createObject(SepaDauerauftrag.class,null);
View Full Code Here


            Logger.error("unable to create sepa-dauerauftrag",e);
            Application.getMessagingFactory().sendMessage(new StatusBarMessage(i18n.tr("Fehler beim Anlegen des SEPA-Dauerauftrages: {0}",e.getMessage()),StatusBarMessage.TYPE_ERROR));
          }
        }
      },null,false,"emblem-special.png");
      buttons.addButton(i18n.tr("...oder �berweisung"),new Action() {
        public void handleAction(Object context) throws ApplicationException
        {
          try
          {
            AuslandsUeberweisung u = (AuslandsUeberweisung) Settings.getDBService().createObject(AuslandsUeberweisung.class,null);
View Full Code Here

    container.addHeadline(i18n.tr("Datenbank-Einstellungen"));
    TextAreaInput text = new TextAreaInput(sb.toString());
    container.addPart(text);

    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("Schlie�en"),new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        close();
      }
    },null,true,"window-close.png");
View Full Code Here

   
    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
      {
        new DBObjectDelete().handleAction(context);
        try
        {
View Full Code Here

        control.handleStore();
      }
    },null,!transfer.ausgefuehrt(),"document-save.png");
    store.setEnabled(!transfer.ausgefuehrt());
   
    buttons.addButton(store);
   
    buttons.paint(getParent());

    new Headline(getParent(),i18n.tr("Enthaltene Buchungen"));
    control.getBuchungen().paint(getParent());
View Full Code Here

    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);
View Full Code Here

    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);
      }
View Full Code Here

        control.handleStore();
      }
    },null,!transfer.ausgefuehrt(),"document-save.png");
    store.setEnabled(!transfer.ausgefuehrt());
   
    buttonArea.addButton(execute);
    buttonArea.addButton(store);
   
    buttonArea.paint(getParent());
   
    Application.getMessagingFactory().registerMessageConsumer(this.mc);
View Full Code Here

      }
    },null,!transfer.ausgefuehrt(),"document-save.png");
    store.setEnabled(!transfer.ausgefuehrt());
   
    buttonArea.addButton(execute);
    buttonArea.addButton(store);
   
    buttonArea.paint(getParent());
   
    Application.getMessagingFactory().registerMessageConsumer(this.mc);
  }
View Full Code Here

    table.setMulti(false);
    table.setSummary(false);
    table.paint(parent);
   
    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("�bernehmen"), new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        Object o = table.getSelection();
        if (o == null || !(o instanceof Entry))
          return;
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.