|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
com.ibm.dse.gui.SpTable
The SpTable is a user-interface component that presents data in a two-dimensional table format. The SpTable has many features that make it possible to customize its rendering and editing but provides defaults for these features so that simple tables can be set up easily.
The SpTable uses integers exclusively to refer to both the rows and the columns
of the model that it displays. The SpTable simply takes a tabular range of cells
and uses getValueAt(int, int)
to retrieve and display the values
from the model.
Nested Class Summary |
---|
Nested classes inherited from class javax.swing.JTable |
---|
javax.swing.JTable.AccessibleJTable |
Nested classes inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JTable |
---|
AUTO_RESIZE_ALL_COLUMNS, AUTO_RESIZE_LAST_COLUMN, AUTO_RESIZE_NEXT_COLUMN, AUTO_RESIZE_OFF, AUTO_RESIZE_SUBSEQUENT_COLUMNS, autoCreateColumnsFromModel, autoResizeMode, cellEditor, cellSelectionEnabled, columnModel, dataModel, defaultEditorsByColumnClass, defaultRenderersByColumnClass, editingColumn, editingRow, editorComp, gridColor, preferredViewportSize, rowHeight, rowMargin, rowSelectionAllowed, selectionBackground, selectionForeground, selectionModel, showHorizontalLines, showVerticalLines, tableHeader |
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.Container |
---|
|
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SpTable()
This constructor creates a SpTable object. |
Method Summary | |
---|---|
void |
addActionListener(java.awt.event.ActionListener ae)
Documented in the JDK. |
void |
addCoordinatedEventListener(CoordinatedEventListener newListener)
Adds an CoordinatedEventListener. |
void |
addDataChangedListener(DataChangedListener newListener)
Deprecated. (use addCoordinatedEventListener(CoordinatedEventListener newListener)) |
void |
addErrorMessageListener(ErrorMessageListener newListener)
Adds an ErrorMessageListener. |
protected java.lang.String |
calculateValueInTargetCurrency(java.lang.String source,
boolean toEuro,
int column)
|
void |
columnMoved(javax.swing.event.TableColumnModelEvent e)
a column has been moved. |
void |
componentHidden(java.awt.event.ComponentEvent e)
Invoked when component has been hidden. |
void |
componentMoved(java.awt.event.ComponentEvent e)
Invoked when component has been moved. |
void |
componentResized(java.awt.event.ComponentEvent e)
Invoked when component has been resized. |
void |
componentShown(java.awt.event.ComponentEvent e)
Invoked when component has been shown. |
protected java.lang.String |
convertCurrency(java.lang.String amount,
boolean toEuro)
Converts to/from euro the amount specified as parameter. |
void |
convertFromEuros()
Converts to EMU currency the value in euros and updates appropriately the valueInEuros and valueInEMUCurrency fields. |
void |
convertToEuros()
Converts to euros the value in EMU currency and updates appropriately the valueInEuros and valueInEMUCurrency fields. |
void |
createDefaultColumnsFromModel()
This method will create default columns for the table from the data model using the getColumnCount() and getColumnType() methods defined in the TableModel interface. |
protected void |
evaluateEditingValue()
Evaluates state and color cell of editing value. |
protected void |
executeBeanReactions()
When a Bean changes states and the end state is a non-error state, the Bean will call the beanReaction(java.awt.Component) public static method of the specified class. |
void |
fireCoordinationEvent()
Fires a DSECoordinationEvent when data has changed. |
void |
fireCoordinationEvent(DSECoordinationEvent event)
Fires a DSECoordinationEvent when data has changed. |
void |
fireHandleDataChanged()
Deprecated. (use fireCoordinationEvent()) |
void |
fireHandleDataChanged(DataChangedEvent event)
Method to support listener events. |
void |
fireHandleErrorMessage(ErrorMessageEvent event)
Informs that and error in the table has happened. |
void |
focusGained(java.awt.event.FocusEvent e)
Handles events for the FocusListener interface. |
void |
focusLost(java.awt.event.FocusEvent e)
Handles events for the FocusListener interface. |
boolean |
getActivatedOkKey()
Gets the activatedOkKey property (boolean) value. |
ColorSettings |
getAllColors()
Gets the allColors property (com.ibm.dse.gui.ColorSettings) value. |
java.lang.String |
getAlternativeDataName()
Gets the alternativeDataName property (java.lang.String) value. |
java.lang.String |
getBeansReactions()
Gets the beansReactions property (java.lang.String) value. |
Converter |
getConverter(int column)
Gets the converter property associated to the column column . |
boolean |
getConvertible(int column)
Gets the EMU-Euro convertible property associated to the column column . |
java.lang.String |
getDataDirection()
Gets the dataDirection property (java.lang.String) value. |
DataElement |
getDataElement(int arg1,
int arg2)
Returns the cell DataElement at row=arg1 and column=arg2. |
java.lang.String |
getDataName()
Gets the dataName property (java.lang.String) value. |
VectorEditor |
getDataNameAndColumns()
Gets the dataNameAndColumns property (com.ibm.dse.gui.VectorEditor) value. |
java.lang.String |
getDataNameForList()
Gets the dataNameForList property (java.lang.String) value. |
java.lang.String |
getDataToClear()
Gets the dataToClear property (java.lang.String) value. |
java.lang.Object |
getDataValue()
Gets the dataValue property (Object) value. |
java.lang.Object |
getDataValueForList()
Gets the dataValueForList property (java.lang.Object) value. |
DSECoordinatedPanel |
getDSECoordinatedPanel()
Gets the DSECoordinatedPanel where the component is placed |
java.lang.String |
getErrorMessage()
Gets the ErrorMessage property value from its formatters (if exists). |
java.lang.String[] |
getErrorMessage(int row,
int column)
Gets the errorMessage property value. |
java.lang.String |
getHelpID()
Gets the helpID property (java.lang.String) value. |
boolean |
getInError()
Gets the inError property (boolean) value. |
boolean |
getInError(int row,
int column)
Gets the inError property (boolean) value. |
boolean |
getIsEmpty()
Gets the Empty property (boolean) value. |
NavigationParameters |
getNavigationParameters()
Gets the navigationParameters property (com.ibm.dse.gui.NavigationParameters) value. |
protected boolean |
getRefreshList()
Gets the refeshList property (boolean) value. |
boolean |
getSelectionRequired()
Gets the selectionRequired property (boolean) value. |
protected java.lang.String |
getSourceValueForConversion(int row,
int column)
Returns the cell value at row and column formatted with the formatter column. |
protected java.lang.String |
getSourceValueForConversion2(java.lang.String text,
int column)
It receives a String formatted with the formatter column. |
SpPanel |
getSpPanel()
Gets the SpPanel where the component is placed |
java.lang.String |
getType()
Gets the type property (java.lang.String) value. |
java.lang.Object |
getValueInEMUCurrency()
Gets the valueInEMUCurrency property (Object) value. |
java.lang.Object |
getValueInEMUCurrency(int row,
int column)
Gets the valueInEMUCurrency property (Object) value. |
java.lang.Object |
getValueInEuros()
Gets the valueInEuros property (Object) value. |
java.lang.Object |
getValueInEuros(int row,
int column)
Gets the valueInEuroCurrency property (Object) value. |
boolean |
hasAlternativeDataName()
Returns if the SpTable has alternative data name attribute. |
boolean |
isInError()
Gets the inError property (boolean) value. |
boolean |
isKeyedValue()
if true this bean returns a composed data value. |
boolean |
isRequired()
Returns if the SpTable is required or not. |
void |
keyPressed(java.awt.event.KeyEvent e)
Handles events for the KeyListener interface. |
void |
moveColumn(int column,
int targetColumn)
Moves the column column to the position currently occupied by the column targetColumn. |
protected void |
moveDataNameAndColumns(VectorEditor dataNameAndColumns)
|
protected void |
processComponentKeyEvent(java.awt.event.KeyEvent e)
It is called after interested listeners have managed the event. |
protected void |
processKeyEvent(java.awt.event.KeyEvent e)
Processes key events occurring on this component. |
void |
removeActionListener(java.awt.event.ActionListener ae)
To comply with DataExchanger interface. |
void |
removeCoordinatedEventListener(CoordinatedEventListener newListener)
Removes a CoordinatedEventListener. |
void |
removeDataChangedListener(DataChangedListener newListener)
Deprecated. (use removeCoordinatedEventListener(CoordinatedEventListener newListener)) |
void |
removeErrorMessageListener(ErrorMessageListener newListener)
Removes an ErrorMessageListener. |
protected void |
rowSelected(javax.swing.event.ListSelectionEvent e)
A row in the table has been selected |
void |
setActivatedOkKey(boolean activatedOkKey)
Sets the activatedOkKey property (boolean) value. |
void |
setAllColors(ColorSettings allColors)
Sets the allColors property (com.ibm.dse.gui.ColorSettings) value. |
void |
setAlternativeDataName(java.lang.String alternativeDataName)
Sets the alternativeDataName property (java.lang.String) value. |
void |
setBeansReactions(java.lang.String beansReactions)
Sets the beansReactions property (java.lang.String) value. |
void |
setComponentOrientation(java.awt.ComponentOrientation o)
Set the language-sensitive orientation that is to be used to order the elements or text within this component. |
void |
setDataDirection(java.lang.String dataDirection)
Sets the dataDirection property (java.lang.String) value. |
void |
setDataName(java.lang.String dataName)
Sets the dataName property (java.lang.String) value. |
void |
setDataNameAndColumns(VectorEditor dataNameAndColumns)
Sets the dataNameAndColumns property (com.ibm.dse.gui.VectorEditor) value. |
void |
setDataNameForList(java.lang.String dataNameForList)
Sets the dataNameForList property (java.lang.String) value. |
void |
setDataToClear(java.lang.String dataToClear)
Sets the dataToClear property (java.lang.String) value. |
void |
setDataValue(java.lang.Object dataValue)
Sets the dataValue property (Object) value. |
void |
setDataValueForList(java.lang.Object dataValue)
Sets the dataValueForList property (Object) value. |
protected void |
setDataValueFromHash(Hashtable ht)
Sets the dataValue property value from a Hashtable. |
void |
setEmpty(boolean inEmpty,
int row,
int column)
Sets the empty property (boolean) value. |
void |
setEnabled(boolean b)
Enables or disables the SpTable depending on the parameter. |
protected void |
setErrorMessage(java.lang.String[] messageError,
int row,
int column)
Sets the errorMessage property (String[]) value. |
protected void |
setErrorMessage(java.lang.String messageError,
int row,
int column)
Sets the errorMessage property (String) value. |
void |
setHelpID(java.lang.String helpID)
Sets the helpID property (java.lang.String) value. |
void |
setInError(boolean inError,
int row,
int column)
Sets the inError property (boolean) value. |
void |
setNavigationParameters(NavigationParameters navigationParameters)
Sets the navigationParameters property (com.ibm.dse.gui.NavigationParameters) value. |
protected void |
setRefreshList(boolean refeshList)
Sets the refeshList property (boolean) value. |
void |
setRequired(boolean required)
Sets the required property (boolean) value. |
void |
setSelectionRequired(boolean selectionRequired)
Sets the selectionRequired property (boolean) value. |
void |
setType(java.lang.String type)
Sets the type property (java.lang.String) value. |
void |
setValueAt(java.lang.Object aValue,
int row,
int column)
Sets the value for the cell at row and column. |
void |
setValueInEMUCurrency(java.lang.Object valueInEMUCurrency)
Sets the valueInEMUCurrency property (java.lang.Object) value. |
void |
setValueInEMUCurrency(java.lang.Object valueInEMUCurrency,
int row,
int column)
Sets the valueInEMUCurrency property (java.lang.Object) value. |
void |
setValueInEuros(java.lang.Object valueInEuros)
Sets the valueInEuros property (Object) value. |
void |
setValueInEuros(java.lang.Object valueInEuro,
int row,
int column)
Sets the valueInEuros property (Object) value. |
protected void |
updateValues(java.lang.String ve,
java.lang.String vp,
int row,
int column)
Sets the valueInEuros and valueInEMUCurrency properties. |
Methods inherited from class javax.swing.JTable |
---|
addColumn, addColumnSelectionInterval, addNotify, addRowSelectionInterval, changeSelection, clearSelection, columnAdded, columnAtPoint, columnMarginChanged, columnRemoved, columnSelectionChanged, configureEnclosingScrollPane, convertColumnIndexToModel, convertColumnIndexToView, createDefaultColumnModel, createDefaultDataModel, createDefaultEditors, createDefaultRenderers, createDefaultSelectionModel, createDefaultTableHeader, createScrollPaneForTable, doLayout, editCellAt, editCellAt, editingCanceled, editingStopped, getAccessibleContext, getAutoCreateColumnsFromModel, getAutoResizeMode, getCellEditor, getCellEditor, getCellRect, getCellRenderer, getCellSelectionEnabled, getColumn, getColumnClass, getColumnCount, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getDragEnabled, getEditingColumn, getEditingRow, getEditorComponent, getGridColor, getIntercellSpacing, getModel, getPreferredScrollableViewportSize, getRowCount, getRowHeight, getRowHeight, getRowMargin, getRowSelectionAllowed, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getSelectionBackground, getSelectionForeground, getSelectionModel, getShowHorizontalLines, getShowVerticalLines, getSurrendersFocusOnKeystroke, getTableHeader, getToolTipText, getUI, getUIClassID, getValueAt, initializeLocalVars, isCellEditable, isCellSelected, isColumnSelected, isEditing, isRowSelected, paramString, prepareEditor, prepareRenderer, processKeyBinding, removeColumn, removeColumnSelectionInterval, removeEditor, removeNotify, removeRowSelectionInterval, resizeAndRepaint, rowAtPoint, selectAll, setAutoCreateColumnsFromModel, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setDragEnabled, setEditingColumn, setEditingRow, setGridColor, setIntercellSpacing, setModel, setPreferredScrollableViewportSize, setRowHeight, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setSelectionBackground, setSelectionForeground, setSelectionMode, setSelectionModel, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setSurrendersFocusOnKeystroke, setTableHeader, setUI, sizeColumnsToFit, sizeColumnsToFit, tableChanged, unconfigureEnclosingScrollPane, updateUI, valueChanged |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SpTable()
Method Detail |
public void addActionListener(java.awt.event.ActionListener ae)
addActionListener
in interface DataExchanger
ae
- java.awt.event.ActionEventpublic void addCoordinatedEventListener(CoordinatedEventListener newListener)
addCoordinatedEventListener
in interface DataExchanger
newListener
- CoordinatedEventListenerpublic void addDataChangedListener(DataChangedListener newListener)
addDataChangedListener
in interface DataExchanger
newListener
- DataChangedListenerpublic void addErrorMessageListener(ErrorMessageListener newListener)
addErrorMessageListener
in interface ErrorMessageGenerator
newListener
- ErrorMessageListenerprotected java.lang.String calculateValueInTargetCurrency(java.lang.String source, boolean toEuro, int column)
public void columnMoved(javax.swing.event.TableColumnModelEvent e)
columnMoved
in interface javax.swing.event.TableColumnModelListener
public void componentHidden(java.awt.event.ComponentEvent e)
componentHidden
in interface java.awt.event.ComponentListener
public void componentMoved(java.awt.event.ComponentEvent e)
componentMoved
in interface java.awt.event.ComponentListener
public void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
public void componentShown(java.awt.event.ComponentEvent e)
componentShown
in interface java.awt.event.ComponentListener
protected java.lang.String convertCurrency(java.lang.String amount, boolean toEuro)
amount
- String, the amount to be converted (formatted as "standard" float)toEuro
- boolean, indicates if the conversion is to or from euro
public void convertFromEuros()
convertFromEuros
in interface EuroConvertible
public void convertToEuros()
convertToEuros
in interface EuroConvertible
public void createDefaultColumnsFromModel()
protected void evaluateEditingValue()
protected void executeBeanReactions()
public void fireCoordinationEvent()
public void fireCoordinationEvent(DSECoordinationEvent event)
event
- DSECoordinationEventpublic void fireHandleDataChanged()
public void fireHandleDataChanged(DataChangedEvent event)
event
- DataChangedEventpublic void fireHandleErrorMessage(ErrorMessageEvent event)
fireHandleErrorMessage
in interface ErrorMessageGenerator
event
- ErrorMessageEventpublic void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
e
- java.awt.event.FocusEventpublic void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
e
- java.awt.event.FocusEventpublic boolean getActivatedOkKey()
getActivatedOkKey
in interface GUIComponent
setActivatedOkKey(boolean)
public ColorSettings getAllColors()
setAllColors(com.ibm.dse.gui.ColorSettings)
public java.lang.String getAlternativeDataName()
getAlternativeDataName
in interface DataExchanger
setAlternativeDataName(java.lang.String)
public java.lang.String getBeansReactions()
setBeansReactions(java.lang.String)
public Converter getConverter(int column)
column
.
column
- int - the column associated.
column
.public boolean getConvertible(int column)
column
.
column
- int - the column associated
public java.lang.String getDataDirection()
getDataDirection
in interface DataExchanger
setDataDirection(java.lang.String)
public DataElement getDataElement(int arg1, int arg2)
arg1
- int, the rowarg2
- int, the column
public java.lang.String getDataName()
getDataName
in interface DataExchanger
setDataName(java.lang.String)
public VectorEditor getDataNameAndColumns()
setDataNameAndColumns(com.ibm.dse.gui.VectorEditor)
public java.lang.String getDataNameForList()
getDataNameForList
in interface DataExchangerWithList
setDataNameForList(java.lang.String)
public java.lang.String getDataToClear()
getDataToClear
in interface PanelActions
setDataToClear(java.lang.String)
public java.lang.Object getDataValue()
getDataValue
in interface DataExchanger
setDataValue(java.lang.Object)
public java.lang.Object getDataValueForList()
setDataValueForList(java.lang.Object)
public DSECoordinatedPanel getDSECoordinatedPanel()
getDSECoordinatedPanel
in interface PanelActions
public java.lang.String getErrorMessage()
getErrorMessage
in interface DataExchanger
public java.lang.String[] getErrorMessage(int row, int column)
row
- int, the rowcolumn
- int, the column
public java.lang.String getHelpID()
setHelpID(java.lang.String)
public boolean getInError()
setInError(boolean, int, int)
public boolean getInError(int row, int column)
row
- int, the rowcolumn
- int, the column
setInError(boolean, int, int)
public boolean getIsEmpty()
#setInEmpty
public NavigationParameters getNavigationParameters()
getNavigationParameters
in interface DataExchanger
setNavigationParameters(com.ibm.dse.gui.NavigationParameters)
protected boolean getRefreshList()
setRefreshList(boolean)
public boolean getSelectionRequired()
setSelectionRequired(boolean)
protected java.lang.String getSourceValueForConversion(int row, int column)
protected java.lang.String getSourceValueForConversion2(java.lang.String text, int column)
public SpPanel getSpPanel()
getSpPanel
in interface PanelActions
public java.lang.String getType()
getType
in interface DataExchanger
setType(java.lang.String)
public java.lang.Object getValueInEMUCurrency()
getValueInEMUCurrency
in interface EuroConvertible
setValueInEMUCurrency(java.lang.Object)
public java.lang.Object getValueInEMUCurrency(int row, int column)
row
- int, the row.column
- int, the column
setValueInEMUCurrency(java.lang.Object)
public java.lang.Object getValueInEuros()
getValueInEuros
in interface EuroConvertible
setValueInEuros(java.lang.Object)
public java.lang.Object getValueInEuros(int row, int column)
row
- int, the rowcolumn
- int, the column
#setValueInEurosCurrency
public boolean hasAlternativeDataName()
hasAlternativeDataName
in interface DataExchanger
public boolean isInError()
isInError
in interface DataExchanger
setInError(boolean, int, int)
public boolean isKeyedValue()
isKeyedValue
in interface DataExchanger
public boolean isRequired()
isRequired
in interface DataExchanger
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface GUIComponent
e
- java.awt.event.KeyEventpublic void moveColumn(int column, int targetColumn)
column
- the index of column to be movedtargetColumn
- the new index of the columnprotected void moveDataNameAndColumns(VectorEditor dataNameAndColumns)
protected void processComponentKeyEvent(java.awt.event.KeyEvent e)
protected void processKeyEvent(java.awt.event.KeyEvent e)
e
- KeyEventpublic void removeActionListener(java.awt.event.ActionListener ae)
removeActionListener
in interface DataExchanger
ae
- java.awt.event.ActionEventpublic void removeCoordinatedEventListener(CoordinatedEventListener newListener)
removeCoordinatedEventListener
in interface DataExchanger
newListener
- DataChangedListenerpublic void removeDataChangedListener(DataChangedListener newListener)
removeDataChangedListener
in interface DataExchanger
newListener
- DataChangedListenerpublic void removeErrorMessageListener(ErrorMessageListener newListener)
removeErrorMessageListener
in interface ErrorMessageGenerator
newListener
- ErrorMessageListenerprotected void rowSelected(javax.swing.event.ListSelectionEvent e)
public void setActivatedOkKey(boolean activatedOkKey)
setActivatedOkKey
in interface GUIComponent
activatedOkKey
- boolean, the new value for the propertygetActivatedOkKey()
public void setAllColors(ColorSettings allColors)
allColors
- ColorSettings, the new value for the propertygetAllColors()
public void setAlternativeDataName(java.lang.String alternativeDataName)
setAlternativeDataName
in interface DataExchanger
alternativeDataName
- The new value for the property.getAlternativeDataName()
public void setBeansReactions(java.lang.String beansReactions)
beansReactions
- The new value for the property.getBeansReactions()
public void setComponentOrientation(java.awt.ComponentOrientation o)
At construction time, a component's orientation is set to ComponentOrientation.UNKNOWN, indicating that it has not been specified explicitly. The UNKNOWN orientation behaves the same as ComponentOrientation.LEFT_TO_RIGHT.
To set the orientation of a single component, use this method. To apply a ResourceBundle's orientation to an entire component hierarchy, use java.awt.Window.applyResourceBundle.
public void setDataDirection(java.lang.String dataDirection)
setDataDirection
in interface DataExchanger
dataDirection
- String, the new value for the property. One of the following constants defined in DataDirectionEditor:BOTH_DIRECTION, INPUT_DIRECTION, OUTPUT_DIRECTIONgetDataDirection()
public void setDataName(java.lang.String dataName)
setDataName
in interface DataExchanger
dataName
- String, the new value for the propertygetDataName()
public void setDataNameAndColumns(VectorEditor dataNameAndColumns)
dataNameAndColumns
- VectorEditor, the new value for the propertygetDataNameAndColumns()
public void setDataNameForList(java.lang.String dataNameForList)
setDataNameForList
in interface DataExchangerWithList
dataNameForList
- The new value for the property.getDataNameForList()
public void setDataToClear(java.lang.String dataToClear)
dataToClear
- The new value for the property.getDataToClear()
public void setDataValue(java.lang.Object dataValue)
setDataValue
in interface DataExchanger
dataValue
- Object, the new value for the propertygetDataValue()
public void setDataValueForList(java.lang.Object dataValue)
setDataValueForList
in interface DataExchangerWithList
dataValue
- Object, the new value for the dataValueForList property#getDataValueForList
protected void setDataValueFromHash(Hashtable ht)
getDataValue()
public void setEmpty(boolean inEmpty, int row, int column)
row
- int, the rowcolumn
- int, the columninEmpty
- boolean, the new value for the property in cell(row,column)getIsEmpty()
public void setEnabled(boolean b)
b
- boolean, that indicates if the SpTable must be enabled or notprotected void setErrorMessage(java.lang.String[] messageError, int row, int column)
row
- int, the rowcolumn
- int, the columnprotected void setErrorMessage(java.lang.String messageError, int row, int column)
row
- int, the rowcolumn
- int, the columnpublic void setHelpID(java.lang.String helpID)
setHelpID
in interface DataExchanger
helpID
- String, the new value for the propertygetHelpID()
public void setInError(boolean inError, int row, int column)
row
- int, the rowcolumn
- int,the columninError
- boolean, the new value for the property at row and columngetInError()
public void setNavigationParameters(NavigationParameters navigationParameters)
setNavigationParameters
in interface DataExchanger
navigationParameters
- The new value for the property.getNavigationParameters()
protected void setRefreshList(boolean refeshList)
refeshList
- The new value for the property.getRefreshList()
public void setRequired(boolean required)
setRequired
in interface DataExchanger
required
- boolean, the new value for the propertypublic void setSelectionRequired(boolean selectionRequired)
selectionRequired
- The new value for the property.getSelectionRequired()
public void setType(java.lang.String type)
setType
in interface DataExchanger
type
- The new value for the property.getType()
public void setValueAt(java.lang.Object aValue, int row, int column)
aValue
- Object, the new valuerow
- int, the row whose value is to be changedcolumn
- int, the column whose value is to be changedpublic void setValueInEMUCurrency(java.lang.Object valueInEMUCurrency)
setValueInEMUCurrency
in interface EuroConvertible
valueInEMUCurrency
- Object, the new value for the propertygetValueInEMUCurrency()
public void setValueInEMUCurrency(java.lang.Object valueInEMUCurrency, int row, int column)
valueInEMUCurrency
- Object, the new value for the property at row and column.row
- int, the rowcolumn
- int, the columngetValueInEMUCurrency()
public void setValueInEuros(java.lang.Object valueInEuros)
setValueInEuros
in interface EuroConvertible
valueInEuros
- Object, the new value for the propertygetValueInEuros()
public void setValueInEuros(java.lang.Object valueInEuro, int row, int column)
row
- int, the rowcolumn
- int, the columngetValueInEuros()
protected void updateValues(java.lang.String ve, java.lang.String vp, int row, int column)
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |