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

HTMLTableColElementImpl

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

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

param
owner The owner HTML document

        super( owner, name );
    
Methods Summary
public java.lang.StringgetAlign()

        return capitalize( getAttribute( "align" ) );
    
public java.lang.StringgetCh()

        String    ch;
        
        // Make sure that the access key is a single character.
        ch = getAttribute( "char" );
        if ( ch != null && ch.length() > 1 )
            ch = ch.substring( 0, 1 );
        return ch;
    
public java.lang.StringgetChOff()

        return getAttribute( "charoff" );
    
public intgetSpan()

        return getInteger( getAttribute( "span" ) );
    
public java.lang.StringgetVAlign()

        return capitalize( getAttribute( "valign" ) );
    
public java.lang.StringgetWidth()

        return getAttribute( "width" );
    
public voidsetAlign(java.lang.String align)

        setAttribute( "align", align );
    
public voidsetCh(java.lang.String ch)

        // Make sure that the access key is a single character.
        if ( ch != null && ch.length() > 1 )
            ch = ch.substring( 0, 1 );
        setAttribute( "char", ch );
    
public voidsetChOff(java.lang.String chOff)

        setAttribute( "charoff", chOff );
    
public voidsetSpan(int span)

        setAttribute( "span", String.valueOf( span ) );
    
public voidsetVAlign(java.lang.String vAlign)

        setAttribute( "valign", vAlign );
    
public voidsetWidth(java.lang.String width)

        setAttribute( "width", width );