|
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 | |
java.lang.String |
getCSSClassName()
Gets the name of the CSS (cascading style sheet) used by this field. |
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. |
java.lang.String |
getFormName()
|
int |
getMaxDataLength()
Gets the maximum input length, in characters, of this field. |
java.lang.String |
getPromptText()
Gets the prompt to be displayed next to this input field. |
java.lang.String |
getValue()
Gets this field's current value. |
java.lang.String |
renderToString(HTMLRenderingContext ctx,
RowSet rs,
Row row,
java.lang.String sAttribute)
This method is called when the field renderers are being used from the Tag library and from the DataWebBeans. |
void |
setCSSClassName(java.lang.String sClass)
Sets the CSS (cascading style sheet) class name to be used by this field. |
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 |
setFormName(java.lang.String sForm)
|
void |
setMaxDataLength(int nLength)
Sets the maximum input length, in characters, of this field. |
void |
setPromptText(java.lang.String sPrompt)
Sets the prompt to be displayed next to this input field. |
void |
setValue(java.lang.String sValue)
Sets this field's current value. |
Method Detail |
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 setPromptText(java.lang.String sPrompt)
sPrompt
- the prompt for this input field.public java.lang.String getPromptText()
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 java.lang.String renderToString(HTMLRenderingContext ctx, RowSet rs, Row row, java.lang.String sAttribute)
public void setFormName(java.lang.String sForm)
public java.lang.String getFormName()
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |