Class UmsatzTypControl


  • public class UmsatzTypControl
    extends de.willuhn.jameica.gui.AbstractControl
    Controller fuer die Umsatz-Kategorien.
    Author:
    willuhn
    • Field Summary

      • Fields inherited from class de.willuhn.jameica.gui.AbstractControl

        view
    • Constructor Summary

      Constructors 
      Constructor Description
      UmsatzTypControl​(de.willuhn.jameica.gui.AbstractView view)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.willuhn.jameica.gui.input.SelectInput getArt()
      Liefert eine Auswahl-Box fuer die Art des Umsatzes.
      de.willuhn.jameica.gui.input.ColorInput getColor()
      Feld zur Auswahl der Farbe.
      de.willuhn.jameica.gui.input.CheckboxInput getCustomColor()
      Liefert eine Checkbox zur Aktivierung von benutzerdefinierten Farben.
      de.willuhn.jameica.gui.input.TextInput getKommentar()
      Erzeugt das Eingabe-Feld fuer den Kommentar.
      de.willuhn.jameica.gui.input.TextInput getName()
      Erzeugt das Eingabe-Feld fuer den Namen.
      de.willuhn.jameica.gui.input.TextInput getNummer()
      Erzeugt das Eingabe-Feld fuer die Nummer.
      UmsatzTypInput getParent()
      Liefert eine Auswahlbox fuer die Eltern-Kategorie.
      de.willuhn.jameica.gui.input.TextInput getPattern()
      Erzeugt das Eingabe-Feld fuer den Such-Pattern.
      de.willuhn.jameica.gui.input.CheckboxInput getRegex()
      Liefert eine Checkbox zur Aktivierung von regulaeren Ausdruecken.
      UmsatzTyp getUmsatzTyp()
      Liefert den aktuellen Umsatz-Typ.
      boolean handleStore()
      Speichert die Einstellungen.
      • Methods inherited from class de.willuhn.jameica.gui.AbstractControl

        getCurrentObject
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UmsatzTypControl

        public UmsatzTypControl​(de.willuhn.jameica.gui.AbstractView view)
        Parameters:
        view -
    • Method Detail

      • getUmsatzTyp

        public UmsatzTyp getUmsatzTyp()
                               throws java.rmi.RemoteException
        Liefert den aktuellen Umsatz-Typ.
        Returns:
        der aktuelle Umsatz-Typ.
        Throws:
        java.rmi.RemoteException
      • getName

        public de.willuhn.jameica.gui.input.TextInput getName()
                                                       throws java.rmi.RemoteException
        Erzeugt das Eingabe-Feld fuer den Namen.
        Returns:
        Eingabe-Feld.
        Throws:
        java.rmi.RemoteException
      • getKommentar

        public de.willuhn.jameica.gui.input.TextInput getKommentar()
                                                            throws java.rmi.RemoteException
        Erzeugt das Eingabe-Feld fuer den Kommentar.
        Returns:
        Eingabe-Feld.
        Throws:
        java.rmi.RemoteException
      • getNummer

        public de.willuhn.jameica.gui.input.TextInput getNummer()
                                                         throws java.rmi.RemoteException
        Erzeugt das Eingabe-Feld fuer die Nummer.
        Returns:
        Eingabe-Feld.
        Throws:
        java.rmi.RemoteException
      • getPattern

        public de.willuhn.jameica.gui.input.TextInput getPattern()
                                                          throws java.rmi.RemoteException
        Erzeugt das Eingabe-Feld fuer den Such-Pattern.
        Returns:
        Eingabe-Feld.
        Throws:
        java.rmi.RemoteException
      • getRegex

        public de.willuhn.jameica.gui.input.CheckboxInput getRegex()
                                                            throws java.rmi.RemoteException
        Liefert eine Checkbox zur Aktivierung von regulaeren Ausdruecken.
        Returns:
        Checkbox.
        Throws:
        java.rmi.RemoteException
      • getCustomColor

        public de.willuhn.jameica.gui.input.CheckboxInput getCustomColor()
                                                                  throws java.rmi.RemoteException
        Liefert eine Checkbox zur Aktivierung von benutzerdefinierten Farben.
        Returns:
        Checkbox.
        Throws:
        java.rmi.RemoteException
      • getColor

        public de.willuhn.jameica.gui.input.ColorInput getColor()
                                                         throws java.rmi.RemoteException
        Feld zur Auswahl der Farbe.
        Returns:
        Auswahlfeld.
        Throws:
        java.rmi.RemoteException
      • getArt

        public de.willuhn.jameica.gui.input.SelectInput getArt()
                                                        throws java.rmi.RemoteException
        Liefert eine Auswahl-Box fuer die Art des Umsatzes.
        Returns:
        Auswahl-Box.
        Throws:
        java.rmi.RemoteException
      • getParent

        public UmsatzTypInput getParent()
                                 throws java.rmi.RemoteException
        Liefert eine Auswahlbox fuer die Eltern-Kategorie.
        Returns:
        Auswahlbox.
        Throws:
        java.rmi.RemoteException
      • handleStore

        public boolean handleStore()
        Speichert die Einstellungen.
        Returns:
        true, wenn das Speichern erfolgreich war.