/***************************************************************************
                            Rect.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 The <code> Rect </code> interface is used to represent any <a
 href="http://www.w3.org/TR/REC-CSS2/visufx.html#value-def-shape">
 rect </a> value. This interface reflects the values in the
 underlying style property. Hence, modifications made through this
 interface modify the style property.

 
 @short 
 The <code> Rect </code> interface is used to represent any <a
 href="http://www.
*/
public class  Rect implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected Rect(Class dummy){}

	private native void newRect();
	public Rect() {
		newRect();
	}
	private native void newRect( Rect other);
	public Rect( Rect other) {
		newRect( other);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();

/** 
 This attribute is used for the top of the rect.

     
*/
	public native CSSPrimitiveValue top();

/** 
 This attribute is used for the right of the rect.

     
*/
	public native CSSPrimitiveValue right();

/** 
 This attribute is used for the bottom of the rect.

     
*/
	public native CSSPrimitiveValue bottom();

/** 
 This attribute is used for the left of the rect.

     
*/
	public native CSSPrimitiveValue left();

/** 

 not part of the DOM
     
*/
//	public native RectImpl* handle();
	public native boolean isNull();
}
