|
|||||||||
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.DSEPanel
The DSEPanel 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 Context property is used to link the view with the model.
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 | |
DSEPanel()
This constructor creates a DSEPanel object. |
|
DSEPanel(boolean isDoubleBuffered)
This constructor creates a DSEPanel object. |
|
DSEPanel(Context Ctx)
This constructor creates a DSEPanel object. |
|
DSEPanel(java.awt.LayoutManager layout)
This constructor creates a DSEPanel object. |
|
DSEPanel(java.awt.LayoutManager layout,
boolean isDoubleBuffered)
This constructor creates a DSEPanel 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 |
close(boolean unchainContext)
close default operation and fires a DSECoordinationEvent (type ViewClosed) |
protected void |
close(DSECoordinationEvent event)
close default operation and fires a DSECoordinationEvent (type ViewClosed) |
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 |
Context |
getContext()
Gets the context property (com.ibm.dse.base.Context) value. |
java.lang.String |
getContextName()
Gets the contextName property (java.lang.String) value. |
boolean |
getInstanceContext()
Gets the instanceContext property (boolean) value. |
java.lang.Object |
getValueAt(java.lang.String aCompositeKey)
Returns the value of the element of its working context, or of the upper working contexts, which is located at |
void |
handleDSECoordinationEvent(DSECoordinationEvent event)
Contains the appropriate actions to be executed when DSECoordinationEvent has been triggered. |
void |
instanceContextIfNecessary()
makes an instance (if is necessary) of the context |
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 |
setContext(Context context)
Sets the context property (com.ibm.dse.base.Context) value. |
void |
setContextName(java.lang.String contextName)
Sets the contextName property (java.lang.String) value. |
void |
setContextName(java.lang.String contextName,
boolean mInstance)
Sets the contextName property (java.lang.String) value. |
void |
setInstanceContext(boolean instanceContext)
Sets the instanceContext property (boolean) 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 context from the context hierarchy. |
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 DSEPanel()
public DSEPanel(Context Ctx)
Ctx
- com.ibm.dse.base.Contextpublic DSEPanel(java.awt.LayoutManager layout)
layout
- java.awt.LayoutManagerpublic DSEPanel(java.awt.LayoutManager layout, boolean isDoubleBuffered)
layout
- java.awt.LayoutManagerisDoubleBuffered
- booleanpublic DSEPanel(boolean isDoubleBuffered)
isDoubleBuffered
- booleanMethod Detail |
public void chainTo(Context aContext) throws DSEInvalidRequestException
This method throws a 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.
protected void close(DSECoordinationEvent event)
public void close(boolean unchainContext)
unchainContext
- boolean, if true context will be unchainded from the hierarchypublic void dataChanged(DSECoordinationEvent dce)
dce
- com.ibm.dse.gui.DSECoordinationEventpublic void executeOper(java.lang.String operation, int chaining, java.lang.String inputFormat, java.lang.String outputFormat)
java.lang.String
- operation, operation name to executeString
- inputFormat, map format beetwen active context and Operation Context before execute operation.String
- outputFormat, map format beetwen active context and Operation Context after execute operation.public Context getContext()
setContext(com.ibm.dse.base.Context)
public java.lang.String getContextName()
setContextName(java.lang.String)
public boolean getInstanceContext()
setInstanceContext(boolean)
public java.lang.Object getValueAt(java.lang.String aCompositeKey) throws DSEObjectNotFoundException
aCompositeKey
- String, path name in context.public void handleDSECoordinationEvent(DSECoordinationEvent event)
event
- DSECoordinationEventpublic void instanceContextIfNecessary()
public boolean isChained()
public boolean isCorrectStatus()
public void refreshDataExchangers()
public void setContext(Context context)
context
- The new value for the property.getContext()
public void setContextName(java.lang.String contextName)
contextName
- The new value for the property.getContextName()
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 setInstanceContext(boolean instanceContext)
instanceContext
- The new value for the property.getInstanceContext()
public void setValueAt(java.lang.String aCompositeKey, java.lang.Object aDataValue) throws DSEInvalidArgumentException, DSEObjectNotFoundException
public void unchain() throws DSEInvalidRequestException, DSEObjectNotFoundException
This method throws a DSEInvalidRequestException and throws a DSEObjectNotFoundException.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |