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

E17503-02

oracle.adfnmc.component.ui
Class BBIterator

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

public class BBIterator
extends Iterator


Nested Class Summary
 class BBIterator.panel_manager
           
 
Field Summary
 
Fields inherited from class oracle.adfnmc.component.ui.Iterator
CLASS_INSTANCE, collectionModel, components, currentRow, DEFAULT_FOCUSABLE, DEFAULT_FOCUSBACKGROUNDCOLOR, DEFAULT_FOCUSFOREGROUNDCOLOR, DEFAULT_REQUIRED, m_focusBackgroundColorProperty, m_focusForegroundColorProperty, m_hasFocusBackgroundColor, m_hasFocusForegroundColor, m_requiredProperty, refreshing, selectionListeners, view
 
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
BBIterator()
           
 
Method Summary
 void addedRange(int relativeIndex, int size)
          Called when a new set of contiguous elements has been created in the collection
 void currentPositionChanged(int newRelativeIndex)
          Called when the current collection position changes - this corresponds to a change of the current underlying model index or position
 void deleteRows(int rangeStart, int rangeSize, boolean fromStart)
           
 void DEMOsetRowSelected(int i)
           
protected  void destroyChildPanels()
           
 void disposeElement(int relativeIndex)
          Called when an element is about to be removed from the collection
 void disposeRange(int relativeIndex, int size)
          Called when a set of contiguous elements is about to be removed from the collection
 void Focus(boolean focused)
           
protected  int getAlignNative()
           
protected  java.lang.String getBackgroundColorNative()
           
protected  int getBottomNative()
           
 Control getCurrentFocus(java.lang.String focusId)
          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  int getHeightNative()
           
protected  int getLeftNative()
           
protected  boolean getRequiredNative()
           
protected  int getRightNative()
           
protected  int getTopNative()
           
protected  int getVerticalAlignNative()
           
protected  boolean getVisibleNative()
           
protected  int getWidthNative()
           
 void highlight(Control control)
           
 void loadRows(int rangeStart, int rangeSize, boolean prepend)
           
 void newElement(int relativeIndex)
          Called when a new element has been created in the collection
 void refreshRow(int absoluteIndex)
          Triggers listeners to refresh the values of the components of a particular row.
 void refreshVisible(int index)
          Triggers listeners to refresh any elements they are currently displaying.
 void render(java.lang.Object uiparent)
           
protected  void renderNative()
           
protected  void resetNativeRowCount(int rangeSize, int newlen)
           
protected  void setAlignNative(int align)
           
protected  void setBackgroundColorNative(java.lang.String backgroundColor)
           
 void setCurrentRow(int rowNum)
           
 boolean setFocus()
           
 void setFocus(int rowNum)
           
protected  void setFocusableNative(boolean focusable)
           
protected  void setFocusBackgroundColorNative(java.lang.String focusBackgroundColor)
           
protected  void setFocusForegroundColorNative(java.lang.String focusForegroundColor)
           
protected  void setHeightNative(int height)
           
protected  void setRequiredNative(boolean required)
           
protected  void setVerticalAlignNative(int verticalAlign)
           
protected  void setVisibleNative(boolean visible)
           
protected  void setWidthNative(int width)
           
 void updateLayoutNative(int availableWidth, int availableHeight)
           
 
Methods inherited from class oracle.adfnmc.component.ui.Iterator
endInit, execute, extractLocals, getDefaultFocusable, getFocusBackgroundColor, getFocusForegroundColor, getRequired, getValue, handleRenderedChange, hasBackgroundColor, hasForegroundColor, onSelectionChanged, resetRowCount, setFocusBackgroundColor, setFocusBackgroundColor, setFocusForegroundColor, setFocusForegroundColor, setRenderProperties, setRequired, setRequired, setValue, toString, UIClone
 
Methods inherited from class oracle.adfnmc.component.ui.BasicContainer
endInitRenderableProperties, getDisabled, getFocusable, getVisible, setDisabled, setDisabled, setDisabledNative, setFocusable, setFocusable, setValue, setVisible, setVisible
 
Methods inherited from class oracle.adfnmc.component.ui.Container
_addChild, _removeChild, addChild, addChild, bindMenus, containsId, dump, dump, dumpAllData, 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, hasWidth, 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, updateBackgroundColorNative
 
Methods inherited from class oracle.adfnmc.component.ui.RenderableComponent
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
 

Constructor Detail

BBIterator

public BBIterator()
Method Detail

highlight

public void highlight(Control control)

loadRows

public void loadRows(int rangeStart,
                     int rangeSize,
                     boolean prepend)

deleteRows

public void deleteRows(int rangeStart,
                       int rangeSize,
                       boolean fromStart)

currentPositionChanged

public void currentPositionChanged(int newRelativeIndex)
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


disposeElement

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

Parameters:
relativeIndex - - the index of the element to be removed

newElement

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

Parameters:
relativeIndex - - the index of the new element

disposeRange

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

Parameters:
relativeIndex - - the starting index of the elements to be removed
size - - the number of elements to be removed

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

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.

Parameters:
index - - the current model index, can be used to 'snap' the viewable area to the current model row

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.


Focus

public void Focus(boolean focused)
Overrides:
Focus in class RenderableComponent

setFocus

public void setFocus(int rowNum)
Specified by:
setFocus in class Iterator

setCurrentRow

public void setCurrentRow(int rowNum)
Specified by:
setCurrentRow in interface IMultiRowContainer
Overrides:
setCurrentRow in class Iterator

getCurrentFocus

public Control getCurrentFocus(java.lang.String focusId)
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:
focusId - requested control's id
Returns:
currently focused control or null

render

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

renderNative

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

resetNativeRowCount

protected void resetNativeRowCount(int rangeSize,
                                   int newlen)
Specified by:
resetNativeRowCount in class Iterator

destroyChildPanels

protected void destroyChildPanels()
Specified by:
destroyChildPanels in class Iterator

DEMOsetRowSelected

public void DEMOsetRowSelected(int i)
Specified by:
DEMOsetRowSelected in class Iterator

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

getFocusBackgroundColorNative

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

setFocusBackgroundColorNative

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

getFocusedNative

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

getFocusForegroundColorNative

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

setFocusForegroundColorNative

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

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

getRequiredNative

protected boolean getRequiredNative()
Specified by:
getRequiredNative in class Iterator

setRequiredNative

protected void setRequiredNative(boolean required)
Specified by:
setRequiredNative in class Iterator

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

updateLayoutNative

public void updateLayoutNative(int availableWidth,
                               int availableHeight)

setFocus

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

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.