CoordinatedPanel interface description

The following table describes the methods of the CoordinatedEventListener and CoordinatedEventSource interfaces. The CoordinatedPanel interface extends these interfaces.
Table 1. CoordinatedEventListener interface methods
Method Description
handleDSECoordinationEvent(DSECoordinationEvent event) Contains the appropriate actions to be executed when DSECoordinationEvent has been triggered.
addCoordinatedEventListener( CoordinatedEventListener newListener) Adds a CoordinatedEventListener.
fireCoordinationEvent() Fires a DSECoordinationEvent.
fireCoordinationEvent(DSECoordinationEvent event) Fires a DSECoordinationEvent.

The following table describes the methods of the CoordinatedPanel Interface:

Table 2. CoordinatedPanel interface methods
Method Description
becomingActiveActions() Applicable if the panel is used in the Desktop. This method should be overridden to add any actions that must execute every time the panel is shown.
becomingUnactiveActions() Applicable if the panel is used in the Desktop. This method should be overridden to add any actions that must execute every time the panel is hidden.
chainTo(Context ) Sets the current context as a child of Context and as the new current child. This method throws DSEInvalidRequestException.
chainToContextNamed(String) Sets the current context as a child of the context named in the hierarchy. If there is more than one context with this name, one of them is chosen at random. This method throws a DSEInvalidRequestException generated by the chainTo method, and throws a DSEObjectNotFoundException if the context parent is not found.
close(Boolean) Closes the default operation and fires a DSECoordinationEvent (type close). If the specified boolean value is true then the context will be unchained.
commit() Commits view data values, and sets a checkpoint for a possible rollback.
enableNextButton(boolean) Enables/disables buttons of the type Next_View.
enableOkButton(boolean) Enables/disables OK buttons.
enablePreviousButton(boolean) Enables/disables buttons of the type Previous_View.
Context getContext() Gets the context property (com.ibm.dse.base.Context) value.
public String getTitle() Applicable if the panel is used in the Desktop. Gets the title property (java.lang.String) value.
Object getValueAt(String): Returns the value of the specified element. This method throws a DSEObjectNotFoundException.
boolean isChained() Returns true if the context is chained to the hierarchy.
boolean isClosable() Returns true if the panel can be closed.
public void postInitialize() Applicable if the panel is used in the Desktop. This method should be implemented in order to add the actions to execute when the panel associated to a task is created.
refresh() Refreshes view from context (from the data model).
rollBack() Removes the last changes in the panel to the point of the last commit.
setContext(Context) Sets the context property value (com.ibm.dse.base.Context).
void setContextName(String, boolean) Sets the contextName property to the name specified, and if the boolean parameter is true, makes an instance of the context.
public void setName(String) Sets the name of the component to the specified string.
setOperation(Operation). Sets the default operation property value
setOperationName(String, boolean) Sets the string value as the default operationName property value. If the boolean value is set to true, an instance of the operation is created.
setValueAt(String, Object) Sets the value of the specified element. This method throws a DSEInvalidArgumentException and a DSEObjectNotFoundException.
setViewName(String) Sets the name of the component to the specified string.
tryRunOperation() Executes the default operation associated with the coordinated panel.
unchain() Removes the context or operation context from the context hierarchy. The parent attribute is set to null, and the operation context is removed from the list of children in the parent context. This method throws a DSEInvalidRequestException and a DSEObjectNotFoundException.