public class PIASpecSpreadSheet extends PIASpreadSheet implements PCollectDataListener
JTable.AccessibleJTable, JTable.DropLocation, JTable.PrintModeJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyboundSupport, dpyFldFmt, mAttribImpl, mDataIsUntyped, mDefaultModel, mImpl, mSelSup, mSpreadSheetListener, mTableModelAUTO_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, tableHeaderlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
PIASpecSpreadSheet()
Creates a new Portal-aware spread sheet component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectData(PCollectDataEvent event)
CollectDataListener override.
|
boolean |
getCollectChangedCellsOnly()
Returns the
collectData(0) policy |
String |
getControllerClassName()
Retrieves the class name of this component's controller
|
boolean[] |
getIdxCurrencyDisplay() |
boolean |
getIdxCurrencyDisplay(int col)
Retrieves the currency display status for the given column
|
String[] |
getIdxDisplayFieldDescription() |
String |
getIdxDisplayFieldDescription(int col)
Retrieves the display field description for the given column
|
String[] |
getIdxModelFieldDescription() |
String |
getIdxModelFieldDescription(int col) |
String |
getIgnoreClassName(int column) |
void |
ignoreRenderingForThisClass(Class[] cls,
int[] columnNo) |
boolean |
isIgnoringClassConfigured() |
boolean |
isUntypedData()
Determines if this table supports typed or untyped data
|
void |
resetClassIgnoring() |
void |
revertToPrimary(int primary)
Causes the widget to display its data in the primary currency
|
void |
setCollectChangedCellsOnly(boolean b)
Policy that determines how
collectData() works for
this component. |
void |
setData(Vector v)
Overridden to possibly convert the data to secondary currency if
required.
|
void |
setIdxCurrencyDisplay(boolean[] b)
Used to express which table columns are displaying currency data
|
void |
setIdxCurrencyDisplay(int col,
boolean b)
Used to the given table column is displaying currency data
|
void |
setIdxDisplayFieldDescription(int col,
String fieldDisp)
Sets the description of the field(s) in the data model that should
be displayed in a given column
|
void |
setIdxDisplayFieldDescription(String[] fieldDisp)
Sets the description of the field(s) in the data model that should
be displayed in a given column
|
void |
setIdxModelFieldDescription(int col,
String fieldDesc)
Sets the description of the field in the data model that is most
important for the given column.
|
void |
setIdxModelFieldDescription(String[] fieldDesc)
Sets the description of the field in the data model that is most
important for the given column.
|
void |
setUntypedData(boolean b)
Use this API to inform the table that the PModelHandle data it will
receive from BAS will contain UNTYPED data (hand-generated FLists).
|
Object |
togglePrimaryToSecondary(int primary,
int secondary)
Converts all data (in currency columns) from the first currency type
to the second currency type.
|
void |
viewDataChange(PViewDataChangeEvent event)
Implements the PViewDataChangeListener interface
|
actionPerformed, addIASelectionListener, addNotify, addRow, addSpreadSheetListener, clear, convertToVector, createSSDefaultRenderers, editingStopped, editorFromType, export, getAscendingSortIcon, getAscendingSortIconWidth, getAssociatedClass, getColumnIdentifiers, getDescendingSortIcon, getDescendingSortIconWidth, getDisplayFieldDescription, getDisplayFieldFormat, getExportHandler, getExportHandler, getField, getHelpID, getIdxDisplayFieldFormat, getIdxDisplayFieldFormat, getModelFieldDescription, getModelHandle, getModelHandleAt, getModelIndex, getNewRenderer, getRemoteComponent, getResourceName, getRowBackground, getRowPosition, getRowPosition, getSavedSelectedRows, getTools, hideColumn, hideColumn, htmlProcess, initColumnLayout, insertRow, isCurrencyDisplay, isDirty, isError, isHeaderSortingSupported, isInputTracking, isLight, isRequired, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, removeColumn, removeIASelectionListener, removeRow, removeSpreadSheetListener, resetSortColumn, resetToDefault, saveColumnLayout, setAscendingSortIcon, setAssociatedClass, setClean, setColumnData, setColumnEditable, setColumnIdentifiers, setCurrencyDisplay, setData, setDefault, setDefaultEditor, setDefaultRenderer, setDescendingSortIcon, setDisplayFieldDescription, setDisplayFieldFormat, setError, setField, setHeaderSortingSupported, setHelpID, setIdxDisplayFieldFormat, setIdxDisplayFieldFormat, setInputTracking, setLayoutID, setModel, setModelFieldDescription, setModelHandle, setRequired, setResourceName, setRowBackground, setRowBackground, setSelectedRows, setupDefaultModel, setValueAt, setValueAt, showColumn, showColumn, sortByColumn, tableChanged, unregister, valueChangedaddColumn, addColumnSelectionInterval, addRowSelectionInterval, changeSelection, clearSelection, columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, configureEnclosingScrollPane, convertColumnIndexToModel, convertColumnIndexToView, convertRowIndexToModel, convertRowIndexToView, createDefaultColumnModel, createDefaultColumnsFromModel, createDefaultDataModel, createDefaultEditors, createDefaultRenderers, createDefaultSelectionModel, createDefaultTableHeader, createScrollPaneForTable, doLayout, editCellAt, editCellAt, editingCanceled, getAccessibleContext, getAutoCreateColumnsFromModel, getAutoCreateRowSorter, getAutoResizeMode, getCellEditor, getCellEditor, getCellRect, getCellRenderer, getCellSelectionEnabled, getColumn, getColumnClass, getColumnCount, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getDragEnabled, getDropLocation, getDropMode, getEditingColumn, getEditingRow, getEditorComponent, getFillsViewportHeight, getGridColor, getIntercellSpacing, getModel, getPreferredScrollableViewportSize, getPrintable, getRowCount, getRowHeight, getRowHeight, getRowMargin, getRowSelectionAllowed, getRowSorter, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getSelectionBackground, getSelectionForeground, getSelectionModel, getShowHorizontalLines, getShowVerticalLines, getSurrendersFocusOnKeystroke, getTableHeader, getToolTipText, getUI, getUIClassID, getUpdateSelectionOnSort, getValueAt, initializeLocalVars, isCellEditable, isCellSelected, isColumnSelected, isEditing, isRowSelected, moveColumn, paramString, prepareEditor, prepareRenderer, print, print, print, print, print, processKeyBinding, removeColumn, removeColumnSelectionInterval, removeEditor, removeNotify, removeRowSelectionInterval, resizeAndRepaint, rowAtPoint, selectAll, setAutoCreateColumnsFromModel, setAutoCreateRowSorter, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setDragEnabled, setDropMode, setEditingColumn, setEditingRow, setFillsViewportHeight, setGridColor, setIntercellSpacing, setPreferredScrollableViewportSize, setRowHeight, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setRowSorter, setSelectionBackground, setSelectionForeground, setSelectionMode, setSelectionModel, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setSurrendersFocusOnKeystroke, setTableHeader, setUI, setUpdateSelectionOnSort, sizeColumnsToFit, sizeColumnsToFit, sorterChanged, unconfigureEnclosingScrollPane, updateUIaddAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic PIASpecSpreadSheet()
public void setCollectChangedCellsOnly(boolean b)
collectData() works for
this component. Either only modified cells are returned, or an
entire row containing a dirty cell is returned.
By default, only modified cells are returned.b - the policy determining how collectData() works.public boolean getCollectChangedCellsOnly()
collectData(0) policypublic void setIdxModelFieldDescription(String[] fieldDesc) throws RemoteException
fieldDesc - String array describing the fields used by the columnsRemoteExceptionpublic String getControllerClassName() throws RemoteException
PIASpreadSheetgetControllerClassName in interface PComponentgetControllerClassName in class PIASpreadSheetRemoteException - thrown for errorspublic void setIdxModelFieldDescription(int col,
String fieldDesc)
throws RemoteException
col - The spreadsheet column for this descriptionfieldDesc - A String describing the field used by this columnRemoteExceptionpublic String[] getIdxModelFieldDescription() throws RemoteException
RemoteExceptionpublic String getIdxModelFieldDescription(int col) throws RemoteException
col - The table columnRemoteExceptionpublic void setIdxDisplayFieldDescription(String[] fieldDisp) throws RemoteException
fieldDesc - A String describing the field(s) displayed in the columnRemoteExceptionpublic void setIdxDisplayFieldDescription(int col,
String fieldDisp)
throws RemoteException
col - The spreadsheet column the field(s) should be displayed infieldDesc - A String describing the field(s) displayed in the columnRemoteExceptionpublic String[] getIdxDisplayFieldDescription() throws RemoteException
RemoteExceptionpublic String getIdxDisplayFieldDescription(int col) throws RemoteException
col - The spreadsheet columnRemoteExceptionpublic void setIdxCurrencyDisplay(boolean[] b)
throws RemoteException
b - An array of boolean vals. True indicates the column is
displaying currency data; false some other type of dataRemoteExceptionpublic void setIdxCurrencyDisplay(int col,
boolean b)
throws RemoteException
col - The spreadsheet column to mark as displaying currencyb - RemoteExceptionpublic boolean[] getIdxCurrencyDisplay()
throws RemoteException
RemoteExceptionpublic boolean getIdxCurrencyDisplay(int col)
throws RemoteException
col - The spreadsheet columnRemoteExceptionpublic void setData(Vector v)
setData in class PIASpreadSheetv - The incoming data for the tablepublic Object togglePrimaryToSecondary(int primary, int secondary) throws RemoteException
togglePrimaryToSecondary in interface PComponentAttributetogglePrimaryToSecondary in interface PFieldBeantogglePrimaryToSecondary in class PIASpreadSheetprimary - secondary - RemoteExceptionpublic void revertToPrimary(int primary)
throws RemoteException
revertToPrimary in interface PComponentAttributerevertToPrimary in interface PFieldBeanrevertToPrimary in class PIASpreadSheetprimary - The primary currency ID for an accountRemoteExceptionpublic void setUntypedData(boolean b)
setUntypedData in class PIASpreadSheetb - If true, informs the table its data should be considered UNTYPED
This is false by defaultpublic boolean isUntypedData()
isUntypedData in class PIASpreadSheetpublic void viewDataChange(PViewDataChangeEvent event) throws RemoteException
viewDataChange in interface PViewDataChangeListenerviewDataChange in class PIASpreadSheetevent - the data change eventRemoteException - epublic void collectData(PCollectDataEvent event)
collectData in interface PCollectDataListenerevent - The collect data eventpublic void ignoreRenderingForThisClass(Class[] cls, int[] columnNo)
public void resetClassIgnoring()
public boolean isIgnoringClassConfigured()
public String getIgnoreClassName(int column)
Copyright © 2003, 2023, Oracle and/or its affiliates.