oracle.adfnmc.component.ui
Class BBIterator
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.Iterator
oracle.adfnmc.component.ui.BBIterator
- All Implemented Interfaces:
- ICollectionModelListener, RefreshablePropertyObjectOwner, IMultiRowContainer, ITestableComponent
public class BBIterator
- extends Iterator
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.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.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.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.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 |
BBIterator
public BBIterator()
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 removedsize
- - 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 addedsize
- - 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
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.