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 $

Fields inherited from interface com.iplanet.jato.view.html.HtmlDisplayField
QBE_CONTROL_NAME_SUFFIX
 
Fields inherited from interface com.iplanet.jato.view.View
QUALIFIED_VIEW_NAME_SEPARATOR
 
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.html.HtmlDisplayFieldBase
getExtraHtml, getQBEControlQualifiedName, setExtraHtml, urlEncodedValue
 
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 com.iplanet.jato.view.ViewBase
getName, getParent, getParentViewBean, getQualifiedName, getRootView, getRootView, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.iplanet.jato.view.DisplayField
getDescriptor, getValue, getValues, setValue, setValues, stringValue
 
Methods inherited from interface com.iplanet.jato.view.View
getName, getParent, getQualifiedName, setParent
 

Constructor Detail

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 object
name - This view's name and model field bound name
value - 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 object
name - This view's name
boundName - The name of the model field to which this DisplayField is bound
value - 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 object
model - The model to which this DisplayField is bound
name - This view's name and model field bound name
value - 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 object
model - The model to which this DisplayField is bound
name - This view's name.
boundName - The name of the model field to which this DisplayField is bound
value - 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 object
model - The model to which this DisplayField is bound
name - This view's name.
boundName - The name of the model field to which this DisplayField is bound
value - This DiplayField's initial value.
descriptor - This DisplayField's DisplayFieldDescriptor. May be null.