001    /*
002     * Copyright (c) 2003 World Wide Web Consortium,
003     * (Massachusetts Institute of Technology, Institut National de
004     * Recherche en Informatique et en Automatique, Keio University). All
005     * Rights Reserved. This program is distributed under the W3C's Software
006     * Intellectual Property License. This program is distributed in the
007     * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
008     * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
009     * PURPOSE.
010     * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
011     */
012    
013    package org.w3c.dom.html2;
014    
015    /**
016     * Create a horizontal rule. See the HR element definition in HTML 4.01.
017     * <p>See also the <a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>.
018     */
019    public interface HTMLHRElement extends HTMLElement {
020        /**
021         * Align the rule on the page. See the align attribute definition in HTML
022         * 4.01. This attribute is deprecated in HTML 4.01.
023         */
024        public String getAlign();
025        /**
026         * Align the rule on the page. See the align attribute definition in HTML
027         * 4.01. This attribute is deprecated in HTML 4.01.
028         */
029        public void setAlign(String align);
030    
031        /**
032         * Indicates to the user agent that there should be no shading in the
033         * rendering of this element. See the noshade attribute definition in
034         * HTML 4.01. This attribute is deprecated in HTML 4.01.
035         */
036        public boolean getNoShade();
037        /**
038         * Indicates to the user agent that there should be no shading in the
039         * rendering of this element. See the noshade attribute definition in
040         * HTML 4.01. This attribute is deprecated in HTML 4.01.
041         */
042        public void setNoShade(boolean noShade);
043    
044        /**
045         * The height of the rule. See the size attribute definition in HTML 4.01.
046         * This attribute is deprecated in HTML 4.01.
047         */
048        public String getSize();
049        /**
050         * The height of the rule. See the size attribute definition in HTML 4.01.
051         * This attribute is deprecated in HTML 4.01.
052         */
053        public void setSize(String size);
054    
055        /**
056         * The width of the rule. See the width attribute definition in HTML 4.01.
057         * This attribute is deprecated in HTML 4.01.
058         */
059        public String getWidth();
060        /**
061         * The width of the rule. See the width attribute definition in HTML 4.01.
062         * This attribute is deprecated in HTML 4.01.
063         */
064        public void setWidth(String width);
065    
066    }