Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


oracle.jdeveloper.html
Class ListFieldRenderer

java.lang.Object
  extended byoracle.jdeveloper.html.HTMLFieldRendererImpl
      extended byoracle.jdeveloper.html.ReadOnlyField
          extended byoracle.jdeveloper.html.ListFieldRenderer

All Implemented Interfaces:
HTMLFieldRenderer, HTMLRenderingContext

public class ListFieldRenderer
extends ReadOnlyField

The ListFieldRenderer takes advantage of the BC4J attribute properties in order to render an attribute by mapping it's current value to a set of display values provided via the DISPLAY_LIST property. The syntax for this proper is <short Value=display value>,<short Value=display value>. If you need to map Y to YES and N to NO, the value of the property would be Y=YES,N=NO. If the renderer doesn't find this property in the attribute, it will defeault to rendering the raw value.


Field Summary

 

Fields inherited from class oracle.jdeveloper.html.HTMLFieldRendererImpl
attrDef, ds, htmlAttributes, locale, page, sFormName, sPrompt

 

Constructor Summary
ListFieldRenderer()
           

 

Method Summary
 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.

 

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

 

Constructor Detail

ListFieldRenderer

public ListFieldRenderer()

Method Detail

renderToString

public java.lang.String renderToString(Row row)
Description copied from interface: HTMLFieldRenderer
This method is called when the field renderers are being used from the Tag library and from the DataWebBeans.
Specified by:
renderToString in interface HTMLFieldRenderer
Overrides:
renderToString in class ReadOnlyField

Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


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