com.iplanet.jato.view.html
Class StaticTextField
java.lang.Object
|
+--com.iplanet.jato.view.ViewBase
|
+--com.iplanet.jato.view.DisplayFieldImpl
|
+--com.iplanet.jato.view.html.HtmlDisplayFieldBase
|
+--com.iplanet.jato.view.html.StaticTextField
- All Implemented Interfaces:
- DisplayField, HtmlDisplayField, View
- public class StaticTextField
- extends HtmlDisplayFieldBase
The StaticTextField represents the server-side representation of an
arbitrary sequence of raw text, typically, but not necessarily raw HTML.
There is no corresponding HTML field for this display field.
Rather its value can be set to any arbitrary text (HTML, other markup, or
content), and that value will then appear the generated document, wherever
this field's getValue() method is referenced.
- Version:
- JATO/1.2.2 $Id: StaticTextField.java,v 1.12 2002/03/16 03:26:45 todd Exp $
Constructor Summary |
StaticTextField(ContainerView parent,
java.lang.String name,
java.lang.Object value)
Construct a display field with the specified properties. |
StaticTextField(ContainerView parent,
java.lang.String name,
java.lang.String boundName,
java.lang.Object value)
Construct a display field with the specified properties. |
StaticTextField(View parent,
Model model,
java.lang.String name,
java.lang.Object value)
Construct a display field with the specified properties |
StaticTextField(View parent,
Model model,
java.lang.String name,
java.lang.String boundName,
java.lang.Object value)
Construct a display field with the specified properties |
StaticTextField(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 |
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 |
StaticTextField
public StaticTextField(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.
StaticTextField
public StaticTextField(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.
StaticTextField
public StaticTextField(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.
StaticTextField
public StaticTextField(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.
StaticTextField
public StaticTextField(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.