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
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()
|
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 |
JSLOV
public JSLOV()
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
- Throws:
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
- Throws:
java.lang.Exception
Copyright © 1997, 2004, Oracle. All rights reserved.