Class AbstractGUIApplication

java.lang.Object
de.bsvrz.sys.funclib.application.AbstractGUIApplication
All Implemented Interfaces:
GUIApplication, StandardApplication

public abstract class AbstractGUIApplication
extends java.lang.Object
implements GUIApplication
Diese abstrakte Klasse ist eine Beispielimplementierung des Interfaces GUIApplication. Durch Aufruf der Methode connect(de.bsvrz.dav.daf.main.ClientDavParameters) wird ein Login-Dialog dargestellt, wo die TCP/IP-Adresse zum Datenverteiler, Benutzername und Passwort eingegeben werden müssen. Die letzten 20 erfolgreichen Login-Versuche werden lokal auf dem Rechner gespeichert.
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractGUIApplication()  
  • Method Summary

    Modifier and Type Method Description
    de.bsvrz.dav.daf.main.ClientDavInterface connect​(de.bsvrz.dav.daf.main.ClientDavParameters parameters)
    Die Implementierung dieser Methode soll eine Verbindung zum Datenverteiler herstellen und nach erfolgreicher Anmeldung (Login) zurückgeben.
    protected abstract java.lang.String getApplicationName()
    Wird von der Anwendung implementiert und liefert den Namen der Applikation.
    de.bsvrz.dav.daf.main.ClientDavInterface getConnection()  
    boolean isDavConnected()  
    void setConnection​(de.bsvrz.dav.daf.main.ClientDavInterface connection)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.bsvrz.sys.funclib.application.GUIApplication

    getMainClass

    Methods inherited from interface de.bsvrz.sys.funclib.application.StandardApplication

    initialize, parseArguments
  • Constructor Details

    • AbstractGUIApplication

      public AbstractGUIApplication()
  • Method Details

    • connect

      public de.bsvrz.dav.daf.main.ClientDavInterface connect​(de.bsvrz.dav.daf.main.ClientDavParameters parameters)
      Description copied from interface: GUIApplication
      Die Implementierung dieser Methode soll eine Verbindung zum Datenverteiler herstellen und nach erfolgreicher Anmeldung (Login) zurückgeben.
      Specified by:
      connect in interface GUIApplication
      Parameters:
      parameters - Parameter für die Datenverteiler-Applikationsfunktionen. Wird für den Verbindungsaufbau benötigt.
      Returns:
      eine Verbindung zum Datenverteiler
    • getApplicationName

      protected abstract java.lang.String getApplicationName()
      Wird von der Anwendung implementiert und liefert den Namen der Applikation.
      Returns:
      Name der Applikation
    • isDavConnected

      public boolean isDavConnected()
    • getConnection

      public de.bsvrz.dav.daf.main.ClientDavInterface getConnection()
    • setConnection

      public void setConnection​(de.bsvrz.dav.daf.main.ClientDavInterface connection)