Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


oracle.jbo.html.databeans
Class JSLOV

java.lang.Object
  |
  +--oracle.jdeveloper.html.WebBeanImpl
        |
        +--oracle.jdeveloper.html.DataWebBeanImpl
              |
              +--oracle.jbo.html.DataWebBeanImpl
                    |
                    +--oracle.jbo.html.databeans.JSLOV
All Implemented Interfaces:
DataWebBean, DataWebBean, WebBean, WebBean

public class JSLOV
extends DataWebBeanImpl

Field Summary

 

Fields inherited from class oracle.jdeveloper.html.DataWebBeanImpl
amName, bReleaseApplication, dispAttrs, ds

 

Fields inherited from class oracle.jdeveloper.html.WebBeanImpl
application, bUsedInTag, out, page, request, response, session

 

Fields inherited from interface oracle.jdeveloper.html.WebBean
contentFrameName, defaultCaboBase, defaultCaboImageBase, defaultImageBase, defaultJSPBase, defaultNLSFormat, JS_LIBRARIES, JS_NAMEID, JSButtonConstructorLib, JSCalendarConstructorLib, JSContainerConstructorLib, JSDataConstructLib, JSModalPageConstructorLib, JSTableConstructLib, JSToolbarConstructorLib, JSTreeConstructLib, JSUtilitiesLib

 

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.jbo.html.DataWebBeanImpl
initialize, setUsedInTag

 

Methods inherited from class oracle.jdeveloper.html.DataWebBeanImpl
clearDisplayAttributes, getApplicationFromContext, getApplicationName, getAttributeLabel, getDisplayAttributeDefs, getDisplayAttributes, getDisplayFieldRenderer, getEditFieldRenderer, 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, getRequest, getRequestVariable, getRequestVariable, getUniqueName, initBeanForJS, initBeanForJS, initBeanForJS, initialize, initialize, initialize, render, setRequestVariable, setRequestVariable

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.jdeveloper.html.DataWebBean
clearDisplayAttributes, getApplicationName, getDisplayAttributeDefs, getDisplayAttributes, getDisplayFieldRenderer, getEditFieldRenderer, getRowSet, getViewObjectName, handleCommit, initialize, initialize, isAppStateful, setDisplayAttributes, setDisplayFieldRenderer, setDisplayFieldRenderer, setEditFieldRenderer, setEditFieldRenderer, setReleaseApplicationResources, setRowSet, shouldDisplayAttribute

 

Methods inherited from interface oracle.jdeveloper.html.WebBean
initialize, initialize, render

 

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.
Specified by:
internalInitialize in interface WebBean
Overrides:
internalInitialize in class DataWebBeanImpl
java.lang.Exception

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.
Specified by:
render in interface WebBean
Overrides:
render in class WebBeanImpl
java.lang.Exception

Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


 

Copyright © 1997, 2003, Oracle. All rights reserved.