/***************************************************************************
                            QStyleSheetItem.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, 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.qt;

import java.util.*;
import java.lang.Error;

public class QStyleSheetItem extends Qt  {
	protected QStyleSheetItem(Class dummy){super((Class) null);}

	private native void newQStyleSheetItem( QStyleSheet parent, String name);
	public QStyleSheetItem( QStyleSheet parent, String name) {
		super((Class) null);
		newQStyleSheetItem( parent, name);
	}
	private native void newQStyleSheetItem( QStyleSheetItem arg1);
	public QStyleSheetItem( QStyleSheetItem arg1) {
		super((Class) null);
		newQStyleSheetItem( arg1);
	}
	protected native void finalize() throws InternalError;
	public native String name();
	public native QStyleSheet styleSheet();
//	public native QStyleSheet styleSheet();
	public native int displayMode();
	public native void setDisplayMode( int m);
	public native int alignment();
	public native void setAlignment( int f);
	public native int verticalAlignment();
	public native void setVerticalAlignment( int valign);
	public native int fontWeight();
	public native void setFontWeight( int w);
	public native int logicalFontSize();
	public native void setLogicalFontSize( int s);
	public native int logicalFontSizeStep();
	public native void setLogicalFontSizeStep( int s);
	public native int fontSize();
	public native void setFontSize( int s);
	public native String fontFamily();
	public native void setFontFamily( String arg1);
	public native int numberOfColumns();
	public native void setNumberOfColumns( int ncols);
	public native QColor color();
	public native void setColor( QColor arg1);
	public native boolean fontItalic();
	public native void setFontItalic( boolean arg1);
	public native boolean definesFontItalic();
	public native boolean fontUnderline();
	public native void setFontUnderline( boolean arg1);
	public native boolean definesFontUnderline();
	public native boolean isAnchor();
	public native void setAnchor( boolean anc);
	public native int whiteSpaceMode();
	public native void setWhiteSpaceMode( int m);
	public native int margin( int m);
	public native void setMargin( int arg1, int arg2);
	public native int listStyle();
	public native void setListStyle( int arg1);
	public native String contexts();
	public native void setContexts( String arg1);
	public native boolean allowedInContext( QStyleSheetItem arg1);
	public native boolean selfNesting();
	public native void setSelfNesting( boolean arg1);
	public native void setLineSpacing( int ls);
	public native int lineSpacing();
	public static final int Undefined = -1;
	public static final int DisplayBlock = 0;
	public static final int DisplayInline = 1;
	public static final int DisplayListItem = 2;
	public static final int DisplayNone = 3;
	public static final int VAlignBaseline = 0;
	public static final int VAlignSub = 1;
	public static final int VAlignSuper = 2;
	public static final int WhiteSpaceNormal = 0;
	public static final int WhiteSpacePre = 1;
	public static final int WhiteSpaceNoWrap = 2;
	public static final int MarginLeft = 0;
	public static final int MarginRight = 1;
	public static final int MarginTop = 2;
	public static final int MarginBottom = 3;
	public static final int MarginFirstLine = 4;
	public static final int MarginAll = 5;
	public static final int MarginVertical = 6;
	public static final int MarginHorizontal = 7;
	public static final int ListDisc = 0;
	public static final int ListCircle = 1;
	public static final int ListSquare = 2;
	public static final int ListDecimal = 3;
	public static final int ListLowerAlpha = 4;
	public static final int ListUpperAlpha = 5;
}
