Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.component.ui
Class Table

java.lang.Object
  extended by oracle.adfnmc.component.Component
      extended by oracle.adfnmc.component.ui.RenderableComponent
          extended by oracle.adfnmc.component.ui.Control
              extended by oracle.adfnmc.component.ui.Container
                  extended by oracle.adfnmc.component.ui.BasicContainer
                      extended by oracle.adfnmc.component.ui.BasicFontContainer
                          extended by oracle.adfnmc.component.ui.Table
All Implemented Interfaces:
ICollectionModelListener, RefreshablePropertyObjectOwner, IMultiRowContainer, ITestableComponent
Direct Known Subclasses:
BBTable

public abstract class Table
extends BasicFontContainer
implements IMultiRowContainer, ICollectionModelListener


Nested Class Summary
protected  class Table.CurrentRowUpdater
           
protected  class Table.FocusCurrentRowRunnable
           
protected  class Table.RangeChangedEventRunnable
           
 class Table.RowLoaderAndDeleter
           
protected  class Table.SelectionEventRunnable
           
protected  class Table.TableElementIndexChangeDelegate
           
 
Field Summary
static java.lang.Class CLASS_INSTANCE
           
protected  ICollectionModel collectionModel
           
protected  java.util.Vector columns
           
protected  TableColumn currentColumn
           
protected  int currentFocusX
           
protected  int currentFocusY
           
protected static java.lang.String DEFAULT_BORDERCOLOR
           
protected static int DEFAULT_BORDERWIDTH
           
protected static java.lang.String DEFAULT_EMPTYTEXT
           
protected static java.lang.String DEFAULT_FOCUS_BORDERCOLOR
           
protected static boolean DEFAULT_FOCUSABLE
           
protected static java.lang.String DEFAULT_FOCUSBACKGROUNDCOLOR
           
protected static java.lang.String DEFAULT_FOCUSFOREGROUNDCOLOR
           
protected static java.lang.String DEFAULT_FOREGROUNDCOLOR
           
protected static java.lang.String DEFAULT_HEADER_BACKGROUNDCOLOR
           
protected static java.lang.String DEFAULT_HEADERTEXT
           
protected  int DEFAULT_RANGE_SIZE
           
protected static int DEFAULT_ROW_HEIGHT
           
protected static java.lang.String DEFAULT_SELECTED_CELL_BACKGROUNDCOLOR
           
protected static java.lang.String DEFAULT_SELECTED_ROW_BACKGROUNDCOLOR
           
protected static java.lang.String DEFAULT_STARTING_SELECTION_MODE
           
protected static java.lang.String DEFAULT_TABLE_HEIGHT
           
protected static java.lang.String DEFAULT_TABLE_WIDTH
           
protected  boolean deleteRowsRequestIssued
           
protected static int FOCUS_ROW_NOT_LOADED
           
protected static int FOCUS_ROW_SUCCESS
           
protected static int FOCUS_ROW_UNFOCUSABLE_CONTROL
           
protected  java.util.Vector gridCells
           
protected  java.util.Vector gridCellsPool
           
protected  java.util.Vector headerCells
           
protected  int loadedRowCount
           
protected  IntegerProperty m_borderWidthProperty
           
protected  int m_decorationRoundingError
           
protected  StringProperty m_emptyTextProperty
           
protected  FilterAssistant m_filterAssistant
           
protected  StringProperty m_focusBackgroundColorProperty
           
protected  StringProperty m_focusForegroundColorProperty
           
protected  StringProperty m_foregroundColorProperty
           
protected  boolean m_hasBorderWidth
           
protected  boolean m_hasColumnFilters
           
protected  boolean m_hasColumnHeaders
           
protected  boolean m_hasEmptyText
           
protected  boolean m_hasFocusBackgroundColor
           
protected  boolean m_hasFocusForegroundColor
           
protected  boolean m_hasForegroundColor
           
protected  boolean m_hasHeaderText
           
protected  boolean m_hasSelectedCellBackgroundColor
           
protected  boolean m_hasSelectedRowBackgroundColor
           
protected  boolean m_isDecorationSubtracted
           
protected  INativeTable m_nativeTableImpl
           
protected  MethodAction m_rangeChangeListenerProperty
           
protected  StringProperty m_selectedCellBackgroundColorProperty
           
protected  StringProperty m_selectedRowBackgroundColorProperty
           
protected  MethodAction m_selectionListenerProperty
           
protected  SortAssistant m_sortAssistant
           
protected  MethodAction m_sortListenerProperty
           
protected  StringProperty m_startingSelectionModeProperty
           
protected  int m_stretchedColumnWidth
           
protected  OutputText m_tableHeader
           
protected  boolean m_tableRangeChanging
           
protected  int modelIndexOffset
           
protected  java.lang.Runnable postLayoutRunnable
           
protected  java.util.Vector renderedGridCellsPool
           
protected  Table.RowLoaderAndDeleter rowLoaderInstance
           
protected  int rowLoaderInstanceCounter
           
protected  boolean rowsRequestEnqueued
           
protected  boolean rowsRequestLocked
           
protected  boolean rowsRequestProcessing
           
protected  Table.SelectionEventRunnable selectionEventRunnable
           
protected  boolean settingCurrentRow
           
protected  boolean shrinkSizeOfPoolCells
           
protected  boolean useControlCaching
           
protected  boolean useNewRowsRequestInstance
           
 
Fields inherited from class oracle.adfnmc.component.ui.BasicFontContainer
m_fontFamilyProperty, m_fontObject, m_fontSizeProperty, m_fontStyleProperty
 
Fields inherited from class oracle.adfnmc.component.ui.BasicContainer
DEFAULT_DISABLED, DEFAULT_VISIBLE, m_disabledProperty, m_focusableProperty, m_visibleProperty
 
Fields inherited from class oracle.adfnmc.component.ui.Container
m_children, m_childrenById
 
Fields inherited from class oracle.adfnmc.component.ui.Control
bound, cloned, container, DEFAULT_BACKGROUNDCOLOR, DEFAULT_BOTTOM, DEFAULT_FOCUSED, DEFAULT_HEIGHT, DEFAULT_HEIGHT_STRING, DEFAULT_LEFT, DEFAULT_RIGHT, DEFAULT_TOP, DEFAULT_WIDTH, DEFAULT_WIDTH_STRING, embedded, has_x, has_y, m_alignProperty, m_availableHeight, m_availableWidth, m_backgroundColorProperty, m_cmpImpl, m_cookie, m_hasAlign, m_hasBackgroundColor, m_hasHeight, m_hasVerticalAlign, m_hasWidth, m_heightProperty, m_isClipped, m_isDirty, m_isHeightPercentage, m_isWidthPercentage, m_menuControls, m_multiRowContainerParent, m_tabstop, m_verticalAlignProperty, m_widthProperty, m_x, m_y, rownum
 
Fields inherited from class oracle.adfnmc.component.ui.RenderableComponent
DEFAULT_RENDERED, m_cachedRendered, m_cacheIsValid, m_renderedProperty, unregisterPropertiesOnly
 
Fields inherited from class oracle.adfnmc.component.Component
m_attributes, m_elContext, m_exprfactory, m_formatMethod, m_id, m_initialized, m_parent, m_pattern, m_props, m_screen, m_theApp, refreshableProperties
 
Constructor Summary
Table()
           
 
Method Summary
 void addFilterableColumn(java.lang.String column, java.lang.String sortProperty)
           
 void addSortableColumn(java.lang.String column, java.lang.String sortProperty)
           
abstract  void alignColumn(java.lang.String alignment, java.lang.String columnID)
           
protected  void clearPostLayoutRunnable()
           
 void determineDecorationSubtracted()
           
 void disposeElement(int absoluteIndex)
          Called when an element is about to be removed from the collection
protected  void disposeElementImpl(int absoluteIndex)
           
 void disposeRange(int absoluteIndex, int size)
          Called when a set of contiguous elements is about to be removed from the collection
 void dumpAllData(java.lang.StringBuffer buffer)
           
 void dumpGeometryData()
           
 void endInit()
           
protected  void endInitRenderableProperties(boolean isRendered)
           
protected  void enqueueRangeChangedEventRunnable(int oldStart, int oldEnd, int newStart, int newEnd)
           
protected  void enqueueSelectionEventRunnable(int oldSet, int newSet)
           
 void execute(java.lang.String command, java.util.Vector params)
           
protected  MethodActionResult fireRangeChangeEvent(int oldStart, int oldEnd, int newStart, int newEnd)
           
protected  MethodActionResult fireSelectionEvent(java.lang.Object oldSet, java.lang.Object newSet)
           
protected  MethodActionResult fireSortEvent(List criteria)
           
protected  MethodActionResult fireSortEvent(SortCriterion criterion)
           
 int getBorderWidth()
           
 int getColumnCount()
           
protected  Control getColumnHeaderControl()
          Returns a new instance of control to be used as column header.
abstract  int getCurrentColumnIndex()
           
 int getCurrentRow()
           
 int getDecorationRoundingError()
           
protected  boolean getDefaultFocusable()
           
protected  int getDeleteThresholdDistance()
           
 java.lang.String getEmptyText()
           
 java.lang.String getFocusBackgroundColor()
           
protected abstract  java.lang.String getFocusBackgroundColorNative()
           
 java.lang.String getFocusForegroundColor()
           
protected abstract  java.lang.String getFocusForegroundColorNative()
           
 java.lang.String getForegroundColor()
           
protected abstract  java.lang.String getForegroundColorNative()
           
 int getLoadedRowCount()
           
protected  int getLoadThresholdDistance()
           
protected  int getMaxRows()
           
abstract  int getPadding()
           
protected  int getPageRowCount()
           
protected  java.lang.Runnable getPostLayoutRunnable()
           
protected  int getRangeSize()
           
protected  Table.RowLoaderAndDeleter getRowLoaderAndDeleter()
           
 java.lang.String getSelectedCellBackgroundColor()
           
 java.lang.String getSelectedRowBackgroundColor()
           
protected  java.lang.String getSelectedRowBackgroundColor(Control requesterControl)
           
 int getStartingSelectionMode()
           
protected  int getStretchedColumnIndex()
           
protected  int getStretchedColumnWidth()
           
protected abstract  TableColumn getTableColumn(Control control)
           
 TableColumn getTableColumnByID(java.lang.String columnID)
           
protected  TableColumn getTableColumnImpl(Control control)
           
protected  int getTableColumnIndex(TableColumn column)
           
 java.lang.Object getValue()
           
abstract  void handleAddedPost(boolean scrollIntoView)
           
abstract  void handleAddedPre()
           
abstract  void handleDisposePost()
           
abstract  void handleDisposePre()
           
protected  void handleRenderedChange()
           
 boolean hasBackgroundColor()
           
 boolean hasForegroundColor()
           
protected  boolean hasWidth()
           
 boolean isDecorationSubtracted()
           
protected  boolean isLastRowLoaded()
           
protected  boolean isTableRangeChanging()
           
 void newElement(int absoluteIndex)
          Called when a new element has been created in the collection
protected  void newElementImpl(int absoluteIndex)
           
protected  void postProcessAddedRows(int startingRow, int rowCount)
           
 void refreshVisible(int index)
          Triggers listeners to refresh any elements they are currently displaying.
 void removeFilterableColumn(java.lang.String column, java.lang.String sortProperty)
           
 void removeSortableColumn(java.lang.String column, java.lang.String sortProperty)
           
protected  int rowsRequiredAbove()
           
protected  int rowsRequiredBelow()
           
protected abstract  void setBorderWidthNative(int borderWidth)
           
 void setCurrentRow(int index)
           
 void setDecorationRoundingError(int error)
           
protected  void setEmptyText(java.lang.Object source, java.lang.String emptyText)
           
 void setEmptyText(java.lang.String emptyText)
           
protected abstract  void setEmptyTextNative(java.lang.String headerText)
           
protected  void setFocusBackgroundColor(java.lang.Object source, java.lang.String focusBackgroundColor)
           
 void setFocusBackgroundColor(java.lang.String focusBackgroundColor)
           
protected abstract  void setFocusBackgroundColorNative(java.lang.String focusBackgroundColor)
           
protected  void setFocusForegroundColor(java.lang.Object source, java.lang.String focusForegroundColor)
           
 void setFocusForegroundColor(java.lang.String focusForegroundColor)
           
protected abstract  void setFocusForegroundColorNative(java.lang.String focusForegroundColor)
           
protected  void setForegroundColor(java.lang.Object source, java.lang.String foregroundColor)
           
 void setForegroundColor(java.lang.String foregroundColor)
           
protected abstract  void setForegroundColorNative(java.lang.String foregroundColor)
           
protected  void setPostLayoutRunnable(java.lang.Runnable r)
           
protected  void setRenderProperties()
           
protected abstract  void setSelectedCellBackgroundColorNative(java.lang.String selectedCellBackgroundColor)
           
protected abstract  void setSelectedRowBackgroundColorNative(java.lang.String selectedRowBackgroundColor)
           
protected  void setStretchedColumnWidth(int width)
           
protected  void setValue(java.lang.Object source, java.lang.Object value)
           
protected  boolean shouldLoadMoreRows()
           
 boolean showsColumnHeaders()
           
 void sortOccurred(SortCriterion criterion)
           
protected  int subtractDecorations(int width)
           
protected  int tooManyRowsAbove()
           
protected  int tooManyRowsBelow()
           
protected  void updateLoadedRows()
           
protected  void updateLoadedRows(boolean removeAllLoadedRows)
           
protected  void updateStretchedColumnWidth(int availableWidth)
           
 void useColumnFilters(boolean useColumnFilters)
           
 void useColumnHeaders(boolean useColumnHeaders)
           
 
Methods inherited from class oracle.adfnmc.component.ui.BasicFontContainer
getFontFamily, getFontFamilyNative, getFontSize, getFontSizeNative, getFontStyle, getFontStyleNative, setFontFamily, setFontFamily, setFontSize, setFontSize, setFontStyle, setFontStyle, updateFont, updateFont, updateFont, updateFontNative
 
Methods inherited from class oracle.adfnmc.component.ui.BasicContainer
getDisabled, getFocusable, getFocusableNative, getVisible, getVisibleNative, setDisabled, setDisabled, setDisabledNative, setFocusable, setFocusable, setFocusableNative, setValue, setVisible, setVisible, setVisibleNative
 
Methods inherited from class oracle.adfnmc.component.ui.Container
_addChild, _removeChild, addChild, addChild, bindMenus, containsId, dump, dump, endInitChildren, getAllDataValues, getChildById, getChildren, getComponentById, getCurrentFocus, getCurrentFocus, getDecorationHeight, getDecorationWidth, getIntraFieldSpacing, refreshProperties, removeChild, removeChild, renderChildren, renderedChangedNative, setEmbedded, setMultiRowContainerParent, setRowNum, shiftRowNum, UICloneImpl
 
Methods inherited from class oracle.adfnmc.component.ui.Control
addChild, addPropertyList, backgroundColorChanged, clipHeight, clipWidth, determineAvailableSpace, disposeProperties, endInitRendered, focusableChanged, gainedFocus, getAlign, getAlignNative, getAvailableHeight, getAvailableWidth, getBackgroundColor, getBackgroundColorNative, getBottom, getBottomNative, getControlDepth, getCookie, getDefaultFontFamily, getDefaultFontSize, getDefaultFontStyle, getEmbedded, getFocused, getFocusedNative, getHeight, getHeightNative, getLeft, getLeftNative, getMultiRowContainer, getNativeUiComponent, getParentHeightRecursively, getParentWidthRecursively, getRight, getRightNative, getRowNum, getTop, getTopNative, getVerticalAlign, getVerticalAlignNative, getWidth, getWidthNative, hasAlign, hasHeight, hasLocation, hasVerticalAlign, inheritBackgroundColor, initCoreUIData, initGeometryData, isAllowedToReceiveFocus, isEmbeddedAndSelected, isLabeled, isNativeUiComponent, isNotRenderable, isWidthPercentage, markDirty, refreshUI, removeFromNativeParent, render, renderNative, setAlign, setAlign, setAlignNative, setBackgroundColor, setBackgroundColor, setBackgroundColorNative, setContainer, setCookie, setFocus, setHeight, setHeight, setHeightNative, setParent, setVerticalAlign, setVerticalAlign, setVerticalAlignNative, setWidth, setWidth, setWidthNative, shouldUseParentBackgroundColor, toString, UIClone, updateBackgroundColorNative
 
Methods inherited from class oracle.adfnmc.component.ui.RenderableComponent
Focus, getRendered, isParentRendered, isRendered, isRenderedChanged, setRendered, setRendered, setUnregisterPropertiesOnly
 
Methods inherited from class oracle.adfnmc.component.Component
addChild, addChild, beginInit, buildValueExpression, dump, dumpProps, dumpProps, dumpPropsBuffer, getDataValues, getId, getParent, getProps, getScreen, propertyInstanceCreated, setChild, setChild, setId, setProp, setScreen, toFormattedString, updateRenderer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.adfnmc.component.ui.IMultiRowContainer
highlight
 
Methods inherited from interface oracle.adfnmc.bindings.events.ICollectionModelListener
addedRange, currentPositionChanged, refreshRow
 

Field Detail

DEFAULT_FOCUSABLE

protected static final boolean DEFAULT_FOCUSABLE
See Also:
Constant Field Values

DEFAULT_SELECTED_ROW_BACKGROUNDCOLOR

protected static final java.lang.String DEFAULT_SELECTED_ROW_BACKGROUNDCOLOR
See Also:
Constant Field Values

DEFAULT_SELECTED_CELL_BACKGROUNDCOLOR

protected static final java.lang.String DEFAULT_SELECTED_CELL_BACKGROUNDCOLOR
See Also:
Constant Field Values

DEFAULT_FOCUSBACKGROUNDCOLOR

protected static final java.lang.String DEFAULT_FOCUSBACKGROUNDCOLOR
See Also:
Constant Field Values

DEFAULT_FOCUSFOREGROUNDCOLOR

protected static final java.lang.String DEFAULT_FOCUSFOREGROUNDCOLOR
See Also:
Constant Field Values

DEFAULT_FOREGROUNDCOLOR

protected static final java.lang.String DEFAULT_FOREGROUNDCOLOR
See Also:
Constant Field Values

DEFAULT_HEADERTEXT

protected static final java.lang.String DEFAULT_HEADERTEXT
See Also:
Constant Field Values

DEFAULT_HEADER_BACKGROUNDCOLOR

protected static final java.lang.String DEFAULT_HEADER_BACKGROUNDCOLOR
See Also:
Constant Field Values

DEFAULT_EMPTYTEXT

protected static final java.lang.String DEFAULT_EMPTYTEXT
See Also:
Constant Field Values

DEFAULT_TABLE_WIDTH

protected static final java.lang.String DEFAULT_TABLE_WIDTH
See Also:
Constant Field Values

DEFAULT_TABLE_HEIGHT

protected static final java.lang.String DEFAULT_TABLE_HEIGHT
See Also:
Constant Field Values

DEFAULT_STARTING_SELECTION_MODE

protected static final java.lang.String DEFAULT_STARTING_SELECTION_MODE
See Also:
Constant Field Values

DEFAULT_BORDERCOLOR

protected static final java.lang.String DEFAULT_BORDERCOLOR
See Also:
Constant Field Values

DEFAULT_FOCUS_BORDERCOLOR

protected static final java.lang.String DEFAULT_FOCUS_BORDERCOLOR
See Also:
Constant Field Values

DEFAULT_BORDERWIDTH

protected static final int DEFAULT_BORDERWIDTH
See Also:
Constant Field Values

DEFAULT_ROW_HEIGHT

protected static final int DEFAULT_ROW_HEIGHT
See Also:
Constant Field Values

FOCUS_ROW_SUCCESS

protected static final int FOCUS_ROW_SUCCESS
See Also:
Constant Field Values

FOCUS_ROW_NOT_LOADED

protected static final int FOCUS_ROW_NOT_LOADED
See Also:
Constant Field Values

FOCUS_ROW_UNFOCUSABLE_CONTROL

protected static final int FOCUS_ROW_UNFOCUSABLE_CONTROL
See Also:
Constant Field Values

headerCells

protected java.util.Vector headerCells

gridCells

protected java.util.Vector gridCells

gridCellsPool

protected java.util.Vector gridCellsPool

renderedGridCellsPool

protected java.util.Vector renderedGridCellsPool

shrinkSizeOfPoolCells

protected boolean shrinkSizeOfPoolCells

useControlCaching

protected boolean useControlCaching

m_nativeTableImpl

protected INativeTable m_nativeTableImpl

columns

protected java.util.Vector columns

m_hasColumnHeaders

protected boolean m_hasColumnHeaders

m_hasColumnFilters

protected boolean m_hasColumnFilters

m_sortAssistant

protected SortAssistant m_sortAssistant

m_filterAssistant

protected FilterAssistant m_filterAssistant

m_tableHeader

protected OutputText m_tableHeader

m_isDecorationSubtracted

protected boolean m_isDecorationSubtracted

m_hasSelectedRowBackgroundColor

protected boolean m_hasSelectedRowBackgroundColor

m_hasSelectedCellBackgroundColor

protected boolean m_hasSelectedCellBackgroundColor

m_hasFocusBackgroundColor

protected boolean m_hasFocusBackgroundColor

m_hasFocusForegroundColor

protected boolean m_hasFocusForegroundColor

m_hasForegroundColor

protected boolean m_hasForegroundColor

m_hasHeaderText

protected boolean m_hasHeaderText

m_hasEmptyText

protected boolean m_hasEmptyText

m_hasBorderWidth

protected boolean m_hasBorderWidth

m_selectedRowBackgroundColorProperty

protected StringProperty m_selectedRowBackgroundColorProperty

m_selectedCellBackgroundColorProperty

protected StringProperty m_selectedCellBackgroundColorProperty

m_focusBackgroundColorProperty

protected StringProperty m_focusBackgroundColorProperty

m_focusForegroundColorProperty

protected StringProperty m_focusForegroundColorProperty

m_foregroundColorProperty

protected StringProperty m_foregroundColorProperty

m_emptyTextProperty

protected StringProperty m_emptyTextProperty

m_startingSelectionModeProperty

protected StringProperty m_startingSelectionModeProperty

m_borderWidthProperty

protected IntegerProperty m_borderWidthProperty

m_rangeChangeListenerProperty

protected MethodAction m_rangeChangeListenerProperty

m_selectionListenerProperty

protected MethodAction m_selectionListenerProperty

m_sortListenerProperty

protected MethodAction m_sortListenerProperty

m_tableRangeChanging

protected boolean m_tableRangeChanging

currentFocusX

protected int currentFocusX

currentFocusY

protected int currentFocusY

modelIndexOffset

protected int modelIndexOffset

loadedRowCount

protected int loadedRowCount

m_decorationRoundingError

protected int m_decorationRoundingError

CLASS_INSTANCE

public static java.lang.Class CLASS_INSTANCE

collectionModel

protected ICollectionModel collectionModel

m_stretchedColumnWidth

protected int m_stretchedColumnWidth

selectionEventRunnable

protected Table.SelectionEventRunnable selectionEventRunnable

settingCurrentRow

protected boolean settingCurrentRow

currentColumn

protected TableColumn currentColumn

rowLoaderInstance

protected Table.RowLoaderAndDeleter rowLoaderInstance

rowsRequestEnqueued

protected boolean rowsRequestEnqueued

rowsRequestProcessing

protected boolean rowsRequestProcessing

rowsRequestLocked

protected boolean rowsRequestLocked

DEFAULT_RANGE_SIZE

protected final int DEFAULT_RANGE_SIZE
See Also:
Constant Field Values

rowLoaderInstanceCounter

protected int rowLoaderInstanceCounter

useNewRowsRequestInstance

protected boolean useNewRowsRequestInstance

deleteRowsRequestIssued

protected boolean deleteRowsRequestIssued

postLayoutRunnable

protected java.lang.Runnable postLayoutRunnable
Constructor Detail

Table

public Table()
Method Detail

getDefaultFocusable

protected boolean getDefaultFocusable()
Specified by:
getDefaultFocusable in class BasicContainer

endInitRenderableProperties

protected void endInitRenderableProperties(boolean isRendered)
Overrides:
endInitRenderableProperties in class BasicFontContainer

endInit

public void endInit()
Overrides:
endInit in class BasicFontContainer

handleRenderedChange

protected void handleRenderedChange()
Overrides:
handleRenderedChange in class Container

fireRangeChangeEvent

protected MethodActionResult fireRangeChangeEvent(int oldStart,
                                                  int oldEnd,
                                                  int newStart,
                                                  int newEnd)

fireSelectionEvent

protected MethodActionResult fireSelectionEvent(java.lang.Object oldSet,
                                                java.lang.Object newSet)

fireSortEvent

protected MethodActionResult fireSortEvent(SortCriterion criterion)

fireSortEvent

protected MethodActionResult fireSortEvent(List criteria)

sortOccurred

public void sortOccurred(SortCriterion criterion)

getTableColumn

protected abstract TableColumn getTableColumn(Control control)

getTableColumnImpl

protected TableColumn getTableColumnImpl(Control control)

getTableColumnIndex

protected int getTableColumnIndex(TableColumn column)

getColumnHeaderControl

protected Control getColumnHeaderControl()
Returns a new instance of control to be used as column header. By default this is an instance of platform specific OutputText.

Returns:
column header element

execute

public void execute(java.lang.String command,
                    java.util.Vector params)
Specified by:
execute in interface ITestableComponent
Overrides:
execute in class RenderableComponent

getDecorationRoundingError

public int getDecorationRoundingError()

setDecorationRoundingError

public void setDecorationRoundingError(int error)

isDecorationSubtracted

public boolean isDecorationSubtracted()

determineDecorationSubtracted

public void determineDecorationSubtracted()

subtractDecorations

protected int subtractDecorations(int width)

isTableRangeChanging

protected boolean isTableRangeChanging()

getCurrentRow

public int getCurrentRow()

updateStretchedColumnWidth

protected void updateStretchedColumnWidth(int availableWidth)

setStretchedColumnWidth

protected void setStretchedColumnWidth(int width)

getStretchedColumnWidth

protected int getStretchedColumnWidth()

getStretchedColumnIndex

protected int getStretchedColumnIndex()

getCurrentColumnIndex

public abstract int getCurrentColumnIndex()

enqueueRangeChangedEventRunnable

protected void enqueueRangeChangedEventRunnable(int oldStart,
                                                int oldEnd,
                                                int newStart,
                                                int newEnd)

enqueueSelectionEventRunnable

protected void enqueueSelectionEventRunnable(int oldSet,
                                             int newSet)

setCurrentRow

public void setCurrentRow(int index)
Specified by:
setCurrentRow in interface IMultiRowContainer

useColumnHeaders

public void useColumnHeaders(boolean useColumnHeaders)

useColumnFilters

public void useColumnFilters(boolean useColumnFilters)

addSortableColumn

public void addSortableColumn(java.lang.String column,
                              java.lang.String sortProperty)

removeSortableColumn

public void removeSortableColumn(java.lang.String column,
                                 java.lang.String sortProperty)

addFilterableColumn

public void addFilterableColumn(java.lang.String column,
                                java.lang.String sortProperty)

removeFilterableColumn

public void removeFilterableColumn(java.lang.String column,
                                   java.lang.String sortProperty)

dumpAllData

public void dumpAllData(java.lang.StringBuffer buffer)
Overrides:
dumpAllData in class Container

dumpGeometryData

public void dumpGeometryData()

alignColumn

public abstract void alignColumn(java.lang.String alignment,
                                 java.lang.String columnID)

hasBackgroundColor

public boolean hasBackgroundColor()
Overrides:
hasBackgroundColor in class Control

hasForegroundColor

public boolean hasForegroundColor()
Overrides:
hasForegroundColor in class Control

setRenderProperties

protected void setRenderProperties()
Overrides:
setRenderProperties in class BasicFontContainer

getSelectedRowBackgroundColor

public java.lang.String getSelectedRowBackgroundColor()

getSelectedCellBackgroundColor

public java.lang.String getSelectedCellBackgroundColor()

getFocusBackgroundColor

public java.lang.String getFocusBackgroundColor()

getSelectedRowBackgroundColor

protected java.lang.String getSelectedRowBackgroundColor(Control requesterControl)

setFocusBackgroundColor

protected void setFocusBackgroundColor(java.lang.Object source,
                                       java.lang.String focusBackgroundColor)

setFocusBackgroundColor

public void setFocusBackgroundColor(java.lang.String focusBackgroundColor)

getFocusForegroundColor

public java.lang.String getFocusForegroundColor()

setFocusForegroundColor

protected void setFocusForegroundColor(java.lang.Object source,
                                       java.lang.String focusForegroundColor)

setFocusForegroundColor

public void setFocusForegroundColor(java.lang.String focusForegroundColor)

getForegroundColor

public java.lang.String getForegroundColor()

setForegroundColor

protected void setForegroundColor(java.lang.Object source,
                                  java.lang.String foregroundColor)

setForegroundColor

public void setForegroundColor(java.lang.String foregroundColor)

getEmptyText

public java.lang.String getEmptyText()

setEmptyText

protected void setEmptyText(java.lang.Object source,
                            java.lang.String emptyText)

setEmptyText

public void setEmptyText(java.lang.String emptyText)

getBorderWidth

public int getBorderWidth()

getStartingSelectionMode

public int getStartingSelectionMode()

hasWidth

protected boolean hasWidth()
Overrides:
hasWidth in class Control

getValue

public java.lang.Object getValue()
Specified by:
getValue in class BasicContainer

setValue

protected void setValue(java.lang.Object source,
                        java.lang.Object value)
Specified by:
setValue in class BasicContainer

getColumnCount

public int getColumnCount()

getTableColumnByID

public TableColumn getTableColumnByID(java.lang.String columnID)

showsColumnHeaders

public boolean showsColumnHeaders()

shouldLoadMoreRows

protected boolean shouldLoadMoreRows()

getRowLoaderAndDeleter

protected Table.RowLoaderAndDeleter getRowLoaderAndDeleter()

updateLoadedRows

protected void updateLoadedRows()

getMaxRows

protected int getMaxRows()

updateLoadedRows

protected void updateLoadedRows(boolean removeAllLoadedRows)

getLoadThresholdDistance

protected int getLoadThresholdDistance()

getDeleteThresholdDistance

protected int getDeleteThresholdDistance()

getPageRowCount

protected int getPageRowCount()

rowsRequiredAbove

protected int rowsRequiredAbove()

rowsRequiredBelow

protected int rowsRequiredBelow()

tooManyRowsAbove

protected int tooManyRowsAbove()

tooManyRowsBelow

protected int tooManyRowsBelow()

getLoadedRowCount

public int getLoadedRowCount()

getRangeSize

protected int getRangeSize()

isLastRowLoaded

protected boolean isLastRowLoaded()

postProcessAddedRows

protected void postProcessAddedRows(int startingRow,
                                    int rowCount)

disposeElement

public void disposeElement(int absoluteIndex)
Description copied from interface: ICollectionModelListener
Called when an element is about to be removed from the collection

Specified by:
disposeElement in interface ICollectionModelListener
Parameters:
absoluteIndex - - the index of the element to be removed

disposeRange

public void disposeRange(int absoluteIndex,
                         int size)
Description copied from interface: ICollectionModelListener
Called when a set of contiguous elements is about to be removed from the collection

Specified by:
disposeRange in interface ICollectionModelListener
Parameters:
absoluteIndex - - the starting index of the elements to be removed
size - - the number of elements to be removed

disposeElementImpl

protected void disposeElementImpl(int absoluteIndex)

refreshVisible

public void refreshVisible(int index)
Description copied from interface: ICollectionModelListener
Triggers listeners to refresh any elements they are currently displaying. Generally the response should be a call to iterateOverElements, with a count of whatever the listener needs to display, and a delegate that just force refreshes the listeners components.

Specified by:
refreshVisible in interface ICollectionModelListener
Parameters:
index - - the current model index, can be used to 'snap' the viewable area to the current model row

newElement

public void newElement(int absoluteIndex)
Description copied from interface: ICollectionModelListener
Called when a new element has been created in the collection

Specified by:
newElement in interface ICollectionModelListener
Parameters:
absoluteIndex - - the index of the new element

newElementImpl

protected void newElementImpl(int absoluteIndex)

handleDisposePost

public abstract void handleDisposePost()

handleDisposePre

public abstract void handleDisposePre()

handleAddedPost

public abstract void handleAddedPost(boolean scrollIntoView)

handleAddedPre

public abstract void handleAddedPre()

setPostLayoutRunnable

protected void setPostLayoutRunnable(java.lang.Runnable r)

getPostLayoutRunnable

protected java.lang.Runnable getPostLayoutRunnable()

clearPostLayoutRunnable

protected void clearPostLayoutRunnable()

setSelectedRowBackgroundColorNative

protected abstract void setSelectedRowBackgroundColorNative(java.lang.String selectedRowBackgroundColor)

setSelectedCellBackgroundColorNative

protected abstract void setSelectedCellBackgroundColorNative(java.lang.String selectedCellBackgroundColor)

getFocusBackgroundColorNative

protected abstract java.lang.String getFocusBackgroundColorNative()

setFocusBackgroundColorNative

protected abstract void setFocusBackgroundColorNative(java.lang.String focusBackgroundColor)

getFocusForegroundColorNative

protected abstract java.lang.String getFocusForegroundColorNative()

setFocusForegroundColorNative

protected abstract void setFocusForegroundColorNative(java.lang.String focusForegroundColor)

getForegroundColorNative

protected abstract java.lang.String getForegroundColorNative()

setForegroundColorNative

protected abstract void setForegroundColorNative(java.lang.String foregroundColor)

setEmptyTextNative

protected abstract void setEmptyTextNative(java.lang.String headerText)

setBorderWidthNative

protected abstract void setBorderWidthNative(int borderWidth)

getPadding

public abstract int getPadding()

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.