public interface ExtensionObjectPanel
Modifier and Type | Method and Description |
---|---|
void |
controlValuesApplied()
Called to notify the panel that property control values should be
applied back to the underlying object e.g. when the "OK" or "Apply" buttons
have been pressed.
|
void |
controlValuesReset()
Called to notify the panel that property control values have been reset from
the underlying object e.g. when the "Cancel" or "Reset" buttons
have been pressed.
|
void |
disposePanel()
Called to notify the panel that the window which contains the component browser is
being destroyed.
|
void |
extensionObjectChanged()
Called to notify the panel that the underlying object has been modified
in some way e.g. a change to a property or a container,
the execution status, cache state etc.
|
java.lang.Object |
getHelpReference()
Returns the help reference for this panel.
|
javax.swing.JComponent |
getPrintableComponent()
Returns the UI object that will be rendered in order to print
the component.
|
javax.swing.JComponent |
getUIComponent()
Returns the UI object that will be used to display the extension
component which will be added to the window.
|
void |
initPanel(java.lang.String panelId,
ExtensionObjectWindowHandle windowHandle,
ManagedSession managedSession)
Called after the panel has been created but before the panel has been added to the window or the window has
been displayed.
|
boolean |
isPrintable()
Returns
true if the panel contains a printable component,
false otherwise. |
void initPanel(java.lang.String panelId, ExtensionObjectWindowHandle windowHandle, ManagedSession managedSession)
panelId
- the id of the panel declared in the spec filewindowHandle
- the handle of the window that will contain this panelmanagedSession
- the ManagedSessionjavax.swing.JComponent getUIComponent()
this
.boolean isPrintable()
true
if the panel contains a printable component,
false
otherwise. This allows the owner dialog to know whether
printing options should be enabled.true
if the panel contains a printable componentgetPrintableComponent()
javax.swing.JComponent getPrintableComponent()
null
if printing is not supported. This is called if the user invokes
a Print or Print Preview operation.null
isPrintable()
java.lang.Object getHelpReference()
null
if there is no help associated
with the panel.void controlValuesApplied()
While this method is active, no calls to extensionObjectChanged() will be made.
extensionObjectChanged()
,
controlValuesReset()
void controlValuesReset()
void extensionObjectChanged()
controlValuesApplied()
void disposePanel()
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.