de.bsvrz.kex.bwsin.vew
Class BWSINgui

java.lang.Object
  extended by de.bsvrz.kex.bwsin.vew.BWSIN
      extended by de.bsvrz.kex.bwsin.vew.BWSINgui
All Implemented Interfaces:
de.bsvrz.sys.funclib.application.StandardApplication, ActionListener, EventListener, DocumentListener

public class BWSINgui
extends BWSIN
implements ActionListener, DocumentListener

Statischer Import Netz mit grafischem Benutzerinterface.

Version:
$Id: BWSINgui.java 10429 2008-07-10 12:09:58Z gieseler $
Author:
BitCtrl Systems GmbH, Gieseler

Nested Class Summary
(package private)  class BWSINgui.SINWorker
          Hauptklasse SWE2.BW-SIN mit GUI.
 
Field Summary
(package private)  JFrame frame
          Frame.
private  GridBagLayout gridbaglayout
          Layout.
private  JButton importButton
          Start-Button Import.
private  JTextArea kbInfoTextFeld
          Textfeld 'Info Konfigurationsbereich'.
private  JTextField kbNameTextFeld
          Textfeld 'Name Konfigurationsbereich'.
private  JButton kbPfadButton
          Auswahlbutton 'Pfad Konfigurationsbereich'.
private  JTextField kbPfadTextFeld
          Textfeld 'Pfad Konfigurationsbereich'.
private  JTextField kbPidTextFeld
          Textfeld 'Konfigurationsbereich PID'.
private  JLabel kopfZeile
          Kopfzeile.
private  JTextField kvTextFeld
          Textfeld 'Konfigurationsverantwortlicher'.
private  JButton lclButton
          Auswahlbutton Location-Code-Liste.
private  JTextField lclTextFeld
          Textfeld 'Location-Code-Liste'.
private  LogFenster logFenster
          Das Fenster für die Log-Ausgaben während des Importes.
private  JComboBox mitAbweichungenBox
          Auswahlbox 'mit Abweichungen'.
private  JButton okstraParamButton
          Auswahlbutton Location-Code-Liste.
private  JTextField okstraParamTextFeld
          Textfeld 'Okstra-Parameter'.
private  JButton protokollButton
          Auswahlbutton Abweichungsprotokoll.
private  JTextField protokollTextFeld
          Textfeld 'Abweichungsprotokoll'.
private  JButton referenzenButton
          Auswahlbutton Netzreferenzen.
private  JTextField referenzenTextFeld
          Textfeld 'Netzreferenzen'.
private static long serialVersionUID
          serialVersionUID.
private  BWSINgui.SINWorker workerThread
          Worker-Thread.
 
Fields inherited from class de.bsvrz.kex.bwsin.vew.BWSIN
dav
 
Constructor Summary
BWSINgui()
          Konstruktor.
 
Method Summary
 void actionPerformed(ActionEvent e)
          
private static void addComponent(Container cont, GridBagLayout gbl, Component c, int x, int y, int width, int height, double weightx, double weighty, int fill)
          Fügt eine Komponente hinzu.
 void changedUpdate(DocumentEvent arg0)
          
private  void createLog()
          Erzeugt das Ausgabefenster für die LOG-Ausgaben.
(package private)  void enableComponent(Container cont, boolean enable)
          Gibt eine Komponente frei.
 void insertUpdate(DocumentEvent arg0)
          
 void removeUpdate(DocumentEvent arg0)
          
 void startImport()
          Führt die Importoperation aus.
 void stopWorker()
          Beendet den Worker.
 
Methods inherited from class de.bsvrz.kex.bwsin.vew.BWSIN
checkParameter, importieren, initialize, initOkstra, main, parseArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
serialVersionUID.

See Also:
Constant Field Values

workerThread

private BWSINgui.SINWorker workerThread
Worker-Thread.


gridbaglayout

private GridBagLayout gridbaglayout
Layout.


importButton

private JButton importButton
Start-Button Import.


kopfZeile

private JLabel kopfZeile
Kopfzeile.


kbPfadTextFeld

private JTextField kbPfadTextFeld
Textfeld 'Pfad Konfigurationsbereich'.


kbPfadButton

private JButton kbPfadButton
Auswahlbutton 'Pfad Konfigurationsbereich'.


okstraParamTextFeld

private JTextField okstraParamTextFeld
Textfeld 'Okstra-Parameter'.


okstraParamButton

private JButton okstraParamButton
Auswahlbutton Location-Code-Liste.


kvTextFeld

private JTextField kvTextFeld
Textfeld 'Konfigurationsverantwortlicher'.


kbPidTextFeld

private JTextField kbPidTextFeld
Textfeld 'Konfigurationsbereich PID'.


kbNameTextFeld

private JTextField kbNameTextFeld
Textfeld 'Name Konfigurationsbereich'.


kbInfoTextFeld

private JTextArea kbInfoTextFeld
Textfeld 'Info Konfigurationsbereich'.


lclTextFeld

private JTextField lclTextFeld
Textfeld 'Location-Code-Liste'.


lclButton

private JButton lclButton
Auswahlbutton Location-Code-Liste.


protokollTextFeld

private JTextField protokollTextFeld
Textfeld 'Abweichungsprotokoll'.


protokollButton

private JButton protokollButton
Auswahlbutton Abweichungsprotokoll.


referenzenTextFeld

private JTextField referenzenTextFeld
Textfeld 'Netzreferenzen'.


referenzenButton

private JButton referenzenButton
Auswahlbutton Netzreferenzen.


mitAbweichungenBox

private JComboBox mitAbweichungenBox
Auswahlbox 'mit Abweichungen'.


frame

JFrame frame
Frame.


logFenster

private LogFenster logFenster
Das Fenster für die Log-Ausgaben während des Importes.

Constructor Detail

BWSINgui

public BWSINgui()
Konstruktor.

Method Detail

addComponent

private static void addComponent(Container cont,
                                 GridBagLayout gbl,
                                 Component c,
                                 int x,
                                 int y,
                                 int width,
                                 int height,
                                 double weightx,
                                 double weighty,
                                 int fill)
Fügt eine Komponente hinzu.

Parameters:
cont - Container
gbl - Gridbaglayout
c - Komponente
x - X-Koordinate
y - Y-Koordinate
width - Breie
height - Höhe
weightx - horizontale Verteilung
weighty - vertikale Verteilung
fill - Füllung

actionPerformed

public void actionPerformed(ActionEvent e)

Specified by:
actionPerformed in interface ActionListener
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)

changedUpdate

public void changedUpdate(DocumentEvent arg0)

Specified by:
changedUpdate in interface DocumentListener
See Also:
DocumentListener.changedUpdate(javax.swing.event.DocumentEvent)

createLog

private void createLog()
Erzeugt das Ausgabefenster für die LOG-Ausgaben.


enableComponent

void enableComponent(Container cont,
                     boolean enable)
Gibt eine Komponente frei.

Parameters:
cont - Komponente
enable - Freigabe ja/nein

insertUpdate

public void insertUpdate(DocumentEvent arg0)

Specified by:
insertUpdate in interface DocumentListener
See Also:
DocumentListener.insertUpdate(javax.swing.event.DocumentEvent)

removeUpdate

public void removeUpdate(DocumentEvent arg0)

Specified by:
removeUpdate in interface DocumentListener
See Also:
DocumentListener.removeUpdate(javax.swing.event.DocumentEvent)

startImport

public void startImport()
Führt die Importoperation aus.

Overrides:
startImport in class BWSIN
See Also:
BWSIN.startImport()

stopWorker

public void stopWorker()
Beendet den Worker.