|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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
The OperationPanel class represents the external panel that should be used in views. It can contain the visual components as SpTextField, SpLabel,... and also the embedded panels. The Operation property is used to link the view with the model.
Nested Class Summary |
---|
Nested classes inherited from class com.ibm.dse.gui.SpPanel |
---|
SpPanel.ErrorBeanLabel |
Nested classes inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
---|
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.Container |
---|
|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
OperationPanel()
This constructor creates an OperationPanel object. |
|
OperationPanel(boolean isDoubleBuffered)
This constructor creates an OperationPanel object. |
|
OperationPanel(java.awt.LayoutManager layout)
This constructor creates an OperationPanel object. |
|
OperationPanel(java.awt.LayoutManager layout,
boolean isDoubleBuffered)
This constructor creates an OperationPanel object. |
|
OperationPanel(Operation o)
This constructor creates an OperationPanel object. |
Method Summary | |
---|---|
void |
chainTo(Context aContext)
Sets the receiving context as a child of aContext and as the new current child. |
void |
chainToContextNamed(java.lang.String aContextName)
Sets the context as a child of the context named aContextName in the hierarchy. |
void |
dataChanged(DSECoordinationEvent dce)
Manages the appropriate actions when a DSECoordinationEvent has been sent and refesh property is true. |
void |
executeOper(java.lang.String operation,
int chaining,
java.lang.String inputFormat,
java.lang.String outputFormat)
Execute an Operation |
static OperationPanel |
getOperationPanel(java.awt.Component c)
Returns the panel that contains the component passed as argument. |
static OperationPanel |
getOperationPanelParent(java.awt.Component c)
Returns the panel that contains the component passed as argument. |
void |
handleDataChanged(DataChangedEvent dce)
Deprecated. use DSECoordinatedEvents |
void |
handleDSECoordinationEvent(DSECoordinationEvent event)
Contains the appropriate actions to be executed when DSECoordinationEvent has been triggered. |
boolean |
isChained()
Returns true if the context is chained to the hierarchy. |
boolean |
isCorrectStatus()
Decides if the panel is in a correct status or not. |
void |
refreshDataExchangers()
Updates the panel with the data exchangers context values. |
void |
setContextName(java.lang.String contextName,
boolean mInstance)
Sets the contextName property (java.lang.String) value. |
void |
setValueAt(java.lang.String aCompositeKey,
java.lang.Object aDataValue)
Sets the value of the element of its context, or context parent, which is located at aCompositeKey path. |
void |
unchain()
Removes the operation context from the context hierarchy. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.dse.gui.CoordinatedPanel |
---|
setName |
Methods inherited from interface com.ibm.dse.base.Externalizable |
---|
getName, setName |
Constructor Detail |
public OperationPanel()
public OperationPanel(java.awt.LayoutManager layout)
layout
- java.awt.LayoutManagerpublic OperationPanel(java.awt.LayoutManager layout, boolean isDoubleBuffered)
layout
- java.awt.LayoutManagerisDoubleBuffered
- booleanpublic OperationPanel(Operation o)
public OperationPanel(boolean isDoubleBuffered)
isDoubleBuffered
- booleanMethod Detail |
public void chainTo(Context aContext) throws DSEInvalidRequestException
This method throws a DSEInvalidRequestException.
DSEInvalidRequestException
public void chainToContextNamed(java.lang.String aContextName) throws DSEInvalidRequestException, DSEObjectNotFoundException
This method throws a DSEInvalidRequestException generated by the chainTo method and throws a DSEObjectNotFoundException if context parent is not found.
DSEInvalidRequestException
DSEObjectNotFoundException
public void dataChanged(DSECoordinationEvent dce)
dataChanged
in class DSECoordinatedPanel
dce
- com.ibm.dse.gui.DSECoordinationEventpublic void executeOper(java.lang.String operation, int chaining, java.lang.String inputFormat, java.lang.String outputFormat)
public static OperationPanel getOperationPanel(java.awt.Component c)
c
- Component, the component
public static OperationPanel getOperationPanelParent(java.awt.Component c)
c
- Component, the component
public void handleDataChanged(DataChangedEvent dce)
dce
- com.ibm.dse.gui.DataChangedEventpublic void handleDSECoordinationEvent(DSECoordinationEvent event)
handleDSECoordinationEvent
in interface CoordinatedEventListener
handleDSECoordinationEvent
in class DSECoordinatedPanel
event
- DSECoordinationEventpublic boolean isChained()
public boolean isCorrectStatus()
isCorrectStatus
in class DSECoordinatedPanel
public void refreshDataExchangers()
refreshDataExchangers
in class DSECoordinatedPanel
public void setContextName(java.lang.String contextName, boolean mInstance)
contextName
- String, the new value for the propertymInstance
- boolean, if true makes an instance of the context.public void setValueAt(java.lang.String aCompositeKey, java.lang.Object aDataValue) throws DSEInvalidArgumentException, DSEObjectNotFoundException
DSEInvalidArgumentException
DSEObjectNotFoundException
public void unchain() throws DSEInvalidRequestException, DSEObjectNotFoundException
This method throws a DSEInvalidRequestException and throws a DSEObjectNotFoundException.
DSEInvalidRequestException
DSEObjectNotFoundException
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |