com.jFormTK
Class JMessage

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.JMessage
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 JMessage
extends javax.swing.JDialog
implements JConstants

        This 'jFormTK' class is designed to present a Message Dialog to the Software
        Developer or Application End User. It is designed to do the following pre Processing
        of the given Message [message] prior to presenting the message dialog:
        1)      Change ALL Indirect 'JFormField' References to the "Indirect" Value,
                i.e. ALL "(JFormFieldID)" references shall be changed to the Text value of the
                referenced value...
        2)      Change ALL 'AppCommonDB' References to the current element's Value String...
                NOTE:
                'AppCommonDB' references are made via usage of the "" prefix,
                e.g. "message = "Registered_Name is Registered!" where
                "Registered_Name" is an 'AppCommonDB' Element set by the 'jFormTK' Application...
                NOTE:
                If no "Name" Match is found in the 'AppCommonDB' the following annotations shall
                be presented to the 'jFormTK' Application Developer... 
                        ">>>No 'AppCommpnDB' Match<<<"...
        3)      Change ALL 'JAddressBook' References to the specified element's Parameter Value
                String.
                NOTE:
                'JAddressBook' references are made via usage of the "" prefix. The allowed
                'JAddressBook' Formats are as follows:
                        (name, Field)
                Example:
                message = "(James E. Crowell,Phone) is Jim's Phone Number";
                shall return the contents of the 'Phone' Field of the "James E. Crowell" element
                of the current 'jAddressBook' instance...
                        ((name), Field)
                Example:
                "((Documents.Family.spouse), Phone)" shall return the contents of the
                'Phone' Field of the current 'jAddressBook' "Referenced" by the contents of the
                'spouse' field of the 'Directory.Family' Application Form...
 
                NOTE:
                If the given name is NOT found in the current 'JAddressBook' the following
                annotation shall be presented:
                        "ERROR: nnn NOT Found in JAddressBook";
                        where 'nnn' is the given search name, e.e. "James E. Crowell" in above
                                example.
        4)      Change the "Look and Feel" of "Selected Phrases" of the message as a function of
                the current content of the 'AppDB.JMessagePhraseList' object...
     
        [See 'messagePhraseList' Doc]
 
        Kernel Usage:
        This class is used to display the following message Types:
        1)      General Message Dialog via the 'JMessage.message' method...
        2)      Hint Message Display
        3)      'JMessageTopic' Class Items [e.g. Definitions]...
 
        

Version:
1.00, 25 Jan 2003
Author:
Jim Crowell
Professional Computer Solutions [PCS]
URL: http://jFormTK.com/
E-Mail: JimCrowell@EMail.com

Copyright (c) 2006 by Professional Computer Solutions [PCS]
All Rights Reserved
See Also:
Serialized Form

Nested Class Summary
(package private)  class JMessage.MessageDialog
           
 
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
 
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, 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
JMessage(java.lang.String title, java.lang.String header, java.lang.String messageIn, java.lang.String fieldID, boolean dynamicRef, java.lang.String from)
          Consrtructor:
JMessage(java.lang.String title, java.lang.String header, java.lang.String messageIn, java.lang.String fieldID, char dType, boolean dynamicRef, java.lang.String from)
          Consrtructor:
JMessage(java.lang.String title, java.lang.String header, java.lang.String messageIn, java.lang.String fieldID, java.lang.String from)
          Consrtructor:
 
Method Summary
 
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
 

Constructor Detail

JMessage

public JMessage(java.lang.String title,
                java.lang.String header,
                java.lang.String messageIn,
                java.lang.String fieldID,
                java.lang.String from)
Consrtructor:

Parameters:
title - Title String
header - Header String
messageIn - Message String to be decoded and displayed
fieldID - Field ID [String]...
from - String to indicate where this instance was produced [DEBUG]

JMessage

public JMessage(java.lang.String title,
                java.lang.String header,
                java.lang.String messageIn,
                java.lang.String fieldID,
                boolean dynamicRef,
                java.lang.String from)
Consrtructor:

Parameters:
title - Title String
header - Header String
messageIn - Message String to be decoded and displayed
fieldID - Field ID [String]...
dynamicRef - Perform Dynamic Reference op on 'messageIn' [boolean]...
from - String to indicate where this instance was produced [DEBUG]

JMessage

public JMessage(java.lang.String title,
                java.lang.String header,
                java.lang.String messageIn,
                java.lang.String fieldID,
                char dType,
                boolean dynamicRef,
                java.lang.String from)
Consrtructor:

Parameters:
title - Title String
header - Header String
messageIn - Message String to be decoded and displayed
fieldID - Field ID [String]...
dType - Dialog Window type control ['F' for Full, !+'F' for Half]...
dynamicRef - Perform Dynamic Reference op on 'messageIn' [boolean]...
from - String to indicate where this instance was produced [DEBUG]