|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.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.
Inner classes inherited from class javax.swing.JTable |
javax.swing.JTable.AccessibleJTable |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
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.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
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. |
protected 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,
clearSelection,
columnAdded,
columnAtPoint,
columnMarginChanged,
columnRemoved,
columnSelectionChanged,
configureEnclosingScrollPane,
convertColumnIndexToModel,
convertColumnIndexToView,
createDefaultColumnModel,
createDefaultDataModel,
createDefaultEditors,
createDefaultRenderers,
createDefaultSelectionModel,
createDefaultTableHeader,
createScrollPaneForTable,
editCellAt,
editCellAt,
editingCanceled,
editingStopped,
getAccessibleContext,
getAutoCreateColumnsFromModel,
getAutoResizeMode,
getCellEditor,
getCellEditor,
getCellRect,
getCellRenderer,
getCellSelectionEnabled,
getColumn,
getColumnClass,
getColumnCount,
getColumnModel,
getColumnName,
getColumnSelectionAllowed,
getDefaultEditor,
getDefaultRenderer,
getEditingColumn,
getEditingRow,
getEditorComponent,
getGridColor,
getIntercellSpacing,
getModel,
getPreferredScrollableViewportSize,
getRowCount,
getRowHeight,
getRowMargin,
getRowSelectionAllowed,
getScrollableBlockIncrement,
getScrollableTracksViewportHeight,
getScrollableTracksViewportWidth,
getScrollableUnitIncrement,
getSelectedColumn,
getSelectedColumnCount,
getSelectedColumns,
getSelectedRow,
getSelectedRowCount,
getSelectedRows,
getSelectionBackground,
getSelectionForeground,
getSelectionModel,
getShowHorizontalLines,
getShowVerticalLines,
getTableHeader,
getToolTipText,
getUI,
getUIClassID,
getValueAt,
initializeLocalVars,
isCellEditable,
isCellSelected,
isColumnSelected,
isEditing,
isManagingFocus,
isRowSelected,
paramString,
prepareEditor,
prepareRenderer,
removeColumn,
removeColumnSelectionInterval,
removeEditor,
removeRowSelectionInterval,
reshape,
resizeAndRepaint,
rowAtPoint,
selectAll,
setAutoCreateColumnsFromModel,
setAutoResizeMode,
setCellEditor,
setCellSelectionEnabled,
setColumnModel,
setColumnSelectionAllowed,
setColumnSelectionInterval,
setDefaultEditor,
setDefaultRenderer,
setEditingColumn,
setEditingRow,
setGridColor,
setIntercellSpacing,
setModel,
setPreferredScrollableViewportSize,
setRowHeight,
setRowMargin,
setRowSelectionAllowed,
setRowSelectionInterval,
setSelectionBackground,
setSelectionForeground,
setSelectionMode,
setSelectionModel,
setShowGrid,
setShowHorizontalLines,
setShowVerticalLines,
setTableHeader,
setUI,
sizeColumnsToFit,
sizeColumnsToFit,
tableChanged,
updateUI,
valueChanged |
Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addPropertyChangeListener,
addPropertyChangeListener,
addVetoableChangeListener,
computeVisibleRect,
contains,
createToolTip,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getMinimumSize,
getNextFocusableComponent,
getPreferredSize,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paint,
paintBorder,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processFocusEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
setVisible,
unregisterKeyboardAction,
update |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
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)
ae
- java.awt.event.ActionEventpublic void addCoordinatedEventListener(CoordinatedEventListener newListener)
newListener
- CoordinatedEventListenerpublic void addDataChangedListener(DataChangedListener newListener)
newListener
- DataChangedListenerpublic void addErrorMessageListener(ErrorMessageListener newListener)
newListener
- ErrorMessageListenerprotected java.lang.String calculateValueInTargetCurrency(java.lang.String source, boolean toEuro, int column)
public void columnMoved(javax.swing.event.TableColumnModelEvent e)
public void componentHidden(java.awt.event.ComponentEvent e)
public void componentMoved(java.awt.event.ComponentEvent e)
public void componentResized(java.awt.event.ComponentEvent e)
public void componentShown(java.awt.event.ComponentEvent e)
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 europublic void convertFromEuros()
public void convertToEuros()
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)
event
- ErrorMessageEventpublic void focusGained(java.awt.event.FocusEvent e)
e
- java.awt.event.FocusEventpublic void focusLost(java.awt.event.FocusEvent e)
e
- java.awt.event.FocusEventpublic boolean getActivatedOkKey()
setActivatedOkKey(boolean)
public ColorSettings getAllColors()
setAllColors(com.ibm.dse.gui.ColorSettings)
public java.lang.String getAlternativeDataName()
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 associatedpublic java.lang.String getDataDirection()
setDataDirection(java.lang.String)
protected DataElement getDataElement(int arg1, int arg2)
arg1
- int, the rowarg2
- int, the columnpublic java.lang.String getDataName()
setDataName(java.lang.String)
public VectorEditor getDataNameAndColumns()
setDataNameAndColumns(com.ibm.dse.gui.VectorEditor)
public java.lang.String getDataNameForList()
setDataNameForList(java.lang.String)
public java.lang.String getDataToClear()
setDataToClear(java.lang.String)
public java.lang.Object getDataValue()
setDataValue(java.lang.Object)
public java.lang.Object getDataValueForList()
setDataValueForList(java.lang.Object)
public DSECoordinatedPanel getDSECoordinatedPanel()
public java.lang.String getErrorMessage()
public java.lang.String[] getErrorMessage(int row, int column)
row
- int, the rowcolumn
- int, the columnpublic 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 columnsetInError(boolean, int, int)
public boolean getIsEmpty()
#setInEmpty
public NavigationParameters getNavigationParameters()
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()
public java.lang.String getType()
setType(java.lang.String)
public java.lang.Object getValueInEMUCurrency()
setValueInEMUCurrency(java.lang.Object)
public java.lang.Object getValueInEMUCurrency(int row, int column)
row
- int, the row.column
- int, the columnsetValueInEMUCurrency(java.lang.Object)
public java.lang.Object getValueInEuros()
setValueInEuros(java.lang.Object)
public java.lang.Object getValueInEuros(int row, int column)
row
- int, the rowcolumn
- int, the column#setValueInEurosCurrency
public boolean hasAlternativeDataName()
public boolean isInError()
setInError(boolean, int, int)
public boolean isKeyedValue()
public boolean isRequired()
public void keyPressed(java.awt.event.KeyEvent e)
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)
ae
- java.awt.event.ActionEventpublic void removeCoordinatedEventListener(CoordinatedEventListener newListener)
newListener
- DataChangedListenerpublic void removeDataChangedListener(DataChangedListener newListener)
newListener
- DataChangedListenerpublic void removeErrorMessageListener(ErrorMessageListener newListener)
newListener
- ErrorMessageListenerprotected void rowSelected(javax.swing.event.ListSelectionEvent e)
javax.swing.event.ListSelectionEvent
- e, the eventpublic void setActivatedOkKey(boolean activatedOkKey)
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)
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)
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)
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)
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)
dataValue
- Object, the new value for the propertygetDataValue()
public void setDataValueForList(java.lang.Object dataValue)
dataValueForList
- Object, the new value for the propertyprotected void setDataValueFromHash(Hashtable ht)
dataValue
- The new value for the property.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)
errorMessage
- String[], the new value for the property at row and column.row
- int, the rowcolumn
- int, the columnprotected void setErrorMessage(java.lang.String messageError, int row, int column)
errorMessage
- Stringt, the new value for the property at row and column.row
- int, the rowcolumn
- int, the columnpublic void setHelpID(java.lang.String helpID)
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)
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)
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)
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)
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)
valueInEuros
- Object, the new value for the propertygetValueInEuros()
public void setValueInEuros(java.lang.Object valueInEuro, int row, int column)
valueInEuros
- Object, the new value for the property at row and columnrow
- int, the rowcolumn
- int, the columngetValueInEuros()
protected void updateValues(java.lang.String ve, java.lang.String vp, int row, int column)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |