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

E17503-02

oracle.adfnmc.component.ui
Class Iterator

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
All Implemented Interfaces:
ICollectionModelListener, RefreshablePropertyObjectOwner, IMultiRowContainer, ITestableComponent
Direct Known Subclasses:
BBIterator

public abstract class Iterator
extends BasicContainer
implements IMultiRowContainer, ICollectionModelListener

Author:
terrykan

Field Summary
static java.lang.Class CLASS_INSTANCE
           
protected  ICollectionModel collectionModel
           
protected  java.util.Vector components
           
protected  int currentRow
           
protected static boolean DEFAULT_FOCUSABLE
           
protected static java.lang.String DEFAULT_FOCUSBACKGROUNDCOLOR
           
protected static java.lang.String DEFAULT_FOCUSFOREGROUNDCOLOR
           
protected static boolean DEFAULT_REQUIRED
           
protected  StringProperty m_focusBackgroundColorProperty
           
protected  StringProperty m_focusForegroundColorProperty
           
protected  boolean m_hasFocusBackgroundColor
           
protected  boolean m_hasFocusForegroundColor
           
protected  BooleanProperty m_requiredProperty
           
protected  boolean refreshing
           
protected  java.util.Vector selectionListeners
           
protected  PanelGroupLayout 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
Iterator()
           
 
Method Summary
abstract  void DEMOsetRowSelected(int i)
           
protected abstract  void destroyChildPanels()
           
 void endInit()
           
 void execute(java.lang.String command, java.util.Vector params)
           
protected  void extractLocals()
           
protected  boolean getDefaultFocusable()
           
 java.lang.String getFocusBackgroundColor()
           
protected abstract  java.lang.String getFocusBackgroundColorNative()
           
 java.lang.String getFocusForegroundColor()
           
protected abstract  java.lang.String getFocusForegroundColorNative()
           
 boolean getRequired()
           
protected abstract  boolean getRequiredNative()
           
 java.lang.Object getValue()
           
protected  void handleRenderedChange()
           
 boolean hasBackgroundColor()
           
 boolean hasForegroundColor()
           
protected  void onSelectionChanged()
           
protected abstract  void resetNativeRowCount(int rangeSize, int newlen)
          Deprecated. - in practice this was doing nothing, due to the implementation loadRangeSize and newlen were always equal Need to use IteratorCollectionListener, or equivalent from RangeBinding or CollectionModel to manage adding and removing panels
protected  void resetRowCount()
          Deprecated. - in practice this was doing nothing, due to the implementation loadRangeSize and newlen were always equal Need to use IteratorCollectionListener, or equivalent from RangeBinding or CollectionModel to manage adding and removing panels
 void setCurrentRow(int rowNum)
           
abstract  void setFocus(int rowNum)
           
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 setRenderProperties()
           
 void setRequired(boolean required)
           
protected  void setRequired(java.lang.Object source, boolean required)
           
protected abstract  void setRequiredNative(boolean required)
           
protected  void setValue(java.lang.Object source, java.lang.Object value)
           
 java.lang.String toString()
           
 Control UIClone()
           
 
Methods inherited from class oracle.adfnmc.component.ui.BasicContainer
endInitRenderableProperties, 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, dumpAllData, 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, hasWidth, 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, 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, disposeElement, disposeRange, newElement, refreshRow, refreshVisible
 

Field Detail

DEFAULT_FOCUSABLE

protected static final boolean DEFAULT_FOCUSABLE
See Also:
Constant Field Values

DEFAULT_REQUIRED

protected static final boolean DEFAULT_REQUIRED
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

m_hasFocusBackgroundColor

protected boolean m_hasFocusBackgroundColor

m_hasFocusForegroundColor

protected boolean m_hasFocusForegroundColor

m_focusBackgroundColorProperty

protected StringProperty m_focusBackgroundColorProperty

m_focusForegroundColorProperty

protected StringProperty m_focusForegroundColorProperty

m_requiredProperty

protected BooleanProperty m_requiredProperty

view

protected PanelGroupLayout view

selectionListeners

protected java.util.Vector selectionListeners

components

protected java.util.Vector components

collectionModel

protected ICollectionModel collectionModel

CLASS_INSTANCE

public static java.lang.Class CLASS_INSTANCE

refreshing

protected boolean refreshing

currentRow

protected int currentRow
Constructor Detail

Iterator

public Iterator()
Method Detail

getDefaultFocusable

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

UIClone

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

DEMOsetRowSelected

public abstract void DEMOsetRowSelected(int i)

endInit

public void endInit()
Overrides:
endInit in class BasicContainer

destroyChildPanels

protected abstract void destroyChildPanels()

setRenderProperties

protected void setRenderProperties()
Overrides:
setRenderProperties in class BasicContainer

setFocus

public abstract void setFocus(int rowNum)

setCurrentRow

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

onSelectionChanged

protected void onSelectionChanged()

resetNativeRowCount

protected abstract void resetNativeRowCount(int rangeSize,
                                            int newlen)
Deprecated. - in practice this was doing nothing, due to the implementation loadRangeSize and newlen were always equal Need to use IteratorCollectionListener, or equivalent from RangeBinding or CollectionModel to manage adding and removing panels

Parameters:
rangeSize -
newlen -

resetRowCount

protected void resetRowCount()
Deprecated. - in practice this was doing nothing, due to the implementation loadRangeSize and newlen were always equal Need to use IteratorCollectionListener, or equivalent from RangeBinding or CollectionModel to manage adding and removing panels


extractLocals

protected void extractLocals()

execute

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

toString

public java.lang.String toString()
Overrides:
toString in class Control

hasBackgroundColor

public boolean hasBackgroundColor()
Overrides:
hasBackgroundColor in class Control

hasForegroundColor

public boolean hasForegroundColor()
Overrides:
hasForegroundColor in class Control

getFocusBackgroundColor

public java.lang.String getFocusBackgroundColor()

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)

getRequired

public boolean getRequired()

setRequired

protected void setRequired(java.lang.Object source,
                           boolean required)

setRequired

public void setRequired(boolean required)

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

handleRenderedChange

protected void handleRenderedChange()
Overrides:
handleRenderedChange in class Container

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)

getRequiredNative

protected abstract boolean getRequiredNative()

setRequiredNative

protected abstract void setRequiredNative(boolean required)

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.