//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; public class QStyleSheetItem extends Qt { protected QStyleSheetItem(Class dummy){super((Class) null);} 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 DisplayModeUndefined = -1; 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 WhiteSpaceModeUndefined = -1; 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 MarginUndefined = -1; 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; public static final int ListStyleUndefined = -1; public QStyleSheetItem(QStyleSheet parent, String name) { super((Class) null); newQStyleSheetItem(parent,name); } private native void newQStyleSheetItem(QStyleSheet parent, String name); public QStyleSheetItem(QStyleSheetItem arg1) { super((Class) null); newQStyleSheetItem(arg1); } private native void newQStyleSheetItem(QStyleSheetItem arg1); public native String name(); 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 fontStrikeOut(); public native void setFontStrikeOut(boolean arg1); public native boolean definesFontStrikeOut(); 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(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ public native void dispose(); /** Has the wrapped C++ instance been deleted? */ public native boolean isDisposed(); }