Class: com.ibm.dse.gui.DSEPanel
Extends:
java.swing.DSECoordinatedPanel
The DSEPanel class has the following
properties:
- editable: boolean. If true, all components inside the panel take the same
value as their editable property.
- context: The context associated with the view.
- contextName: This value can be used to select one context from the list
of available contexts at development time. The list is the result of reading
the definition files specified in the toolkit configuration file (dse.ini),
located in the DSEINIDevelopmentPath Setting property. At runtime, if a contextName
is specified, an instance of the context is created automatically if InstanceContext
property is true.
- operation: The default operation associated with the view (see Linking
object operations to a view).
- operationName: This value can be used to select one operation from the
list of available operations at development time. The list is the result of
reading the definition files specified in the client configuration file (dse.ini),
located in the DSEINIDevelopmentPath Setting property. At runtime, if an operationName
is specified, an instance of the operation is created automatically if InstanceOperation
property is true.
- executeWhenOpen: boolean. If true, then the first time the panel is opened
it will execute the default Operation property.
- classForHelpImplementation: Name of the class that has the static method
showHelp(String helpId) implemented.
- disableWhileOperationRunning: boolean. If true, all the visual components
in the panel are disabled while the operation is executing. When the operation
finishes, the visual components return to the state that they were in (enabled
or disabled) when the OK button was clicked.
- instanceOperation: Boolean. If true, makes an Instance of OperationName.
- instanceContext: Boolean. If true, makes an Instance of ContextName.
- isInEuros: Boolean. If true, the button corresponding to euros is enabled,
and the button corresponding to the selected EMU currency is disabled.
- EMUCurrency: A string for the European Monetary Union (EMU) currency to
be used in the conversion from or to euros.
- helpId: Identifier for the help behavior. The help text associated with
this property is shown when the Help button located in the panel is clicked
or the Help key is pressed.
- validationMethod: Specifies the method that is invoked when all required
fields are filled and there is no field in error. The following data can be
customized:
- Class name: The class containing the method that implements the global
validation.
- Method name: There are two possibilities for this panel:
- The method that implements the global validation must have the signature
"static boolean xxx (Context)", where xxx is the entered method name. It must
be implemented in the class specified.
- The method that implements the global validation must have the signature
"static String xxx (Context)", where xxx is the entered method name. It must
be implemented in the class specified. If this method returns null or a String
with length zero, the global validation is successful. Otherwise, validation
has failed and an error message string is returned.
- Error message: The message to be displayed if validation fails (if the
method has a signature "static Boolean xxx (Context)").
- title: The title that appears in the window containing the operation panel
when the XML Desktop is being used.
- iconName: The icon that appears in the window containing the operation
panel when the XML Desktop is being used.