com.iplanet.jato.view.html
Class HtmlDisplayFieldBase
java.lang.Object
|
+--com.iplanet.jato.view.ViewBase
|
+--com.iplanet.jato.view.DisplayFieldImpl
|
+--com.iplanet.jato.view.html.HtmlDisplayFieldBase
- All Implemented Interfaces:
- DisplayField, HtmlDisplayField, View
- Direct Known Subclasses:
- CheckBox, HiddenField, HtmlFrame, ImageField, SelectableGroupImpl, StaticTextField, TextField
- public class HtmlDisplayFieldBase
- extends DisplayFieldImpl
- implements HtmlDisplayField
Constructor Summary |
HtmlDisplayFieldBase(ContainerView parent,
java.lang.String name,
java.lang.Object value)
Construct a display field with the specified properties. |
HtmlDisplayFieldBase(ContainerView parent,
java.lang.String name,
java.lang.String boundName,
java.lang.Object value)
Construct a display field with the specified properties. |
HtmlDisplayFieldBase(View parent,
Model model,
java.lang.String name,
java.lang.Object value)
Construct a display field with the specified properties |
HtmlDisplayFieldBase(View parent,
Model model,
java.lang.String name,
java.lang.String boundName,
java.lang.Object value)
Construct a display field with the specified properties |
HtmlDisplayFieldBase(View parent,
Model model,
java.lang.String name,
java.lang.String boundName,
java.lang.Object value,
DisplayFieldDescriptor descriptor)
Construct a display field with the specified properties |
Method Summary |
java.lang.String |
getExtraHtml()
Returns the string representing any arbitrary "extra HTML" for this field |
java.lang.String |
getQBEControlQualifiedName()
|
void |
setExtraHtml(java.lang.String value)
Supplies a string representing any arbitrary "extra HTML" which will be
appended to the standard HTML generated by this field. |
java.lang.String |
urlEncodedValue()
Encodes the stringValue of the DisplayField's value into x-www-form-urlencoded format. |
Methods inherited from class com.iplanet.jato.view.DisplayFieldImpl |
getBoundName, getDescriptor, getModel, getValue, getValues, setBoundName, setDescriptor, setModel, setValue, setValue, setValues, setValues, stringValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlDisplayFieldBase
public HtmlDisplayFieldBase(ContainerView parent,
java.lang.String name,
java.lang.Object value)
- Construct a display field with the specified properties. The field
will be bound to the parent's default model.
- Parameters:
parent
- The parent view of this objectname
- This view's name and model field bound namevalue
- This DiplayField's initial value.
HtmlDisplayFieldBase
public HtmlDisplayFieldBase(ContainerView parent,
java.lang.String name,
java.lang.String boundName,
java.lang.Object value)
- Construct a display field with the specified properties. The field
will be bound to the parent's default model.
- Parameters:
parent
- The parent view of this objectname
- This view's nameboundName
- The name of the model field to which this DisplayField is boundvalue
- This DiplayField's initial value.
HtmlDisplayFieldBase
public HtmlDisplayFieldBase(View parent,
Model model,
java.lang.String name,
java.lang.Object value)
- Construct a display field with the specified properties
- Parameters:
parent
- The parent view of this objectmodel
- The model to which this DisplayField is boundname
- This view's name and model field bound namevalue
- This DiplayField's initial value.
HtmlDisplayFieldBase
public HtmlDisplayFieldBase(View parent,
Model model,
java.lang.String name,
java.lang.String boundName,
java.lang.Object value)
- Construct a display field with the specified properties
- Parameters:
parent
- The parent view of this objectmodel
- The model to which this DisplayField is boundname
- This view's name.boundName
- The name of the model field to which this DisplayField is boundvalue
- This DiplayField's initial value.
HtmlDisplayFieldBase
public HtmlDisplayFieldBase(View parent,
Model model,
java.lang.String name,
java.lang.String boundName,
java.lang.Object value,
DisplayFieldDescriptor descriptor)
- Construct a display field with the specified properties
- Parameters:
parent
- The parent view of this objectmodel
- The model to which this DisplayField is boundname
- This view's name.boundName
- The name of the model field to which this DisplayField is boundvalue
- This DiplayField's initial value.descriptor
- This DisplayField's DisplayFieldDescriptor. May be null.
getQBEControlQualifiedName
public java.lang.String getQBEControlQualifiedName()
getExtraHtml
public java.lang.String getExtraHtml()
- Returns the string representing any arbitrary "extra HTML" for this field
- Specified by:
getExtraHtml
in interface HtmlDisplayField
- Returns:
- the extra HTML string
setExtraHtml
public void setExtraHtml(java.lang.String value)
- Supplies a string representing any arbitrary "extra HTML" which will be
appended to the standard HTML generated by this field.
- Parameters:
value
- The arbitrary string of "extra HTML".
urlEncodedValue
public java.lang.String urlEncodedValue()
- Encodes the stringValue of the DisplayField's value into x-www-form-urlencoded format.
(see sun.net.URLEncoder.encode for details)
- Returns:
- a URLEncoder.encode version of the DisplayField's string value.