public class ProcessContainer
extends javax.swing.JFrame
implements java.awt.event.ActionListener, javax.swing.event.DocumentListener, java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
class |
ProcessContainer.Processor
Process a component.
|
javax.swing.JFrame.AccessibleJFrame
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
Modifier and Type | Field and Description |
---|---|
(package private) javax.swing.JCheckBox |
addInfo |
(package private) java.lang.String |
ADDINFO_ACTION |
(package private) javax.swing.JCheckBox |
appendMap |
(package private) java.lang.String |
APPENDMAP_ACTION |
(package private) javax.swing.JTextField |
appMapFile |
(package private) java.lang.String |
APPMAPFILE_ACTION |
protected static java.lang.String[] |
args
Passed in from static void main()
|
(package private) javax.swing.JButton |
cancel |
(package private) java.lang.String |
CANCEL_ACTION |
(package private) javax.swing.JPanel |
center |
(package private) java.lang.String |
CHILDREN_ACTION |
(package private) GuiClassData |
classdata |
(package private) javax.swing.JComboBox |
clientType |
(package private) java.lang.String |
CLIENTTYPE_ACTION |
(package private) boolean |
closemap |
(package private) boolean |
closeout |
static boolean |
DEFAULT_ADDINFO
'false'
|
static boolean |
DEFAULT_APPENDMAP
'false'
|
static java.lang.String |
DEFAULT_CLIENTTYPE
"Java Client"
|
static boolean |
DEFAULT_DOCHILDREN
'true'
|
static boolean |
DEFAULT_DOMENU
'false'
|
static boolean |
DEFAULT_DOPROPERTIES
'false'
|
static java.lang.String |
DEFAULT_INI_SECTION
null
|
static boolean |
DEFAULT_MAPJPG
'false'
|
static java.lang.String |
DEFAULT_MENUNAME
"WindowNameMenu"
|
static java.lang.String |
DEFAULT_OBJECTDESC
"WindowName Object"
|
static java.lang.String |
DEFAULT_OBJECTNAME
"WindowName"
|
static java.lang.String |
DEFAULT_OBJECTREC
"\;Type=Window;Caption={*}"
|
static java.lang.String |
DEFAULT_WINDOWREC
"Type=Window;Caption={*}"
|
(package private) javax.swing.JCheckBox |
doChildren |
(package private) java.lang.String |
domainname |
(package private) javax.swing.JCheckBox |
doMenu |
(package private) javax.swing.JCheckBox |
doProperties |
(package private) javax.swing.JButton |
help |
(package private) java.lang.String |
HELP_ACTION |
(package private) boolean |
ignoreInvisible |
(package private) INIFileReadWrite |
inifile |
protected java.lang.String |
inipath
Provided path to initialization file.
|
(package private) boolean |
iniVsTreeFormat |
(package private) java.io.OutputStream |
map |
(package private) javax.swing.JCheckBox |
mapJPG |
(package private) java.lang.String |
MAPJPG_ACTION |
protected java.lang.String |
mappath
Provided path to app map output file.
|
(package private) java.lang.String |
MENU_ACTION |
(package private) java.lang.String |
MENUFILE_ACTION |
(package private) javax.swing.JLabel |
menuFullname |
(package private) javax.swing.JTextField |
menuName |
(package private) java.lang.String |
MENUNAME_ACTION |
(package private) javax.swing.JLabel |
menuNameLabel |
protected java.lang.String |
menupath
Provided path to menu output file.
|
(package private) java.util.Map |
nameMap |
(package private) javax.swing.JPanel |
north |
(package private) javax.swing.JTextField |
objectDesc |
(package private) java.lang.String |
OBJECTDESC_ACTION |
(package private) javax.swing.JLabel |
objectDescLabel |
(package private) javax.swing.JTextField |
objectRec |
(package private) java.lang.String |
OBJECTREC_ACTION |
(package private) javax.swing.JLabel |
objectRecLabel |
(package private) java.io.OutputStream |
out |
(package private) java.lang.String |
OUTFILE_ACTION |
protected java.lang.String |
outpath
Provided path to detailed output file.
|
(package private) javax.swing.JTextField |
outPrefix |
(package private) java.lang.String |
OUTPREFIX_ACTION |
(package private) javax.swing.JTextField |
outputDir |
(package private) java.lang.String |
OUTPUTDIR_ACTION |
(package private) javax.swing.JLabel |
outputDirLabel |
(package private) javax.swing.JLabel |
outputFullname |
(package private) javax.swing.JLabel |
outputNameLabel |
static java.lang.String |
pathSep
"->"
|
(package private) java.lang.String |
PROPERTIES_ACTION |
static java.lang.String |
READY_TEXT
"Click to Run"
|
(package private) javax.swing.JButton |
run |
(package private) java.lang.String |
RUN_ACTION |
static java.lang.String |
RUNNING_TEXT
"Running..."
|
(package private) LocalServer |
server |
(package private) javax.swing.JPanel |
south |
protected boolean |
theAddInfo
Provided addInfo.
|
protected boolean |
theAppendMap
Provided appendMap.
|
protected java.lang.String |
theClientType
Provided clientType.
|
protected boolean |
theDoChildren
Provided doChildren.
|
protected boolean |
theDoMenu
Provided doMenu.
|
protected boolean |
theDoProperties
Provided doProperties.
|
protected boolean |
theMapJPG
Provided mapJPG.
|
protected java.lang.String |
theMenuName
Provided menuName.
|
protected java.lang.String |
theObjectDesc
Provided objectDesc.
|
protected java.lang.String |
theObjectName
Provided objectName.
|
protected java.lang.String |
theObjectRec
Provided windowRec.
|
protected java.lang.String |
theOutDir
Provided output directory.
|
protected java.lang.String |
theOutPrefix
Provided output file prefix.
|
protected java.lang.String |
theWindowRec
Provided windowRec.
|
(package private) javax.swing.JTextField |
windowName |
(package private) java.lang.String |
WINDOWNAME_ACTION |
(package private) javax.swing.JLabel |
windowNameLabel |
(package private) javax.swing.JTextField |
windowRec |
(package private) java.lang.String |
WINDOWREC_ACTION |
(package private) javax.swing.JLabel |
windowRecLabel |
(package private) boolean |
withCommentsAndBlankLines |
(package private) boolean |
withNameIncludeOnlyCaption |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
ProcessContainer()
Constructor for ProcessContainer.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Launches separate execution Processor when the RUN button is clicked.
|
void |
changedUpdate(javax.swing.event.DocumentEvent event)
Monitor TextField DocumentChanged Events.
|
protected void |
closeMapPathStream()
Close the Map output file if possible.
|
protected void |
closeOutPathStream()
Close the detailed output file if possible.
|
protected void |
configureUI()
Configures/Toggles UI components based on current/stored settings.
|
protected void |
documentChanged(javax.swing.event.DocumentEvent event) |
protected void |
finalize()
shutdown finalization
|
protected java.lang.String |
getArg(java.lang.String argid)
Attempt to retrieve an arg String value via our specific search chain.
|
protected boolean |
getBooleanArg(java.lang.String argid) |
protected java.lang.String |
getINIValue(java.lang.String section,
java.lang.String item)
Retrieve an item out of the initialization file if such a file was identified.
|
void |
insertUpdate(javax.swing.event.DocumentEvent event) |
static void |
main(java.lang.String[] args)
main
|
protected java.lang.String |
makeFullPrefix(java.lang.String theDir,
java.lang.String thePrefix)
Add the prefix to our stored directory info adding(or not) the
File.separator if needed.
|
protected void |
openINIReadWrite()
Open/Process the initialization file if it is found and appears to be valid.
|
protected void |
openMapPathStream()
Open the map output file if possible.
|
protected void |
openOutPathStream()
Open the detailed output file if possible.
|
protected void |
populateFrame()
Build the JFrame GUI for viewing.
|
void |
removeUpdate(javax.swing.event.DocumentEvent event) |
void |
run()
'Runnable' Shutdown Hook registered with JVM to do finalization on exit.
|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, 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, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
LocalServer server
GuiClassData classdata
java.io.OutputStream out
java.io.OutputStream map
boolean closeout
boolean closemap
INIFileReadWrite inifile
boolean ignoreInvisible
boolean withNameIncludeOnlyCaption
boolean withCommentsAndBlankLines
boolean iniVsTreeFormat
java.lang.String domainname
java.util.Map nameMap
protected static java.lang.String[] args
protected java.lang.String inipath
An ARGS Parm overrides the System Property which overrides any INI file setting.
protected java.lang.String mappath
An ARGS Parm overrides the System Property which overrides any INI file setting.
protected java.lang.String outpath
An ARGS Parm overrides the System Property which overrides any INI file setting.
protected java.lang.String menupath
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final java.lang.String DEFAULT_CLIENTTYPE
protected java.lang.String theClientType
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final java.lang.String DEFAULT_WINDOWREC
protected java.lang.String theWindowRec
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final java.lang.String DEFAULT_OBJECTREC
protected java.lang.String theObjectRec
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final java.lang.String DEFAULT_OBJECTNAME
protected java.lang.String theObjectName
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final java.lang.String DEFAULT_OBJECTDESC
protected java.lang.String theObjectDesc
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final boolean DEFAULT_DOCHILDREN
protected boolean theDoChildren
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final boolean DEFAULT_DOPROPERTIES
protected boolean theDoProperties
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final boolean DEFAULT_DOMENU
protected boolean theDoMenu
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final java.lang.String DEFAULT_MENUNAME
protected java.lang.String theMenuName
An ARGS Parm overrides the System Property which overrides any INI file setting.
protected java.lang.String theOutDir
An ARGS Parm overrides the System Property which overrides any INI file setting.
protected java.lang.String theOutPrefix
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final boolean DEFAULT_APPENDMAP
protected boolean theAppendMap
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final boolean DEFAULT_ADDINFO
protected boolean theAddInfo
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final boolean DEFAULT_MAPJPG
protected boolean theMapJPG
An ARGS Parm overrides the System Property which overrides any INI file setting.
public static final java.lang.String DEFAULT_INI_SECTION
public static final java.lang.String pathSep
javax.swing.JPanel north
javax.swing.JPanel center
javax.swing.JPanel south
javax.swing.JLabel windowRecLabel
javax.swing.JLabel objectRecLabel
javax.swing.JLabel windowNameLabel
javax.swing.JLabel objectDescLabel
javax.swing.JLabel outputDirLabel
javax.swing.JLabel outputNameLabel
javax.swing.JLabel menuNameLabel
javax.swing.JLabel outputFullname
java.lang.String OUTFILE_ACTION
javax.swing.JLabel menuFullname
java.lang.String MENUFILE_ACTION
javax.swing.JComboBox clientType
java.lang.String CLIENTTYPE_ACTION
javax.swing.JCheckBox doProperties
java.lang.String PROPERTIES_ACTION
javax.swing.JCheckBox doChildren
java.lang.String CHILDREN_ACTION
javax.swing.JCheckBox appendMap
java.lang.String APPENDMAP_ACTION
javax.swing.JCheckBox doMenu
java.lang.String MENU_ACTION
javax.swing.JCheckBox addInfo
java.lang.String ADDINFO_ACTION
javax.swing.JCheckBox mapJPG
java.lang.String MAPJPG_ACTION
javax.swing.JTextField windowRec
java.lang.String WINDOWREC_ACTION
javax.swing.JTextField windowName
java.lang.String WINDOWNAME_ACTION
javax.swing.JTextField objectRec
java.lang.String OBJECTREC_ACTION
javax.swing.JTextField objectDesc
java.lang.String OBJECTDESC_ACTION
javax.swing.JTextField menuName
java.lang.String MENUNAME_ACTION
javax.swing.JTextField outputDir
java.lang.String OUTPUTDIR_ACTION
javax.swing.JTextField outPrefix
java.lang.String OUTPREFIX_ACTION
javax.swing.JTextField appMapFile
java.lang.String APPMAPFILE_ACTION
javax.swing.JButton run
java.lang.String RUN_ACTION
javax.swing.JButton cancel
java.lang.String CANCEL_ACTION
javax.swing.JButton help
java.lang.String HELP_ACTION
public static final java.lang.String READY_TEXT
public static final java.lang.String RUNNING_TEXT
protected void openOutPathStream()
protected void closeOutPathStream()
protected void openMapPathStream()
protected void closeMapPathStream()
protected void openINIReadWrite()
protected java.lang.String getINIValue(java.lang.String section, java.lang.String item)
public void changedUpdate(javax.swing.event.DocumentEvent event)
changedUpdate
in interface javax.swing.event.DocumentListener
public void insertUpdate(javax.swing.event.DocumentEvent event)
insertUpdate
in interface javax.swing.event.DocumentListener
public void removeUpdate(javax.swing.event.DocumentEvent event)
removeUpdate
in interface javax.swing.event.DocumentListener
protected void documentChanged(javax.swing.event.DocumentEvent event)
protected void configureUI()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
protected void populateFrame()
protected java.lang.String makeFullPrefix(java.lang.String theDir, java.lang.String thePrefix)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
protected java.lang.String getArg(java.lang.String argid)
protected boolean getBooleanArg(java.lang.String argid)
public void run()
run
in interface java.lang.Runnable
public static void main(java.lang.String[] args)