Business Components

oracle.jbo.html.databeans
Class JSLOV

java.lang.Object
  |
  +--oracle.jdeveloper.html.WebBeanImpl
        |
        +--oracle.jdeveloper.html.DataWebBeanImpl
              |
              +--oracle.jbo.html.databeans.JSLOV

public class JSLOV
extends DataWebBeanImpl


Fields inherited from class oracle.jdeveloper.html.DataWebBeanImpl
attributeRenderers, bReleaseApplication, dispAttrs, qView, sApplication, sRowSetName
 
Fields inherited from class oracle.jdeveloper.html.WebBeanImpl
application, ctx, out, page, request, response, session
 
Constructor Summary
JSLOV()
           
 
Method Summary
protected  java.lang.String getDataValueAt(Row[] drows, int row, AttributeDef[] dattrs, int attr)
           
 java.lang.String getFilter()
           
 java.lang.String getReturnValue()
           
 int getVisibleRows()
          Returns the number of rows displayed (that is, "visible rows") in the RowSet browser.
 void internalInitialize()
          Internal initialize.
 void render()
          Renders an HTML table that contains records from the View Object's RowSet.
 void setFilter(java.lang.String fltr)
           
 void setReturnValue(java.lang.String aName)
           
 void setVisibleRows(int nRows)
          Sets the number of rows to be displayed by the RowSet browser.
 
Methods inherited from class oracle.jdeveloper.html.DataWebBeanImpl
clearDisplayAttributes, getApplicationFromContext, getApplicationName, getAttributeLabel, getDisplayAttributeDefs, getDisplayAttributes, getDisplayFieldRenderer, getEditFieldRenderer, getRowFromKey, getRowKey, getRowSet, getViewObjectName, handleCommit, initialize, initialize, initialize, isAppStateful, releaseApplicationResources, releaseApplicationResources, setDisplayAttributes, setDisplayFieldRenderer, setDisplayFieldRenderer, setEditFieldRenderer, setEditFieldRenderer, setReleaseApplicationResources, setRowSet, shouldDisplayAttribute
 
Methods inherited from class oracle.jdeveloper.html.WebBeanImpl
generateScriptSrc, getCookie, getOut, getRenderingContext, getRequest, getRequestVariable, getUniqueName, initBeanForJS, initialize, initialize, initialize, render, setRequestVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSLOV

public JSLOV()
Method Detail

setVisibleRows

public void setVisibleRows(int nRows)
Sets the number of rows to be displayed by the RowSet browser. Any value you provide will also alter the RowSet's RangeSize. This is important because the RangeSize is the sliding window used to traverse the RowSet. If you set the visible rows to -1 all the rows will be displayed. To see an example of how the RangeSize is manipulated, look at the source code for the NavigatorBar Data Web Bean. All source code to the Web Beans is in jbohtmlsrc.zip.
Parameters:
nRows - number of rows to display in the RowSet browser.

getVisibleRows

public int getVisibleRows()
Returns the number of rows displayed (that is, "visible rows") in the RowSet browser.
Returns:
number of rows displayed in the RowSet browser.

setReturnValue

public void setReturnValue(java.lang.String aName)

getReturnValue

public java.lang.String getReturnValue()

setFilter

public void setFilter(java.lang.String fltr)

getFilter

public java.lang.String getFilter()

internalInitialize

public void internalInitialize()
                        throws java.lang.Exception
Description copied from interface: WebBean
Internal initialize. This method should be overriden by any WebBean needing to initialize some internal data after all the base class member have been initialize properly.
Overrides:
internalInitialize in class DataWebBeanImpl

getDataValueAt

protected java.lang.String getDataValueAt(Row[] drows,
                                          int row,
                                          AttributeDef[] dattrs,
                                          int attr)

render

public void render()
            throws java.lang.Exception
Renders an HTML table that contains records from the View Object's RowSet. This is the View Object to which the RowSetBrowser object was initialized.
Overrides:
render in class WebBeanImpl

Business Components