|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The HTMLFieldRenderer interface defines the set of functions to be implemented by a field renderer. If you are creating a field renderer for use in the oracle.jbo.html.databeans.EditCurrentRecord Data Web Bean, you can avoid implementing all of the methods by extending your field renderer class from the HTMLFieldRendererImpl class. The only method you need to override is populateForm().
Method Summary |
Type | Method |
---|---|
AttributeDef |
getAttributeDef()
|
java.lang.String |
getCSSClassName()
Gets the name of the CSS (cascading style sheet) used by this field. |
DataSource |
getDatasource()
|
int |
getDisplayHeight()
Gets the display height, in characters, of this field. |
int |
getDisplayWidth()
Gets the display width, in characters, of this field. |
java.lang.String |
getFieldName()
Gets this FORM field's name. |
int |
getMaxDataLength()
Gets the maximum input length, in characters, of this field. |
javax.servlet.jsp.PageContext |
getPageContext()
|
java.lang.String |
getValue()
Gets this field's current value. |
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 |
setAttributeDef(AttributeDef attrDef)
|
void |
setCSSClassName(java.lang.String sClass)
Sets the CSS (cascading style sheet) class name to be used by this field. |
void |
setDatasource(DataSource dataSource)
|
void |
setDisplayHeight(int nHeight)
Sets the display height, in characters, of this field. |
void |
setDisplayWidth(int nWidth)
Sets the display width, in characters, of this field. |
void |
setFieldName(java.lang.String sName)
Sets this FORM field's name. |
void |
setHtmlAttributes(com.sun.java.util.collections.HashMap attrs)
Sets multiple html field in once Each element of the HashMap contain the name of the attribute as the key and the value of the html attribute in the value. |
void |
setMaxDataLength(int nLength)
Sets the maximum input length, in characters, of this field. |
void |
setPageContext(javax.servlet.jsp.PageContext page)
|
void |
setValue(java.lang.String sValue)
Sets this field's current value. |
Methods inherited from interface oracle.jdeveloper.html.HTMLRenderingContext |
getFormName, getPromptText, setFormName,
setPromptText |
Method Detail |
public void setPageContext(javax.servlet.jsp.PageContext page)
public javax.servlet.jsp.PageContext getPageContext()
public void setDatasource(DataSource dataSource)
public DataSource getDatasource()
public void setAttributeDef(AttributeDef attrDef)
public AttributeDef getAttributeDef()
public void setFieldName(java.lang.String sName)
sName
- name of this FORM field.public java.lang.String getFieldName()
public void setDisplayWidth(int nWidth)
nWidth
- the display width, in characters.public int getDisplayWidth()
public void setDisplayHeight(int nHeight)
nHeight
- the display height, in characters.public int getDisplayHeight()
public void setMaxDataLength(int nLength)
nLength
- the maximum input length, in characters.public int getMaxDataLength()
public void setCSSClassName(java.lang.String sClass)
sClass
- the class name of the CSS.public java.lang.String getCSSClassName()
public void setValue(java.lang.String sValue)
sValue
- current value of this field.public java.lang.String getValue()
public void setHtmlAttributes(com.sun.java.util.collections.HashMap attrs)
attrs
- Map of the html attributespublic java.lang.String renderToString(Row row)
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |