ak.dlg
Class AppDlg

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--javax.swing.JFrame
                                |
                                +--ak.dlg.AppDlg

public class AppDlg
extends javax.swing.JFrame

This Frame is generic Test-client GUI. Contains GUI-Components(Swing only)

Version:
1.1 Copyright(c)Alexej Kupin
Author:
Alexej Kupin (05.05.2000)
See Also:
Serialized Form

Inner classes inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AWTTreeLock
 
Field Summary
(package private)  boolean bDisableAction
           
(package private)  javax.swing.JButton BT_ADD
           
(package private)  javax.swing.JButton BT_EXIT
           
(package private)  javax.swing.JButton BT_HELP
           
(package private)  javax.swing.JButton BT_OK
           
(package private)  javax.swing.JButton BT_SAVE
           
(package private)  javax.swing.JFileChooser DLG_SAVE
           
(package private)  javax.swing.JLabel FX_ACTION
           
(package private)  javax.swing.JLabel FX_MODUL
           
(package private)  javax.swing.JLabel FX_PARAM
           
(package private)  javax.swing.JLabel FX_TEXT
           
(package private)  javax.swing.JPanel jPanel1
           
(package private)  javax.swing.JPanel jPanel2
           
(package private)  javax.swing.JScrollPane jScrollPane1
           
(package private)  javax.swing.JComboBox LIST_ACTION
           
(package private)  javax.swing.JComboBox LIST_MODUL
           
(package private)  javax.swing.JComboBox LIST_PARAM
           
(package private)  ObjDlg obj
           
(package private)  javax.swing.JTextArea TEXT_OUT
           
(package private)  javax.swing.JTextField TXT_PARAM
           
(package private)  XYLayout xYLayout1
           
(package private)  XYLayout xYLayout2
           
(package private)  XYLayout xYLayout4
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
base, CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, frameSerializedDataVersion, HAND_CURSOR, icon, ICONIFIED, mbManagement, menuBar, MOVE_CURSOR, N_RESIZE_CURSOR, nameCounter, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, ownedWindows, resizable, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, serialVersionUID, state, SW_RESIZE_CURSOR, TEXT_CURSOR, title, W_RESIZE_CURSOR, WAIT_CURSOR, weakThis
 
Fields inherited from class java.awt.Window
active, base, focusMgr, inputContext, nameCounter, OPENED, ownedWindowList, serialVersionUID, state, warningString, weakThis, windowListener, windowSerializedDataVersion
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, maxSize, ncomponents, serialVersionUID
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, assert, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, hasFocus, height, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, serialVersionUID, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowListenerK, x, y
 
Constructor Summary
AppDlg()
          Frame-Constructor:
 
Method Summary
 void DoAdd()
          Set(Parameter)-Button Action Handler:
 void DoHelp()
          Help-Button Action Handler: Shows the help-information from the Help-file(help.txt)
 void DoSave()
          Save-Button Action Handler:
 void DoSelect(int id)
          Select Action Handler: Parameter id (= id of the List Box)
 void DoStart()
          Start-Button Action Handler:
 java.lang.String getParam()
          Builds qualified parameter string:
protected  void jbInit()
          Object initialization
protected  void processWindowEvent(java.awt.event.WindowEvent e)
          Overridden so we can exit on System Close
 void Read()
          Read from the object
protected  void ReadActionList(java.lang.String sModul)
          Reads the Action list from the ini-file
protected  void ReadList()
          Reads the all lists from the ini-file
protected  void ReadListData(javax.swing.JComboBox list, java.util.Vector vData)
          Reads the data from Vector to ComboBox
protected  void ReadParamList(java.lang.String sModul, java.lang.String sAction)
          Reads the parameters-list from the ini-file
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, createRootPaneException, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
, addNotify, addToFrameList, constructComponentName, finalize, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, initIDs, isResizable, postProcessKeyEvent, readObject, remove, removeFromFrameList, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle, writeObject
 
Methods inherited from class java.awt.Window
addOwnedWindow, addWindowListener, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, dispose, eventEnabled, getFocusOwner, getInputContext, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postWindowEvent, preProcessKeyEvent, processEvent, removeOwnedWindow, removeWindowListener, setFocusOwner, setWarningString, show, toBack, toFront, transferFocus
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyOrientation, countComponents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPrint, list, list, locate, minimumSize, paint, paintComponents, postsOldMouseEvents, preferredSize, print, printComponents, printOneComponent, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, remove, removeAll, removeContainerListener, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, 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, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

obj

ObjDlg obj

bDisableAction

boolean bDisableAction

xYLayout1

XYLayout xYLayout1

DLG_SAVE

javax.swing.JFileChooser DLG_SAVE

BT_OK

javax.swing.JButton BT_OK

BT_EXIT

javax.swing.JButton BT_EXIT

BT_HELP

javax.swing.JButton BT_HELP

BT_SAVE

javax.swing.JButton BT_SAVE

jPanel1

javax.swing.JPanel jPanel1

xYLayout2

XYLayout xYLayout2

TXT_PARAM

javax.swing.JTextField TXT_PARAM

LIST_MODUL

javax.swing.JComboBox LIST_MODUL

LIST_ACTION

javax.swing.JComboBox LIST_ACTION

LIST_PARAM

javax.swing.JComboBox LIST_PARAM

FX_MODUL

javax.swing.JLabel FX_MODUL

FX_ACTION

javax.swing.JLabel FX_ACTION

FX_PARAM

javax.swing.JLabel FX_PARAM

FX_TEXT

javax.swing.JLabel FX_TEXT

jPanel2

javax.swing.JPanel jPanel2

jScrollPane1

javax.swing.JScrollPane jScrollPane1

TEXT_OUT

javax.swing.JTextArea TEXT_OUT

xYLayout4

XYLayout xYLayout4

BT_ADD

javax.swing.JButton BT_ADD
Constructor Detail

AppDlg

public AppDlg()
Frame-Constructor:
Method Detail

jbInit

protected void jbInit()
               throws java.lang.Exception
Object initialization

Read

public void Read()
Read from the object

ReadListData

protected void ReadListData(javax.swing.JComboBox list,
                            java.util.Vector vData)
Reads the data from Vector to ComboBox

DoSelect

public void DoSelect(int id)
Select Action Handler: Parameter id (= id of the List Box)

DoStart

public void DoStart()
Start-Button Action Handler:

DoAdd

public void DoAdd()
Set(Parameter)-Button Action Handler:

DoHelp

public void DoHelp()
Help-Button Action Handler: Shows the help-information from the Help-file(help.txt)

DoSave

public void DoSave()
Save-Button Action Handler:

getParam

public java.lang.String getParam()
Builds qualified parameter string:

ReadActionList

protected void ReadActionList(java.lang.String sModul)
Reads the Action list from the ini-file

ReadParamList

protected void ReadParamList(java.lang.String sModul,
                             java.lang.String sAction)
Reads the parameters-list from the ini-file

ReadList

protected void ReadList()
Reads the all lists from the ini-file

processWindowEvent

protected void processWindowEvent(java.awt.event.WindowEvent e)
Overridden so we can exit on System Close
Overrides:
processWindowEvent in class javax.swing.JFrame