Class java.awt.swing.text.StyleConstants.ParagraphConstants
java.lang.Object
|
+----java.awt.swing.text.StyleConstants.ParagraphConstants
- public static class StyleConstants.ParagraphConstants
- extends Object
- implements AttributeSet.ParagraphAttribute
This is a typesafe enumeration of the well-known
attributes that contribute to a paragraph style. These are
aliased by the outer class for general presentation.
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirstLineIndent
public static final Object FirstLineIndent
- The amount of space to indent the first
line of the paragraph. This value may be negative
to offset in the reverse direction. The type
is Float and specifies the size of the space
in points.
LeftIndent
public static final Object LeftIndent
- The amount to indent the left side
of the paragraph.
Type is float and specifies the size in points.
RightIndent
public static final Object RightIndent
- The amount to indent the right side
of the paragraph.
Type is float and specifies the size in points.
LineSpacing
public static final Object LineSpacing
- The amount of space between lines
of the paragraph.
Type is float and specifies the size in points.
SpaceAbove
public static final Object SpaceAbove
- The amount of space above the paragraph.
Type is float and specifies the size in points.
SpaceBelow
public static final Object SpaceBelow
- The amount of space below the paragraph.
Type is float and specifies the size in points.
Alignment
public static final Object Alignment
- Alignment for the paragraph. The type is
Integer. Valid values are:
- ALIGN_LEFT
- ALIGN_RIGHT
- ALIGN_CENTER
- ALIGN_JUSTIFED
TabSet
public static final Object TabSet
- TabSet for the paragraph.
toString
public String toString()
- Overrides:
- toString in class Object
Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.