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

E17503-02

oracle.adfnmc.component.ui
Class BBTable

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
                              extended by oracle.adfnmc.component.ui.BBTable
All Implemented Interfaces:
ICollectionModelListener, RefreshablePropertyObjectOwner, IMultiRowContainer, ITestableComponent

public class BBTable
extends Table


Nested Class Summary
protected  class BBTable.NonTouchscreenTableManager
           
protected  class BBTable.TableControlManager
           
protected  class BBTable.TableGridManager
           
protected  class BBTable.TableHeadersManager
           
protected  class BBTable.TouchscreenTableManager
           
 
Nested classes/interfaces inherited from class oracle.adfnmc.component.ui.Table
Table.CurrentRowUpdater, Table.FocusCurrentRowRunnable, Table.RangeChangedEventRunnable, Table.RowLoaderAndDeleter, Table.SelectionEventRunnable, Table.TableElementIndexChangeDelegate
 
Field Summary
protected  net.rim.device.api.ui.component.LabelField emptyTextLabel
           
protected  int padding
           
 
Fields inherited from class oracle.adfnmc.component.ui.Table
CLASS_INSTANCE, collectionModel, columns, currentColumn, currentFocusX, currentFocusY, DEFAULT_BORDERCOLOR, DEFAULT_BORDERWIDTH, DEFAULT_EMPTYTEXT, DEFAULT_FOCUS_BORDERCOLOR, DEFAULT_FOCUSABLE, DEFAULT_FOCUSBACKGROUNDCOLOR, DEFAULT_FOCUSFOREGROUNDCOLOR, DEFAULT_FOREGROUNDCOLOR, DEFAULT_HEADER_BACKGROUNDCOLOR, DEFAULT_HEADERTEXT, DEFAULT_RANGE_SIZE, DEFAULT_ROW_HEIGHT, DEFAULT_SELECTED_CELL_BACKGROUNDCOLOR, DEFAULT_SELECTED_ROW_BACKGROUNDCOLOR, DEFAULT_STARTING_SELECTION_MODE, DEFAULT_TABLE_HEIGHT, DEFAULT_TABLE_WIDTH, deleteRowsRequestIssued, FOCUS_ROW_NOT_LOADED, FOCUS_ROW_SUCCESS, FOCUS_ROW_UNFOCUSABLE_CONTROL, gridCells, gridCellsPool, headerCells, loadedRowCount, m_borderWidthProperty, m_decorationRoundingError, m_emptyTextProperty, m_filterAssistant, m_focusBackgroundColorProperty, m_focusForegroundColorProperty, m_foregroundColorProperty, m_hasBorderWidth, m_hasColumnFilters, m_hasColumnHeaders, m_hasEmptyText, m_hasFocusBackgroundColor, m_hasFocusForegroundColor, m_hasForegroundColor, m_hasHeaderText, m_hasSelectedCellBackgroundColor, m_hasSelectedRowBackgroundColor, m_isDecorationSubtracted, m_nativeTableImpl, m_rangeChangeListenerProperty, m_selectedCellBackgroundColorProperty, m_selectedRowBackgroundColorProperty, m_selectionListenerProperty, m_sortAssistant, m_sortListenerProperty, m_startingSelectionModeProperty, m_stretchedColumnWidth, m_tableHeader, m_tableRangeChanging, modelIndexOffset, postLayoutRunnable, renderedGridCellsPool, rowLoaderInstance, rowLoaderInstanceCounter, rowsRequestEnqueued, rowsRequestLocked, rowsRequestProcessing, selectionEventRunnable, settingCurrentRow, shrinkSizeOfPoolCells, useControlCaching, 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_STRING, DEFAULT_LEFT, DEFAULT_RIGHT, DEFAULT_TOP, 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
BBTable()
           
 
Method Summary
 void _removeChild(Component child)
           
 void addedRange(int relativeIndex, int size)
          Called when a new set of contiguous elements has been created in the collection
 void addEmptyTextLabel()
           
 void alignColumn(java.lang.String alignment, java.lang.String columnID)
           
 void currentPositionChanged(int newIndex)
          Called when the current collection position changes - this corresponds to a change of the current underlying model index or position
 void dumpAllData(java.lang.StringBuffer buffer)
           
protected  int getAlignNative()
           
protected  java.lang.String getBackgroundColorNative()
           
protected  int getBottomNative()
           
protected  Control getColumnHeaderControl()
          Returns a new instance of control to be used as column header.
 int getCurrentColumnIndex()
           
 Control getCurrentFocus(java.lang.String id)
          Returns the control with given id from currently focused container or null if this container is not a parent of the focused control.
protected  boolean getFocusableNative()
           
protected  java.lang.String getFocusBackgroundColorNative()
           
protected  boolean getFocusedNative()
           
protected  java.lang.String getFocusForegroundColorNative()
           
protected  java.lang.String getForegroundColorNative()
           
protected  int getHeightNative()
           
protected  int getLeftNative()
           
 int getPadding()
           
protected  int getRightNative()
           
protected  java.lang.String getSelectedRowBackgroundColor(Control requesterControl)
           
protected  TableColumn getTableColumn(Control control)
           
protected  int getTopNative()
           
protected  int getVerticalAlignNative()
           
protected  boolean getVisibleNative()
           
protected  int getWidthNative()
           
 void handleAddedPost(boolean scrollIntoView)
           
 void handleAddedPre()
           
 void handleDisposePost()
           
 void handleDisposePre()
           
protected  void handleEmptyTextLabel()
           
 void highlight(Control control)
           
 void refreshRow(int absoluteIndex)
          Triggers listeners to refresh the values of the components of a particular row.
 void removeEmptyTextLabel()
           
 void render(java.lang.Object uiparent)
           
protected  void renderNative()
           
protected  void setAlignNative(int align)
           
protected  void setBackgroundColorNative(java.lang.String backgroundColor)
           
protected  void setBorderWidthNative(int borderWidth)
           
protected  void setEmptyTextNative(java.lang.String headerText)
           
 boolean setFocus()
           
protected  void setFocusableNative(boolean focusable)
           
protected  void setFocusBackgroundColorNative(java.lang.String focusBackgroundColor)
           
protected  void setFocusForegroundColorNative(java.lang.String focusForegroundColor)
           
protected  void setForegroundColorNative(java.lang.String foregroundColor)
           
protected  void setHeightNative(int height)
           
protected  void setSelectedCellBackgroundColorNative(java.lang.String selectedCellBackgroundColor)
           
protected  void setSelectedRowBackgroundColorNative(java.lang.String selectedRowBackgroundColor)
           
protected  void setVerticalAlignNative(int verticalAlign)
           
protected  void setVisibleNative(boolean visible)
           
protected  void setWidthNative(int width)
           
 Control UIClone()
           
 
Methods inherited from class oracle.adfnmc.component.ui.Table
addFilterableColumn, addSortableColumn, clearPostLayoutRunnable, determineDecorationSubtracted, disposeElement, disposeElementImpl, disposeRange, dumpGeometryData, endInit, endInitRenderableProperties, enqueueRangeChangedEventRunnable, enqueueSelectionEventRunnable, execute, fireRangeChangeEvent, fireSelectionEvent, fireSortEvent, fireSortEvent, getBorderWidth, getColumnCount, getCurrentRow, getDecorationRoundingError, getDefaultFocusable, getDeleteThresholdDistance, getEmptyText, getFocusBackgroundColor, getFocusForegroundColor, getForegroundColor, getLoadedRowCount, getLoadThresholdDistance, getMaxRows, getPageRowCount, getPostLayoutRunnable, getRangeSize, getRowLoaderAndDeleter, getSelectedCellBackgroundColor, getSelectedRowBackgroundColor, getStartingSelectionMode, getStretchedColumnIndex, getStretchedColumnWidth, getTableColumnByID, getTableColumnImpl, getTableColumnIndex, getValue, handleRenderedChange, hasBackgroundColor, hasForegroundColor, hasWidth, isDecorationSubtracted, isLastRowLoaded, isTableRangeChanging, newElement, newElementImpl, postProcessAddedRows, refreshVisible, removeFilterableColumn, removeSortableColumn, rowsRequiredAbove, rowsRequiredBelow, setCurrentRow, setDecorationRoundingError, setEmptyText, setEmptyText, setFocusBackgroundColor, setFocusBackgroundColor, setFocusForegroundColor, setFocusForegroundColor, setForegroundColor, setForegroundColor, setPostLayoutRunnable, setRenderProperties, setStretchedColumnWidth, setValue, shouldLoadMoreRows, showsColumnHeaders, sortOccurred, subtractDecorations, tooManyRowsAbove, tooManyRowsBelow, updateLoadedRows, updateLoadedRows, updateStretchedColumnWidth, useColumnFilters, 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, getVisible, setDisabled, setDisabled, setDisabledNative, setFocusable, setFocusable, setValue, setVisible, setVisible
 
Methods inherited from class oracle.adfnmc.component.ui.Container
_addChild, addChild, addChild, bindMenus, containsId, dump, dump, endInitChildren, getAllDataValues, getChildById, getChildren, getComponentById, 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, getAvailableHeight, getAvailableWidth, getBackgroundColor, getBottom, getControlDepth, getCookie, getDefaultFontFamily, getDefaultFontSize, getDefaultFontStyle, getEmbedded, getFocused, getHeight, getLeft, getMultiRowContainer, getNativeUiComponent, getParentHeightRecursively, getParentWidthRecursively, getRight, getRowNum, getTop, getVerticalAlign, getWidth, hasAlign, hasHeight, hasLocation, hasVerticalAlign, inheritBackgroundColor, initCoreUIData, initGeometryData, isAllowedToReceiveFocus, isEmbeddedAndSelected, isLabeled, isNativeUiComponent, isNotRenderable, isWidthPercentage, markDirty, refreshUI, removeFromNativeParent, setAlign, setAlign, setBackgroundColor, setBackgroundColor, setContainer, setCookie, setHeight, setHeight, setParent, setVerticalAlign, setVerticalAlign, setWidth, setWidth, shouldUseParentBackgroundColor, toString, 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
 

Field Detail

emptyTextLabel

protected net.rim.device.api.ui.component.LabelField emptyTextLabel

padding

protected int padding
Constructor Detail

BBTable

public BBTable()
Method Detail

getPadding

public final int getPadding()
Specified by:
getPadding in class Table

currentPositionChanged

public void currentPositionChanged(int newIndex)
Description copied from interface: ICollectionModelListener
Called when the current collection position changes - this corresponds to a change of the current underlying model index or position


addedRange

public void addedRange(int relativeIndex,
                       int size)
Description copied from interface: ICollectionModelListener
Called when a new set of contiguous elements has been created in the collection

Parameters:
relativeIndex - - the starting index at which the elements have been added
size - - the number of elements added

refreshRow

public void refreshRow(int absoluteIndex)
Description copied from interface: ICollectionModelListener
Triggers listeners to refresh the values of the components of a particular row. Issued when an attribute value at the current model row is updated.


handleEmptyTextLabel

protected void handleEmptyTextLabel()

handleAddedPre

public void handleAddedPre()
Specified by:
handleAddedPre in class Table

handleAddedPost

public void handleAddedPost(boolean scrollIntoView)
Specified by:
handleAddedPost in class Table

handleDisposePre

public void handleDisposePre()
Specified by:
handleDisposePre in class Table

handleDisposePost

public void handleDisposePost()
Specified by:
handleDisposePost in class Table

setEmptyTextNative

protected void setEmptyTextNative(java.lang.String headerText)
Specified by:
setEmptyTextNative in class Table

highlight

public void highlight(Control control)

setFocus

public boolean setFocus()
Specified by:
setFocus in class Control

getCurrentColumnIndex

public int getCurrentColumnIndex()
Specified by:
getCurrentColumnIndex in class Table

UIClone

public Control UIClone()
Specified by:
UIClone in class Control

render

public void render(java.lang.Object uiparent)
Specified by:
render in class Control

renderNative

protected void renderNative()
Specified by:
renderNative in class Control

addEmptyTextLabel

public void addEmptyTextLabel()

removeEmptyTextLabel

public void removeEmptyTextLabel()

getTableColumn

protected TableColumn getTableColumn(Control control)
Specified by:
getTableColumn in class Table

getCurrentFocus

public Control getCurrentFocus(java.lang.String id)
Description copied from class: Container
Returns the control with given id from currently focused container or null if this container is not a parent of the focused control. Child classes should override this method since the default returns null.

Overrides:
getCurrentFocus in class Container
Parameters:
id - requested control's id
Returns:
currently focused control or null

getColumnHeaderControl

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

Overrides:
getColumnHeaderControl in class Table
Returns:
column header element

dumpAllData

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

alignColumn

public void alignColumn(java.lang.String alignment,
                        java.lang.String columnID)
Specified by:
alignColumn in class Table

getAlignNative

protected int getAlignNative()
Specified by:
getAlignNative in class Control

setAlignNative

protected void setAlignNative(int align)
Specified by:
setAlignNative in class Control

getBackgroundColorNative

protected java.lang.String getBackgroundColorNative()
Specified by:
getBackgroundColorNative in class Control

setBackgroundColorNative

protected void setBackgroundColorNative(java.lang.String backgroundColor)
Specified by:
setBackgroundColorNative in class Control

getBottomNative

protected int getBottomNative()
Specified by:
getBottomNative in class Control

getFocusableNative

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

setFocusableNative

protected void setFocusableNative(boolean focusable)
Specified by:
setFocusableNative in class BasicContainer

setSelectedRowBackgroundColorNative

protected void setSelectedRowBackgroundColorNative(java.lang.String selectedRowBackgroundColor)
Specified by:
setSelectedRowBackgroundColorNative in class Table

setSelectedCellBackgroundColorNative

protected void setSelectedCellBackgroundColorNative(java.lang.String selectedCellBackgroundColor)
Specified by:
setSelectedCellBackgroundColorNative in class Table

getFocusBackgroundColorNative

protected java.lang.String getFocusBackgroundColorNative()
Specified by:
getFocusBackgroundColorNative in class Table

setFocusBackgroundColorNative

protected void setFocusBackgroundColorNative(java.lang.String focusBackgroundColor)
Specified by:
setFocusBackgroundColorNative in class Table

getFocusedNative

protected boolean getFocusedNative()
Specified by:
getFocusedNative in class Control

getFocusForegroundColorNative

protected java.lang.String getFocusForegroundColorNative()
Specified by:
getFocusForegroundColorNative in class Table

setFocusForegroundColorNative

protected void setFocusForegroundColorNative(java.lang.String focusForegroundColor)
Specified by:
setFocusForegroundColorNative in class Table

getForegroundColorNative

protected java.lang.String getForegroundColorNative()
Specified by:
getForegroundColorNative in class Table

setForegroundColorNative

protected void setForegroundColorNative(java.lang.String foregroundColor)
Specified by:
setForegroundColorNative in class Table

getSelectedRowBackgroundColor

protected java.lang.String getSelectedRowBackgroundColor(Control requesterControl)
Overrides:
getSelectedRowBackgroundColor in class Table

getHeightNative

protected int getHeightNative()
Specified by:
getHeightNative in class Control

setHeightNative

protected void setHeightNative(int height)
Specified by:
setHeightNative in class Control

getLeftNative

protected int getLeftNative()
Specified by:
getLeftNative in class Control

getRightNative

protected int getRightNative()
Specified by:
getRightNative in class Control

getTopNative

protected int getTopNative()
Specified by:
getTopNative in class Control

getVerticalAlignNative

protected int getVerticalAlignNative()
Specified by:
getVerticalAlignNative in class Control

setVerticalAlignNative

protected void setVerticalAlignNative(int verticalAlign)
Specified by:
setVerticalAlignNative in class Control

getVisibleNative

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

setVisibleNative

protected void setVisibleNative(boolean visible)
Specified by:
setVisibleNative in class BasicContainer

getWidthNative

protected int getWidthNative()
Specified by:
getWidthNative in class Control

setWidthNative

protected void setWidthNative(int width)
Specified by:
setWidthNative in class Control

setBorderWidthNative

protected void setBorderWidthNative(int borderWidth)
Specified by:
setBorderWidthNative in class Table

_removeChild

public void _removeChild(Component child)
Overrides:
_removeChild in class Container
Parameters:
child - - Must only be of class type Control or NonrenderableComponent, which are both based on class Component.

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.