FileDocCategorySizeDatePackage
HTMLTextAreaElementImpl.javaAPI DocApache Xerces 3.0.14576Fri Sep 14 20:33:52 BST 2007org.apache.html.dom

HTMLTextAreaElementImpl

public class HTMLTextAreaElementImpl extends HTMLElementImpl implements HTMLFormControl, HTMLTextAreaElement
xerces.internal
version
$Revision: 447255 $ $Date: 2006-09-18 01:36:42 -0400 (Mon, 18 Sep 2006) $
author
Assaf Arkin
see
org.w3c.dom.html.HTMLTextAreaElement
see
org.apache.xerces.dom.ElementImpl

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public HTMLTextAreaElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.

param
owner The owner HTML document

        super( owner, name );
    
Methods Summary
public voidblur()

        // No scripting in server-side DOM. This method is moot.
    
public voidfocus()

        // No scripting in server-side DOM. This method is moot.
    
public java.lang.StringgetAccessKey()

        String    accessKey;
        
        // Make sure that the access key is a single character.
        accessKey = getAttribute( "accesskey" );
        if ( accessKey != null && accessKey.length() > 1 )
            accessKey = accessKey.substring( 0, 1 );
        return accessKey;
    
public intgetCols()

        return getInteger( getAttribute( "cols" ) );
    
public java.lang.StringgetDefaultValue()


      
    
        // ! NOT FULLY IMPLEMENTED !
        return getAttribute( "default-value" );
    
public booleangetDisabled()

        return getBinary( "disabled" );
    
public java.lang.StringgetName()

        return getAttribute( "name" );
    
public booleangetReadOnly()

        return getBinary( "readonly" );
    
public intgetRows()

        return getInteger( getAttribute( "rows" ) );
    
public intgetTabIndex()

        return getInteger( getAttribute( "tabindex" ) );
    
public java.lang.StringgetType()

        return getAttribute( "type" );
    
public java.lang.StringgetValue()

        return getAttribute( "value" );
    
public voidselect()

        // No scripting in server-side DOM. This method is moot.
    
public voidsetAccessKey(java.lang.String accessKey)

        // Make sure that the access key is a single character.
        if ( accessKey != null && accessKey.length() > 1 )
            accessKey = accessKey.substring( 0, 1 );
        setAttribute( "accesskey", accessKey );
    
public voidsetCols(int cols)

        setAttribute( "cols", String.valueOf( cols ) );
    
public voidsetDefaultValue(java.lang.String defaultValue)

        // ! NOT FULLY IMPLEMENTED !
        setAttribute( "default-value", defaultValue );
    
public voidsetDisabled(boolean disabled)

        setAttribute( "disabled", disabled );
    
public voidsetName(java.lang.String name)

        setAttribute( "name", name );
    
public voidsetReadOnly(boolean readOnly)

        setAttribute( "readonly", readOnly );
    
public voidsetRows(int rows)

        setAttribute( "rows", String.valueOf( rows ) );
    
public voidsetTabIndex(int tabIndex)

        setAttribute( "tabindex", String.valueOf( tabIndex ) );
    
public voidsetValue(java.lang.String value)

        setAttribute( "value", value );