Package de.willuhn.jameica.gui.input

Examples of de.willuhn.jameica.gui.input.TextInput


  public TextInput getGegenKonto() throws RemoteException
  {
    if (gkNummer != null)
      return gkNummer;

    gkNummer = new TextInput(getBuchung().getGegenkontoNummer(),HBCIProperties.HBCI_KTO_MAXLENGTH_SOFT);
    gkNummer.setValidChars(HBCIProperties.HBCI_KTO_VALIDCHARS + " ");
    gkNummer.setMandatory(true);
    gkNummer.setEnabled(!getBuchung().getSammelTransfer().ausgefuehrt());
    gkNummer.addListener(new Listener()
    {
View Full Code Here


   */
  public Input getZweck() throws RemoteException
  {
    if (zweck != null)
      return zweck;
    zweck = new TextInput(getBuchung().getZweck(),HBCIProperties.HBCI_TRANSFER_USAGE_MAXLENGTH);
    zweck.setValidChars(HBCIProperties.HBCI_DTAUS_VALIDCHARS);
    zweck.setMandatory(true);
    zweck.setEnabled(!getBuchung().getSammelTransfer().ausgefuehrt());
    return zweck;
  }
View Full Code Here

    this.list = this.init(this.typ);
   
    Container group = new SimpleContainer(parent,true);
   
    group.addText(i18n.tr("Bitte w�hlen Sie die zu verwendende Kategorie aus."),true);
    TextInput text = this.getSearch();
    group.addInput(text);
    group.addPart(this.getTable());

    ////////////////
    // geht erst nach dem Paint
    if (this.choosen != null)
      this.getTable().select(new FormattedType(this.choosen));
   
   
    text.getControl().addKeyListener(new DelayedAdapter());
   
    ButtonArea buttons = new ButtonArea();
    buttons.addButton(this.getApplyButton());
    buttons.addButton(i18n.tr("K&eine Kategorie"), new Action()
    {
View Full Code Here

  private TextInput getSearch()
  {
    if (this.search != null)
      return this.search;
   
    this.search = new TextInput("");
    this.search.focus();
    this.search.setName(i18n.tr("Suchbegriff"));
    return this.search;
  }
View Full Code Here

  private TextInput getKonto()
  {
    if (this.konto != null)
      return this.konto;
   
    this.konto = new TextInput("",HBCIProperties.HBCI_KTO_MAXLENGTH_SOFT);
    this.konto.setName(i18n.tr("Kontonummer"));
    this.konto.setComment("");
    this.konto.setValidChars(HBCIProperties.HBCI_KTO_VALIDCHARS + " ");
    this.konto.setMandatory(true);
    this.konto.addListener(new Listener()
View Full Code Here

  private TextInput getIban()
  {
    if (this.iban != null)
      return this.iban;
   
    this.iban = new TextInput("");
    this.iban.setName(i18n.tr("IBAN"));
    return this.iban;
  }
View Full Code Here

  private TextInput getBic()
  {
    if (this.bic != null)
      return this.bic;
   
    this.bic = new TextInput("");
    this.bic.setName(i18n.tr("BIC"));
    return this.bic;
  }
View Full Code Here

  {
    if (zweck != null)
      return zweck;
   
    SepaDauerauftrag t = getTransfer();
    zweck = new TextInput(getTransfer().getZweck(),HBCIProperties.HBCI_FOREIGNTRANSFER_USAGE_MAXLENGTH);
    zweck.setValidChars(HBCIProperties.HBCI_SEPA_VALIDCHARS_RELAX);
    zweck.setMandatory(true);
    if (t.isActive())
      zweck.setEnabled(getBPD().getBoolean("usageeditable",true));
    return zweck;
View Full Code Here

      t = new CheckboxInput(value != null && Boolean.valueOf(value).booleanValue());
      t.setName(newName);
    }
    else
    {
      t = new TextInput(konto.getMeta(name,null));
      t.setName(name);
    }
    this.properties.add(t);
  }
View Full Code Here

   * @param text Anzuzeigender Text im Eingabefeld.
   * @param pos Position des Verwendungszwecks.
   */
  private void createLine(Container container, String text, int pos, boolean readonly)
  {
    final TextInput zweck = new TextInput(text,HBCIProperties.HBCI_TRANSFER_USAGE_MAXLENGTH);
    zweck.setEnabled(!readonly);
    zweck.setName(i18n.tr("Verwendungszweck {0}","" + (pos+3)));
    zweck.setValidChars(HBCIProperties.HBCI_DTAUS_VALIDCHARS);

    // Das erste Feld ohne Inhalt kriegt den Fokus
    if (!haveFocus && (text == null || text.length() == 0))
    {
      zweck.focus();
      haveFocus = true;
    }
    container.addInput(zweck);
    this.fields.add(zweck);
  }
View Full Code Here

TOP

Related Classes of de.willuhn.jameica.gui.input.TextInput

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.