FileDocCategorySizeDatePackage
HTMLLegendElementImpl.javaAPI DocJava SE 5 API4187Fri Aug 26 14:55:28 BST 2005com.sun.org.apache.html.internal.dom

HTMLLegendElementImpl

public class HTMLLegendElementImpl extends HTMLElementImpl implements HTMLLegendElement
version
$Revision: 1.6 $ $Date: 2003/05/08 20:13:09 $
author
Assaf Arkin
see
org.w3c.dom.html.HTMLLegendElement
see
com.sun.org.apache.xerces.internal.dom.ElementImpl

Fields Summary
Constructors Summary
public HTMLLegendElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.

param
owner The owner HTML document

        super( owner, name );
    
Methods Summary
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 java.lang.StringgetAlign()

        return getAttribute( "align" );
    
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 voidsetAlign(java.lang.String align)

        setAttribute( "align", align );