|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTextCharFormat.VerticalAlignment>
com.trolltech.qt.gui.QTextCharFormat.VerticalAlignment
public static enum QTextCharFormat.VerticalAlignment
This enum describes the ways that adjacent characters can be vertically aligned.
Enum Constant Summary | |
---|---|
AlignBottom
The bottom edge of the object is vertically aligned with the base line. |
|
AlignMiddle
This is currently only implemented for inline objects. |
|
AlignNormal
Adjacent characters are positioned in the standard way for text in the writing system in use. |
|
AlignSubScript
Characters are placed below the baseline for normal text. |
|
AlignSuperScript
Characters are placed above the baseline for normal text. |
|
AlignTop
The top edge of the object is vertically aligned with the base line. |
Method Summary | |
---|---|
static QTextCharFormat.VerticalAlignment |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QTextCharFormat.VerticalAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTextCharFormat.VerticalAlignment[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QTextCharFormat.VerticalAlignment AlignNormal
Adjacent characters are positioned in the standard way for text in the writing system in use.
public static final QTextCharFormat.VerticalAlignment AlignSuperScript
Characters are placed above the baseline for normal text.
public static final QTextCharFormat.VerticalAlignment AlignSubScript
Characters are placed below the baseline for normal text.
public static final QTextCharFormat.VerticalAlignment AlignMiddle
This is currently only implemented for inline objects. The center of the object is vertically aligned with the base line.
public static final QTextCharFormat.VerticalAlignment AlignTop
The top edge of the object is vertically aligned with the base line.
public static final QTextCharFormat.VerticalAlignment AlignBottom
The bottom edge of the object is vertically aligned with the base line.
Method Detail |
---|
public static final QTextCharFormat.VerticalAlignment[] values()
for(QTextCharFormat.VerticalAlignment c : QTextCharFormat.VerticalAlignment.values()) System.out.println(c);
public static QTextCharFormat.VerticalAlignment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QTextCharFormat.VerticalAlignment resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |