oracle.adfnmc.component.ui
Class BBTable
java.lang.Object
oracle.adfnmc.component.Component
oracle.adfnmc.component.ui.RenderableComponent
oracle.adfnmc.component.ui.Control
oracle.adfnmc.component.ui.Container
oracle.adfnmc.component.ui.BasicContainer
oracle.adfnmc.component.ui.BasicFontContainer
oracle.adfnmc.component.ui.Table
oracle.adfnmc.component.ui.BBTable
- All Implemented Interfaces:
- ICollectionModelListener, RefreshablePropertyObjectOwner, IMultiRowContainer, ITestableComponent
public class BBTable
- extends Table
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.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.Component |
m_attributes, m_elContext, m_exprfactory, m_formatMethod, m_id, m_initialized, m_parent, m_pattern, m_props, m_screen, m_theApp, refreshableProperties |
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.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 |
emptyTextLabel
protected net.rim.device.api.ui.component.LabelField emptyTextLabel
padding
protected int padding
BBTable
public BBTable()
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 addedsize
- - 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.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.