Package de.willuhn.jameica.gui.parts

Examples of de.willuhn.jameica.gui.parts.TablePart


    {
      String key = (String) e.nextElement();
      entries.add(new Entry(key,wallet.get(key)));
    }
   
    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() {
      public void handleAction(Object context) throws ApplicationException
      {
View Full Code Here


   * @see de.willuhn.jameica.gui.dialogs.AbstractDialog#paint(org.eclipse.swt.widgets.Composite)
   */
  protected void paint(Composite parent) throws Exception
  {
    // Erzeugen der Liste mit den existierenden Elementen
    turnusList = new TablePart(Settings.getDBService().createList(Turnus.class), new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        try
        {
View Full Code Here

    if (s3 == null)
      GUI.getView().setTitle(i18n.tr("Ums�tze: {0} [Kto.-Nr.: {1}]",new String[]{s1,s2}));
    else
      GUI.getView().setTitle(i18n.tr("Ums�tze: {0} [Kto.-Nr.: {1}, Saldo: {2}]",new String[]{s1,s2,s3}));
   
    final TablePart list = control.getUmsatzListe();
    final PanelButtonPrint print = new PanelButtonPrint(new PrintSupportUmsatzList(list));
    list.addSelectionListener(new Listener() {
      public void handleEvent(Event event)
      {
        print.setEnabled(list.getSelection() != null);
      }
    });
   
    GUI.getView().addPanelButton(print);
   
    list.paint(getParent());
    print.setEnabled(list.getSelection() != null); // einmal initial ausloesen
   
    ButtonArea buttons = new ButtonArea();
    buttons.addButton(i18n.tr("Ums�tze importieren..."), new UmsatzImport(),control.getKonto(),false,"document-open.png");

    int flags = control.getKonto().getFlags();
View Full Code Here

    Container container = new SimpleContainer(parent,true);
    container.addText(i18n.tr("Folgende �berweisungen und Lastschriften werden jetzt " +
                              "an die Bank �bertragen. Bitte pr�fen Sie diese nochmals " +
                              "um sicherzustellen, dass Sie keinen Auftrag versehentlich absenden."),true);
   
    TablePart table = new TablePart(this.jobs,null);
    table.addColumn(i18n.tr("Auftr�ge"),"name");
    table.setSummary(false);
    table.setRememberColWidths(true);
    container.addPart(table);
   
    // table.paint(parent);

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

    LabelInput betrag = new LabelInput(HBCI.DECIMALFORMAT.format(st.getSumme()) + " " + st.getKonto().getWaehrung());
    betrag.setColor(Color.ERROR);
    group.addLabelPair(i18n.tr("Summe"),betrag);

    group.addHeadline(i18n.tr("Enthaltene Buchungen"));
    TablePart buchungen = new SepaSammelTransferBuchungList(this.st,null);
    buchungen.setMulti(false);
    buchungen.setSummary(false);
    buchungen.paint(parent);

    super.paint(parent);
 
  }
View Full Code Here

    LabelInput betrag = new LabelInput(HBCI.DECIMALFORMAT.format(st.getSumme()) + " " + st.getKonto().getWaehrung());
    betrag.setColor(Color.ERROR);
    group.addLabelPair(i18n.tr("Summe"),betrag);

    group.addHeadline(i18n.tr("Enthaltene Buchungen"));
    TablePart buchungen = new SammelTransferBuchungList(this.st,null);
    buchungen.setMulti(false);
    buchungen.setSummary(false);
    buchungen.paint(parent);

    super.paint(parent);
 
  }
View Full Code Here

    {
      Entry e = new Entry(tok.nextToken());
      list.add(e);
    }
   
    final TablePart table = new TablePart(list, new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        if (context == null || !(context instanceof Entry))
          return;
        Entry e = (Entry) context;
        selected = e;
        close();
      }
    });
    table.addColumn(i18n.tr("Bank"),"bank");
    table.addColumn(i18n.tr("Benutzerkennung"),"user");
    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;

        Entry e = (Entry) context;
        selected = e;
View Full Code Here

  protected void paint(Composite parent) throws Exception
  {
    LabelGroup group = new LabelGroup(parent,i18n.tr("Konfiguration"));
    group.addText(text == null ? i18n.tr("Bitte w�hlen Sie die zu verwendende Kartenleser-Konfiguration aus") : text,true);
   
    final TablePart table = new TablePart(DDVConfigFactory.getConfigs(), new Action() {
      public void handleAction(Object context) throws ApplicationException
      {
        if (context == null || !(context instanceof DDVConfig))
          return;
        selected = (DDVConfig) context;
        close();
      }
    });
    table.addColumn(i18n.tr("Alias-Name"),"name");
    table.addColumn(i18n.tr("Kartenleser"),"readerPreset");
    table.addColumn(i18n.tr("Index des HBCI-Zugangs"),"entryIndex");
    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
      {
        selected = (DDVConfig) table.getSelection();
        if (selected == null)
          return;
        close();
      }
    },null,true);
View Full Code Here

  private TablePart getTable()
  {
    if (this.table != null)
      return this.table;
   
    this.table = new TablePart(this.list,new Apply());
    this.table.setSummary(false);
    this.table.addColumn(i18n.tr("Bezeichnung"),"name");
    this.table.setFormatter(new TableFormatter()
    {
      /**
 
View Full Code Here

  public TablePart getConfigList() throws RemoteException
  {
    if (this.configList != null)
      return this.configList;

    this.configList = new TablePart(DDVConfigFactory.getConfigs(),new Action()
    {
      public void handleAction(Object context) throws ApplicationException
      {
        GUI.startView(Detail.class,context);
      }
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.gui.parts.TablePart

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.