Class: com.ibm.dse.gui.SpTable
Extends: java.swing.JTable
Implements:
com.ibm.dse.gui.DataExchangerWithList
The SpTable class has the following
properties:
- alternativeDataName: A data element name defined in the context. It is
of type KeyedCollection.
- BeansReactions: A class name. When a bean changes states and the end state
is a non-error state, the bean will call the beanReaction(java.awt.Component)
static method of the specified class.
- dataName: A dataElement defined in the context or operation context. It
is of type KeyedCollection.
- dataNameAndColumns: Contains the following information:
- The IndexedCollection in the context associated to the table.
- The columns in the table (must be a subset of the keys of the KeyedCollection
that is defined inside the IndexedCollection).
Each column contains the column name, the formatter to be used, the
column size, and whether the column is editable.
- dataToClear: Clears the data exchangers according to the value in the
dataDirection property, which can be Input, Output, or Both. Applicable to
the Clear button type.
- helpId: Identifier for the online help function. The help text associated
with this property is shown when the Help key is pressed. If this property
is not defined, the HelpId of the panel where the button is located is used.
If that panel's helpId property is not defined, the parent panels are searched
recursively until the property is found or the DSECoordinatedPanel is reached.
If the helpID value is not found at the DSECoordinatedPanel, null is used.
- dataDirection: Specifies the direction in which a consistency check is
made between the associated data element and the bean. Following are the possible
values:
- Input: When the combo box is selected, the data element in dataName associated
with the bean is updated.
- Output: When the data element in dataName associated with the bean changes,
the combo box is updated.
- Both: Both the Input and Output behaviors occur.
- navigationParameters: An object that contains properties to facilitate
navigation between views. (For more information about this object see NavigationParameters
object description.) Only the properties that are needed for the specified
type are significant (see the type property, below).
- selectionRequired: boolean. If true, a selection is required before enabling
the execute and OK button types.
- type: Specifies the type of table. Possible values are Default, OK, Clear,
Close, Repeat, Euro, EMUCurrency, Help, Previous View, Next View, Undo, Cancel,
Open View, None, and Execute Operation.