org.apache.turbine.services.freemarker
Class TextAreaModel

java.lang.Object
  |
  +--org.apache.ecs.GenericElement
        |
        +--org.apache.ecs.ElementAttributes
              |
              +--org.apache.ecs.ConcreteElement
                    |
                    +--org.apache.ecs.MultiPartElement
                          |
                          +--org.apache.ecs.html.TextArea
                                |
                                +--org.apache.turbine.services.freemarker.TextAreaModel
All Implemented Interfaces:
org.apache.ecs.Attributes, java.lang.Cloneable, org.apache.ecs.Element, org.apache.ecs.ElementRegistry, org.apache.ecs.FocusEvents, org.apache.ecs.FormEvents, org.apache.ecs.KeyEvents, org.apache.ecs.MouseEvents, org.apache.ecs.PageEvents, java.io.Serializable, freemarker.template.TemplateMethodModel, freemarker.template.TemplateModel

public class TextAreaModel
extends org.apache.ecs.html.TextArea
implements freemarker.template.TemplateMethodModel

Creates a TEXTAREA html tag. The rows, columns, and wrap attribute can be passed in through a list. This object is intended to be used by applications, so that the name and value attributes will not accidently be altered by designers.

Version:
$Id: TextAreaModel.java,v 1.2 2002/06/07 21:22:45 henning Exp $
Author:
John D. McNally
See Also:
Serialized Form

Fields inherited from class org.apache.ecs.html.TextArea
off, OFF, physical, PHYSICAL, virtual, VIRTUAL
 
Fields inherited from class org.apache.ecs.GenericElement
tabLevel
 
Fields inherited from interface org.apache.ecs.Attributes
NO_ATTRIBUTE_VALUE
 
Fields inherited from interface org.apache.ecs.Element
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE
 
Constructor Summary
TextAreaModel(java.lang.String name, java.lang.String value)
          Deprecated. Creates a textarea html tag.
 
Method Summary
 freemarker.template.TemplateModel exec(java.util.List args)
          Deprecated. Method called by FreeMarker during template parsing.
 boolean isEmpty()
          Deprecated. Required method in TemplateMethodModel, not implemented.
 
Methods inherited from class org.apache.ecs.html.TextArea
addElement, addElement, addElement, addElement, removeElement, setCols, setCols, setDisabled, setName, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnLoad, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnReset, setOnSelect, setOnSubmit, setOnUnload, setReadOnly, setRows, setRows, setTabindex, setTabindex, setWrap
 
Methods inherited from class org.apache.ecs.ConcreteElement
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, keys, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry
 
Methods inherited from class org.apache.ecs.ElementAttributes
addAttribute, addAttribute, addAttribute, addAttribute, attributes, createStartTag, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setLang, setStyle, setTitle
 
Methods inherited from class org.apache.ecs.GenericElement
alterCase, createEndTag, getBeginEndModifier, getBeginEndModifierDefined, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementHashEntry, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilter, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, putTabs, putTabs, removeBeginEndModifier, removeBeginStartModifier, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginModifier, setBeginModifier, setBeginStartModifier, setCase, setCodeSet, setElementType, setEndEndModifier, setEndModifier, setEndModifier, setEndStartModifier, setEndTagChar, setFilter, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextAreaModel

public TextAreaModel(java.lang.String name,
                     java.lang.String value)
Deprecated. 
Creates a textarea html tag.
Parameters:
name - The input name attribute.
value - The text between the tags.
Method Detail

exec

public freemarker.template.TemplateModel exec(java.util.List args)
                                       throws freemarker.template.TemplateModelException
Deprecated. 
Method called by FreeMarker during template parsing.
Specified by:
exec in interface freemarker.template.TemplateMethodModel
Parameters:
args - A List of Strings passed from the template to set, in order, the row and column attributes, and optionally the wrap attribute.
Returns:
Throws:
TemplateModelException. -  

isEmpty

public boolean isEmpty()
Deprecated. 
Required method in TemplateMethodModel, not implemented.
Specified by:
isEmpty in interface freemarker.template.TemplateModel
Returns:
Always false.


Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.