com.jFormTK
Class JBranchIncongruity

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by javax.swing.JDialog
                      extended by com.jFormTK.JBranchIncongruity
All Implemented Interfaces:
JConstants, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public class JBranchIncongruity
extends javax.swing.JDialog
implements JConstants


        JBranchIncongruity:
        This Class is designed to produce a Dialog to inform the 'jFormTK' End User
        that a Branch Incongruity has occurred and to allow the End User to select the
        'JFormField' to get the next focus...

        Kernel Usage:
        1)      'JFocus.doPostProcess' "?" Usage Case to Query Operator iff a Focus Incongruity
                exist because of a change in focus due to the Exit 'HighliteControls' processing...
        2)      'JFormField.MouseListener.mouseClicked' when the 'Post Processor' for the Field
                that had the focus when the mouse was clicked has changed the flow to a field
                other than the selected field...
        3)      'JFormField.MouseListener.mouseClicked' when the 'Pre Processor' for the Field
                that was selected with the mouse has changed the flow to a field other than the
                selected field...
        4)      'JFocus.goToForm' when the Post Processor for the field that has the focus when
                a TAB is requested has changed the Flow Control. This causes a Branch Incongruity
                that needs End User interaction...
        5)      'JFocus.goToForm' when the Highlite Control Exit Processing has changed the
                flow and the Highlite Control "Usage Code" is a "?", i.e. the usage control request
                a dialog with the application End User so that they understand the reason for a
                change of flow operation...

        

Version:
1.00, 10 March 2006
Author:
Jim Crowell Professional Computer Solutions [PCS] URL: http://jFormTK.com/ E-Mail: JimCrowell@EMail.com Copyright (c) 2009 by Professional Computer Solutions [PCS] All Rights Reserved
See Also:
Serialized Form

Nested Class Summary
(package private)  class JBranchIncongruity.Action
           
 
Nested classes/interfaces inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Nested classes/interfaces inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  javax.swing.JButton bContinue
           
(package private)  javax.swing.JButton bInfo
           
(package private)  javax.swing.JRadioButton branch1
           
(package private)  javax.swing.JRadioButton branch2
           
(package private)  javax.swing.JRadioButton branch3
           
(package private)  javax.swing.JPanel branches
           
(package private)  javax.swing.JPanel buttonPanel
           
static int ENTER
           
(package private)  int nFields
           
(package private)  JBranchIncongruity thisQuery
           
(package private)  javax.swing.JTextPane tp
           
(package private)  javax.swing.JLabel valueLabel
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.jFormTK.JConstants
__, _AB, _AB_, _AField, _B, _BField, _CField, _CIField, _DField, _EU_, _H, _HEIGHT, _HEIGHT_INV, _HField, _I, _IField, _LField, _MField, _NField, _NotRequired, _PField, _PIField, _QField, _Required, _RField, _TAField, _TField, _WIDTH, _WIDTH_INV, _XField, AB, APP_TRACE_FOCUS, APP_TRACE_GET, APP_TRACE_SET, B_, BAR, BAR_, BB, BH, BI, BREAKPOINT_FOCUS, BREAKPOINT_GET, BREAKPOINT_SET, BVB, C_QUOTE, CLOSE, CLOSE_BRACKET, COLORS_DELIMITER, COMMA, COMMA_, D_ELEMENT, D_ELEMENT_N, D_ELEMENT_N1, D_ELEMENT_N2, D_ELEMENT_N3, D_FIELDS, D_FIELDS_N, D_FIELDS_N1, D_FIELDS_N2, D_FIELDS_N3, D_ITEMS, DASH, DOT, EOL, EOP, EOS, FIELD_TRACE_FOCUS, FIELD_TRACE_GET, FIELD_TRACE_SET, FONT_DELIMITER, H_, HB, HH, HI, I_, IB, IH, II, JLAF_DELIMITER, LF, LISTBRACKET, NO, OPEN, OPEN_BRACKET, pCheckboxGroup, QUOTE, SPACE_, TAB, YES
 
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
JBranchIncongruity(java.lang.String title, java.lang.String synopsis, java.lang.String fldID1, java.lang.String fldID2, java.awt.Rectangle bounds)
           Constructor...
JBranchIncongruity(java.lang.String title, java.lang.String synopsis, java.lang.String fldID1, java.lang.String fldID2, java.lang.String fldID3, java.awt.Rectangle bounds)
           
 
Method Summary
 java.lang.String getBranch()
           Get a String to annotate the selected Radio Button...
 
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, 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, dispose, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, 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, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, firePropertyChange, firePropertyChange, 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, 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, isOpaque, 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, 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, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, 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

ENTER

public static final int ENTER
See Also:
Constant Field Values

valueLabel

javax.swing.JLabel valueLabel

tp

javax.swing.JTextPane tp

branches

javax.swing.JPanel branches

buttonPanel

javax.swing.JPanel buttonPanel

branch1

javax.swing.JRadioButton branch1

branch2

javax.swing.JRadioButton branch2

branch3

javax.swing.JRadioButton branch3

bInfo

javax.swing.JButton bInfo

bContinue

javax.swing.JButton bContinue

thisQuery

JBranchIncongruity thisQuery

nFields

int nFields
Constructor Detail

JBranchIncongruity

public JBranchIncongruity(java.lang.String title,
                          java.lang.String synopsis,
                          java.lang.String fldID1,
                          java.lang.String fldID2,
                          java.awt.Rectangle bounds)
        Constructor...

        Kernel Usage:
        1)      'JFormField.MouseListener.mouseClicked' method when it is unclear which 
                'JFormField' to focus following a Mouse Selection...
        


JBranchIncongruity

public JBranchIncongruity(java.lang.String title,
                          java.lang.String synopsis,
                          java.lang.String fldID1,
                          java.lang.String fldID2,
                          java.lang.String fldID3,
                          java.awt.Rectangle bounds)
Method Detail

getBranch

public java.lang.String getBranch()
        Get a String to annotate the selected Radio Button...

        Kenel Usage:
        1)      'JFormField.MouseListener.mouseClicked' method when a Pre / Post Processor
                has return a 'flowControl' that points away from the 'JFormField'
                selected by the 'jFormTK' Application End User...
        

Returns:
The String Value entered by the End User...