|
Oracle9i Business Components for Java API Reference Oracle9i JDeveloper (9.0.4) B10391-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jdeveloper.html.HTMLFieldRendererImpl | +--oracle.jdeveloper.html.StaticPickList | +--oracle.jdeveloper.html.PickList
This class represents a databound picklist. It binds to data from a BC4J view object. It supports various renderings: combobox, listbox,radio group and checbox group.
Field Summary | |
protected int |
addNullEntry
|
protected java.lang.String |
dataAttr
|
protected java.lang.String |
labelAttr
|
protected RowSet |
qView
|
protected java.lang.String |
sQuery
|
protected java.lang.String |
sVOPath
|
Fields inherited from class oracle.jdeveloper.html.StaticPickList |
aLabels, allvalues, aValues, bUseLineBreaks, iter, nType, TYPE_CHECKBOX_GROUP, TYPE_COMBOBOX, TYPE_LISTBOX, TYPE_RADIO_GROUP, values |
Fields inherited from class oracle.jdeveloper.html.HTMLFieldRendererImpl |
attrDef, ds, htmlAttributes, locale, page, sFormName, sPrompt |
Constructor Summary | |
PickList()
Constructs object. |
Method Summary | |
boolean |
getAllowNulls()
|
java.lang.String |
getDataAttributes()
|
java.lang.String |
getDisplayAttributes()
|
java.lang.String |
getLovVo()
|
protected java.lang.String |
getRenderedString()
|
protected void |
prepareForMutliValueListGeneration()
|
java.lang.String |
renderToString(Row row)
This method is called when the field renderers are being used from the Tag library and from the DataWebBeans. |
void |
setAllowNulls(boolean bSet)
|
void |
setDataAttributes(java.lang.String sDataAttributes)
|
void |
setDataSourceInfo(ApplicationModule appModule,
java.lang.String sQuery)
Defines the data source information for the picklist |
void |
setDataSourceInfo(RowSet qView)
Defines the data source information for the picklist |
void |
setDisplayAttributes(java.lang.String sDisplayAttributes)
|
void |
setLovVo(java.lang.String voName)
|
Methods inherited from class oracle.jdeveloper.html.StaticPickList |
createHTMLSelect, generateCheckBoxGroup, generateComboBox, generateListBox, generateRadioGroup, getControlType, getUseLineBreaks, prepareForMultiValueListGeneration, setControlType, setControlType, setDataSource, setUseLineBreaks |
Methods inherited from class oracle.jdeveloper.html.HTMLFieldRendererImpl |
getAttributeDef, getCSSClassName, getDatasource, getDisplayHeight, getDisplayWidth, getFieldName, getFormName, getHiddenFieldForValue, getHTMLValue, getHTMLValue, getMaxDataLength, getPageContext, getPromptText, getValue, lookup, setAttributeDef, setCSSClassName, setDatasource, setDisplayHeight, setDisplayWidth, setFieldName, setFormName, setHtmlAttributes, setMaxDataLength, setPageContext, setPromptText, setValue, setValueFromRow |
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.PickListContext |
getControlType, getUseLineBreaks, setControlType, setControlType, setUseLineBreaks |
Methods inherited from interface oracle.jdeveloper.html.HTMLRenderingContext |
getFormName, getPromptText, setFormName, setPromptText |
Field Detail |
protected int addNullEntry
protected java.lang.String sQuery
protected RowSet qView
protected java.lang.String labelAttr
protected java.lang.String dataAttr
protected java.lang.String sVOPath
Constructor Detail |
public PickList()
Method Detail |
protected void prepareForMutliValueListGeneration()
public void setDataSourceInfo(RowSet qView)
setDataSourceInfo
in interface PickListContext
qView
- The View object this list is bound topublic void setDataSourceInfo(ApplicationModule appModule, java.lang.String sQuery)
setDataSourceInfo
in interface PickListContext
appModule
- The Application Module that is used to create the view objectsQuery
- The SQL SELECT that retrieves the pciklist values or a ViewObject namepublic void setLovVo(java.lang.String voName)
setLovVo
in interface PickListContext
public java.lang.String getLovVo()
getLovVo
in interface PickListContext
public void setDataAttributes(java.lang.String sDataAttributes)
setDataAttributes
in interface PickListContext
sDataAttributes
- The name of the attribute(s) that provides the data valuespublic java.lang.String getDataAttributes()
getDataAttributes
in interface PickListContext
public void setDisplayAttributes(java.lang.String sDisplayAttributes)
setDisplayAttributes
in interface PickListContext
sDisplayAttributes
- The name of the attribute(s) that provides the label valuespublic java.lang.String getDisplayAttributes()
getDisplayAttributes
in interface PickListContext
public void setAllowNulls(boolean bSet)
setAllowNulls
in interface PickListContext
public boolean getAllowNulls()
protected java.lang.String getRenderedString()
getRenderedString
in class StaticPickList
public java.lang.String renderToString(Row row)
HTMLFieldRenderer
renderToString
in interface HTMLFieldRenderer
renderToString
in class StaticPickList
|
Oracle9i Business Components for Java API Reference Oracle9i JDeveloper (9.0.4) B10391-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.