oracle.adf.view.faces.component
Class SelectRangeBase

java.lang.Object
  |
  +--javax.faces.component.UIComponent
        |
        +--oracle.adf.view.faces.component.UIXComponent
              |
              +--oracle.adf.view.faces.component.UIXComponentBase
                    |
                    +--oracle.adf.view.faces.component.SelectRangeBase
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
UIXSelectRange

public abstract class SelectRangeBase
extends UIXComponentBase

Base class for SelectRange


Field Summary
 
Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase
ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY, TYPE
 
Constructor Summary
SelectRangeBase()
           
 
Method Summary
 void addGotoListener(GotoListener listener)
          Adds a GotoListener.
 void broadcast(javax.faces.event.FacesEvent event)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
abstract  javax.faces.el.MethodBinding getGotoListener()
           
 GotoListener[] getGotoListeners()
          Retrieves all GotoListeners
 int getRowCount()
          Gets the total number of rows in this table.
 java.lang.Object getRowData()
          Gets the data for the current row.
abstract  java.lang.Object getValue()
          Get the data model being used by this component.
abstract  boolean isImmediate()
           
 boolean isRowAvailable()
          Checks to see if the current row is available.
 void queueEvent(javax.faces.event.FacesEvent e)
          * We don't want to update model if we have validation errors on the page, so if not immediate, queue the event in INVOKE_APPLICATION phase.
 void removeGotoListener(GotoListener listener)
          Removes a GotoListener.
abstract  void setFirst(int first)
          Sets the index of the first row that is currently visible.
 void setRowIndex(int rowIndex)
          Makes a row current.
 
Methods inherited from class oracle.adf.view.faces.component.UIXComponentBase
addFacesListener, createFacesBean, decode, encodeChildren, encodeEnd, findComponent, getAttribute, getAttributes, getBeanType, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getFamily, getId, getIntProperty, getLocalClientId, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreState, saveState, setAttribute, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectRangeBase

public SelectRangeBase()
Method Detail

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Overrides:
encodeBegin in class UIXComponentBase
java.io.IOException

addGotoListener

public void addGotoListener(GotoListener listener)
Adds a GotoListener.


removeGotoListener

public void removeGotoListener(GotoListener listener)
Removes a GotoListener.


getGotoListeners

public GotoListener[] getGotoListeners()
Retrieves all GotoListeners


getGotoListener

public abstract javax.faces.el.MethodBinding getGotoListener()

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class UIXComponentBase
javax.faces.event.AbortProcessingException

queueEvent

public void queueEvent(javax.faces.event.FacesEvent e)
* We don't want to update model if we have validation errors on the page, so if not immediate, queue the event in INVOKE_APPLICATION phase.

Overrides:
queueEvent in class UIXComponentBase

setRowIndex

public final void setRowIndex(int rowIndex)
Makes a row current.

Parameters:
rowIndex - the zero-based row-index of the row that should be made current. Use -1 to clear the current row.
See Also:
DataModel.setRowIndex(int)

getRowCount

public final int getRowCount()
Gets the total number of rows in this table.

Returns:
-1 if the total number is not known.
See Also:
DataModel.getRowCount()

isRowAvailable

public final boolean isRowAvailable()
Checks to see if the current row is available. This is useful when the total number of rows is not known.

Returns:
true iff the current row is available.
See Also:
DataModel.isRowAvailable()

getRowData

public final java.lang.Object getRowData()
Gets the data for the current row.

Returns:
null if the current row is unavailable
See Also:
DataModel.getRowData()

setFirst

public abstract void setFirst(int first)
Sets the index of the first row that is currently visible.


isImmediate

public abstract boolean isImmediate()

getValue

public abstract java.lang.Object getValue()
Get the data model being used by this component.



Copyright © 2003-2004 Oracle Corporation. All Rights Reserved.