001    /*
002     * Copyright (c) 2000 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.css;
014    
015    /**
016     *  The <code>Rect</code> interface is used to represent any rect value. This
017     * interface reflects the values in the underlying style property. Hence,
018     * modifications made to the <code>CSSPrimitiveValue</code> objects modify
019     * the style property.
020     * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113'>Document Object Model (DOM) Level 2 Style Specification</a>.
021     * @since DOM Level 2
022     */
023    public interface Rect {
024        /**
025         *  This attribute is used for the top of the rect.
026         */
027        public CSSPrimitiveValue getTop();
028    
029        /**
030         *  This attribute is used for the right of the rect.
031         */
032        public CSSPrimitiveValue getRight();
033    
034        /**
035         *  This attribute is used for the bottom of the rect.
036         */
037        public CSSPrimitiveValue getBottom();
038    
039        /**
040         *  This attribute is used for the left of the rect.
041         */
042        public CSSPrimitiveValue getLeft();
043    
044    }