|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--com.ibm.dse.gui.SpPanel | +--com.ibm.dse.gui.DSECoordinatedPanel | +--com.ibm.dse.gui.OperationPanel | +--com.ibm.dse.appl.ej.client.EJViewer
This view allows the user to query the electronic journal tables. The queries are predefined by the system. When the user selects a query and updates the view, the view dynamically changes to reflect the widgets needed for entries to create the query. It also update the summary table columns to reflect the number and names of the columns expected in the result of that query.
Inner classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Fields inherited from class com.ibm.dse.gui.DSECoordinatedPanel |
aExceptionInOperationListener,
executeNextView,
externalizer |
Fields inherited from class com.ibm.dse.gui.SpPanel |
NULL_VALUE,
refreshing |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
EJViewer()
EJViewer constructor comment. |
|
EJViewer(boolean isDoubleBuffered)
EJViewer constructor comment. |
|
EJViewer(java.awt.LayoutManager layout)
EJViewer constructor comment. |
|
EJViewer(java.awt.LayoutManager layout,
boolean isDoubleBuffered)
EJViewer constructor comment. |
|
EJViewer(Operation o)
EJViewer constructor comment. |
|
EJViewer(java.lang.String aViewerName)
EJViewer constructor comment. |
Method Summary | |
void |
enableDetailsButton()
This method is to make sure that the user cannot click the details button until they make a selection in the table. |
java.util.Hashtable |
getConvertersTable()
Returns convertersTable attribute |
java.lang.String |
getJournalAlias()
Returns journalAlias attribute |
java.lang.String |
getSchemaInfoOperationName()
Returns the schemaInfoOperationName attribute value |
java.lang.String |
getViewerMode()
Returns viewerMode attribute |
java.lang.String |
getViewerName()
Returns viewerName attribute. |
java.lang.String |
getViewerType()
Returns viewerType attribute |
java.lang.String |
getViewOperationName()
Returns viewOperationName attribute |
java.lang.String |
getXMLFile()
Returns the XML file name including the full path |
java.lang.String |
getXMLParseImplementer()
Returns the xmlParseImplementer attribute. |
void |
handleDetailsButton()
Takes the selected row in the summary table and returns its full details from the Electronic journal table |
void |
handleSummaryButton()
Returns from the details table back to the summary table |
void |
initializeProperties(java.lang.String aViewerName)
Reads the properties from the dsedat.sgm file and initializes the attributes. |
static void |
main(java.lang.String[] args)
main entrypoint - starts the part when it is run as an application |
void |
reInitializeView()
This method is used to clean up the context and reset the view to the original status before the update button was pressed. |
void |
setConvertersTable(java.util.Hashtable aTable)
Sets convertersTable attribute |
void |
setJournalAlias(java.lang.String aString)
Sets the journalAlias attribute |
void |
setSchemaInfoOperationName(java.lang.String aString)
Sets the schemaInfoOperationName attribute value |
void |
setViewerMode(java.lang.String aString)
Sets the viewerMode attribute |
void |
setViewerName(java.lang.String aString)
Sets the viewerName attribute |
void |
setViewerType(java.lang.String aString)
Sets the viewerType attribute |
void |
setViewOperationName(java.lang.String aString)
Sets the viewOperationName attribute |
void |
setXMLFile(java.lang.String aFile)
Sets the xmlFile attribute, file name including the full path |
void |
setXMLParseImplementer(java.lang.String aString)
Sets the xmlParseImplementer attribute |
void |
updateQueryDescription()
Updates the Query description with the selected query description. |
void |
updateView()
Updates the view based on the query selected by adding the proper widgets needed to satisfy the query and adding the right columns in the summary table as expected by the result of the query. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
This method is needed to detect a selection change and enable the Details button. |
Methods inherited from class com.ibm.dse.gui.OperationPanel |
chainTo,
chainToContextNamed,
dataChanged,
executeOper,
getOperationPanel,
getOperationPanelParent,
handleDataChanged,
handleDSECoordinationEvent,
isChained,
isCorrectStatus,
refreshDataExchangers,
setContextName,
setValueAt,
unchain |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
paramString,
updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addNotify,
addPropertyChangeListener,
addPropertyChangeListener,
addVetoableChangeListener,
computeVisibleRect,
contains,
createToolTip,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getMinimumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paint,
paintBorder,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processComponentKeyEvent,
processFocusEvent,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
unregisterKeyboardAction,
update |
Methods inherited from class java.awt.Container |
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public EJViewer()
public EJViewer(Operation o)
o
- com.ibm.dse.base.Operationpublic EJViewer(java.awt.LayoutManager layout)
layout
- java.awt.LayoutManagerpublic EJViewer(java.awt.LayoutManager layout, boolean isDoubleBuffered)
layout
- java.awt.LayoutManagerisDoubleBuffered
- booleanpublic EJViewer(java.lang.String aViewerName)
aViewerName
- java.lang.Stringpublic EJViewer(boolean isDoubleBuffered)
isDoubleBuffered
- booleanMethod Detail |
public void enableDetailsButton()
public java.util.Hashtable getConvertersTable()
public java.lang.String getJournalAlias()
public java.lang.String getSchemaInfoOperationName()
public java.lang.String getViewerMode()
public java.lang.String getViewerName()
public java.lang.String getViewerType()
public java.lang.String getViewOperationName()
public java.lang.String getXMLFile()
public java.lang.String getXMLParseImplementer()
public void handleDetailsButton()
public void handleSummaryButton()
public void initializeProperties(java.lang.String aViewerName)
aString
- java.lang.Stringpublic static void main(java.lang.String[] args)
args
- java.lang.String[]public void reInitializeView()
public void setConvertersTable(java.util.Hashtable aTable)
aTable
- java.util.Hashtablepublic void setJournalAlias(java.lang.String aString)
aString
- java.lang.Stringpublic void setSchemaInfoOperationName(java.lang.String aString)
aString
- java.lang.Stringpublic void setViewerMode(java.lang.String aString)
aString
- java.lang.Stringpublic void setViewerName(java.lang.String aString)
aString
- java.lang.Stringpublic void setViewerType(java.lang.String aString)
aString
- java.lang.Stringpublic void setViewOperationName(java.lang.String aString)
aString
- java.lang.Stringpublic void setXMLFile(java.lang.String aFile)
aFile
- java.lang.Stringpublic void setXMLParseImplementer(java.lang.String aString)
aString
- java.lang.Stringpublic void updateQueryDescription()
public void updateView()
public void valueChanged(javax.swing.event.ListSelectionEvent e)
event
- javax.swing.event.ListSelectionEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |