/***************************************************************************
                            CSSValue.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> CSSValue </code> interface represents a simple or a
 complexe value.

 
 @short 
 The <code> CSSValue </code> interface represents a simple or a
 complexe value.
*/
public class  CSSValue implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected CSSValue(Class dummy){}

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

/** 
 A string representation of the current value.

     
*/
	public native String cssText();

/** 
 see {@link cssText}

     
*/
	public native void setCssText( String arg1);

/** 
 A code defining the type of the value as defined above.

     
*/
	public native short cssValueType();

/** 

 not part of the DOM
     
*/
	public native boolean isCSSValueList();
	public native boolean isCSSPrimitiveValue();
//	public native CSSValueImpl handle();
	public native boolean isNull();
	public static final int CSS_INHERIT = 0;
	public static final int CSS_PRIMITIVE_VALUE = 1;
	public static final int CSS_VALUE_LIST = 2;
	public static final int CSS_CUSTOM = 3;
}
