de.elisabetheckstaedt.dipl.GUI
Class F_5_KM_Zahl

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended byjavax.swing.JDialog
                      extended byde.elisabetheckstaedt.dipl.GUI.Assistent
                          extended byde.elisabetheckstaedt.dipl.GUI.F_5_KM_Zahl
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class F_5_KM_Zahl
extends Assistent
implements java.awt.event.ActionListener

Fenster zur Festlegung der Anzahl der Kältemaschinen für eine KZ und ggf. Aufteilung der Nennleistungen

Author:
Elisabeth Eckstädt
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Nested classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 int anzahl
           
(package private)  double[] geordneter_lastgang
           
private  javax.swing.JLabel jLabelAnleitung
           
private  javax.swing.JLabel jLabelNennleistung
           
private  javax.swing.JLabel jLabelNennleistung1
           
private  javax.swing.JLabel jLabelProzent
           
private  javax.swing.JLabel jLabelVollberiebsstunden
           
private  javax.swing.JRadioButton jRadioButtonEine
           
private  javax.swing.JRadioButton jRadioButtonEnergieanteil
           
private  javax.swing.JRadioButton jRadioButtonLaufzeitanteil
           
private  javax.swing.JRadioButton jRadioButtonSpitzenlastanteil
           
private  javax.swing.JRadioButton jRadioButtonZwei
           
private  javax.swing.JTextField jTextFieldEnergieanteil
           
private  javax.swing.JTextField jTextFieldLaufzeitanteil
           
 javax.swing.JTextField jTextFieldNennleistung0
           
private  javax.swing.JTextField jTextFieldNennleistung1
           
private  javax.swing.JTextField jTextFieldSpitzenlastanteil
           
private  javax.swing.JTextField jTextFieldVollbetriebsstunden0
           
private  javax.swing.JTextField jTextFieldVollbetriebsstunden1
           
(package private)  double[] kaelteleistung
           
(package private)  int kznummer
           
 double[] maschinenleistungen
           
private static long serialVersionUID
           
 
Fields inherited from class de.elisabetheckstaedt.dipl.GUI.Assistent
jButtonWeiter, jPanelInhalt, konfiguration
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
 
Fields inherited from class java.awt.Window
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
F_5_KM_Zahl(Konfiguration konfiguration, int kznummer, double[] kaelteleistung)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          Abbrechen -> Schliessen(); weiter -> weiter()
private  void aktualisieren()
           
private  double Energieanteil()
           
protected  javax.swing.JPanel getJPanelInhalt()
          This method initializes jPanelInhalt
private  javax.swing.JRadioButton getJRadioButtonEine()
          This method initializes jRadioButtonEine
private  javax.swing.JRadioButton getJRadioButtonEnergieanteil()
          This method initializes jRadioButtonEnergieanteil
private  javax.swing.JRadioButton getJRadioButtonLaufzeitanteil()
          This method initializes jRadioButtonLaufzeitanteil
private  javax.swing.JRadioButton getJRadioButtonSpitzenlastanteil()
          This method initializes jRadioButtonSpitzenlastanteil
private  javax.swing.JRadioButton getJRadioButtonZwei()
          This method initializes jRadioButtonZwei
private  javax.swing.JTextField getJTextFieldEnergieanteil()
          This method initializes jTextFieldEnergieanteil
private  javax.swing.JTextField getJTextFieldLaufzeitanteil()
          This method initializes jTextFieldLaufzeitanteil
private  javax.swing.JTextField getJTextFieldNennleistung0()
          This method initializes jTextFieldNennleistung0
private  javax.swing.JTextField getJTextFieldNennleistung1()
          This method initializes jTextFieldNennleistung1
private  javax.swing.JTextField getJTextFieldSpitzenlastanteil()
          This method initializes jTextFieldSpitzenlastanteil
private  javax.swing.JTextField getJTextFieldVollbetriebsstunden0()
          This method initializes jTextFieldVollbetriebsstunden0
private  javax.swing.JTextField getJTextFieldVollbetriebsstunden1()
          This method initializes jTextFieldVollbetriebsstunden1
private  void initialize()
          This method initializes this
protected  void weiter()
          was soll bei Klick auf Weiterbutton passieren
 
Methods inherited from class de.elisabetheckstaedt.dipl.GUI.Assistent
einlesen, getJButtonWeiter, getJContentPane, Schliessen
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

jRadioButtonEine

private javax.swing.JRadioButton jRadioButtonEine

jRadioButtonZwei

private javax.swing.JRadioButton jRadioButtonZwei

jLabelAnleitung

private javax.swing.JLabel jLabelAnleitung

jRadioButtonSpitzenlastanteil

private javax.swing.JRadioButton jRadioButtonSpitzenlastanteil

jRadioButtonLaufzeitanteil

private javax.swing.JRadioButton jRadioButtonLaufzeitanteil

jRadioButtonEnergieanteil

private javax.swing.JRadioButton jRadioButtonEnergieanteil

jTextFieldSpitzenlastanteil

private javax.swing.JTextField jTextFieldSpitzenlastanteil

jTextFieldLaufzeitanteil

private javax.swing.JTextField jTextFieldLaufzeitanteil

jTextFieldEnergieanteil

private javax.swing.JTextField jTextFieldEnergieanteil

jLabelProzent

private javax.swing.JLabel jLabelProzent

kznummer

int kznummer

anzahl

public int anzahl

geordneter_lastgang

double[] geordneter_lastgang

kaelteleistung

double[] kaelteleistung

maschinenleistungen

public double[] maschinenleistungen

jTextFieldNennleistung0

public javax.swing.JTextField jTextFieldNennleistung0

jLabelNennleistung

private javax.swing.JLabel jLabelNennleistung

jLabelNennleistung1

private javax.swing.JLabel jLabelNennleistung1

jLabelVollberiebsstunden

private javax.swing.JLabel jLabelVollberiebsstunden

jTextFieldVollbetriebsstunden0

private javax.swing.JTextField jTextFieldVollbetriebsstunden0

jTextFieldVollbetriebsstunden1

private javax.swing.JTextField jTextFieldVollbetriebsstunden1

jTextFieldNennleistung1

private javax.swing.JTextField jTextFieldNennleistung1
Constructor Detail

F_5_KM_Zahl

public F_5_KM_Zahl(Konfiguration konfiguration,
                   int kznummer,
                   double[] kaelteleistung)
Method Detail

initialize

private void initialize()
This method initializes this

Returns:
void

weiter

protected void weiter()
Description copied from class: Assistent
was soll bei Klick auf Weiterbutton passieren

Specified by:
weiter in class Assistent

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Description copied from class: Assistent
Abbrechen -> Schliessen(); weiter -> weiter()

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class Assistent
Parameters:
ae -

aktualisieren

private void aktualisieren()

Energieanteil

private double Energieanteil()
Returns:
Nennleistung der Grundlastmaschine

getJPanelInhalt

protected javax.swing.JPanel getJPanelInhalt()
This method initializes jPanelInhalt

Specified by:
getJPanelInhalt in class Assistent
Returns:
javax.swing.JPanel

getJRadioButtonEine

private javax.swing.JRadioButton getJRadioButtonEine()
This method initializes jRadioButtonEine

Returns:
javax.swing.JRadioButton

getJRadioButtonZwei

private javax.swing.JRadioButton getJRadioButtonZwei()
This method initializes jRadioButtonZwei

Returns:
javax.swing.JRadioButton

getJRadioButtonSpitzenlastanteil

private javax.swing.JRadioButton getJRadioButtonSpitzenlastanteil()
This method initializes jRadioButtonSpitzenlastanteil

Returns:
javax.swing.JRadioButton

getJRadioButtonLaufzeitanteil

private javax.swing.JRadioButton getJRadioButtonLaufzeitanteil()
This method initializes jRadioButtonLaufzeitanteil

Returns:
javax.swing.JRadioButton

getJRadioButtonEnergieanteil

private javax.swing.JRadioButton getJRadioButtonEnergieanteil()
This method initializes jRadioButtonEnergieanteil

Returns:
javax.swing.JRadioButton

getJTextFieldSpitzenlastanteil

private javax.swing.JTextField getJTextFieldSpitzenlastanteil()
This method initializes jTextFieldSpitzenlastanteil

Returns:
javax.swing.JTextField

getJTextFieldLaufzeitanteil

private javax.swing.JTextField getJTextFieldLaufzeitanteil()
This method initializes jTextFieldLaufzeitanteil

Returns:
javax.swing.JTextField

getJTextFieldEnergieanteil

private javax.swing.JTextField getJTextFieldEnergieanteil()
This method initializes jTextFieldEnergieanteil

Returns:
javax.swing.JTextField

getJTextFieldNennleistung0

private javax.swing.JTextField getJTextFieldNennleistung0()
This method initializes jTextFieldNennleistung0

Returns:
javax.swing.JTextField

getJTextFieldVollbetriebsstunden0

private javax.swing.JTextField getJTextFieldVollbetriebsstunden0()
This method initializes jTextFieldVollbetriebsstunden0

Returns:
javax.swing.JTextField

getJTextFieldVollbetriebsstunden1

private javax.swing.JTextField getJTextFieldVollbetriebsstunden1()
This method initializes jTextFieldVollbetriebsstunden1

Returns:
javax.swing.JTextField

getJTextFieldNennleistung1

private javax.swing.JTextField getJTextFieldNennleistung1()
This method initializes jTextFieldNennleistung1

Returns:
javax.swing.JTextField