Class UmsatzTypListDialog


  • public class UmsatzTypListDialog
    extends de.willuhn.jameica.gui.dialogs.AbstractDialog
    Fertig konfigurierter Dialog zur Auswahl einer Umsatz-Kategorie. Jedoch nicht anhand einer Selectbox sondern als Tabelle mit Suchfeld. Das laesst sich besser mit der Tastatur bedienen.
    • Field Summary

      • Fields inherited from class de.willuhn.jameica.gui.dialogs.AbstractDialog

        MONITOR_CURRENT, MONITOR_PRIMARY, POSITION_CENTER, POSITION_MOUSE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object getData()  
      protected void paint​(org.eclipse.swt.widgets.Composite parent)  
      • Methods inherited from class de.willuhn.jameica.gui.dialogs.AbstractDialog

        addCloseListener, addShellListener, close, createShell, getDisplay, getShell, isModeless, onEscape, open, setMonitor, setPanelText, setSideImage, setSize, setTitle
      • Methods inherited from class java.lang.Object

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

      • UmsatzTypListDialog

        public UmsatzTypListDialog​(int position,
                                   UmsatzTyp preselected,
                                   int typ)
                            throws java.rmi.RemoteException
        ct.
        Parameters:
        position -
        preselected - der vorausgewaehlte Umsatztyp.
        typ - Filter auf Kategorie-Typen. Kategorien vom Typ "egal" werden grundsaetzlich angezeigt.
        Throws:
        java.rmi.RemoteException
        See Also:
        UmsatzTyp.TYP_AUSGABE, UmsatzTyp.TYP_EINNAHME
    • Method Detail

      • getData

        protected java.lang.Object getData()
                                    throws java.lang.Exception
        Specified by:
        getData in class de.willuhn.jameica.gui.dialogs.AbstractDialog
        Throws:
        java.lang.Exception
        See Also:
        AbstractDialog.getData()
      • paint

        protected void paint​(org.eclipse.swt.widgets.Composite parent)
                      throws java.lang.Exception
        Specified by:
        paint in class de.willuhn.jameica.gui.dialogs.AbstractDialog
        Throws:
        java.lang.Exception
        See Also:
        AbstractDialog.paint(org.eclipse.swt.widgets.Composite)