Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.swing.text
Class StyleConstants.ParagraphConstants

    java.lang.Object
      |
      +--javax.swing.text.StyleConstants
            |
            +--javax.swing.text.StyleConstants.ParagraphConstants

public static class StyleConstants.ParagraphConstants
extends StyleConstants
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.

Inner classes inherited from class javax.swing.text.StyleConstants
`StyleConstants.CharacterConstants, StyleConstants.ColorConstants, StyleConstants.FontConstants, StyleConstants.ParagraphConstants`

Field Summary
`static java.lang.Object` | `Alignment` Alignment for the paragraph.
`static java.lang.Object` | `FirstLineIndent` The amount of space to indent the first line of the paragraph.
`static java.lang.Object` | `LeftIndent` The amount to indent the left side of the paragraph.
`static java.lang.Object` | `LineSpacing` The amount of space between lines of the paragraph.
`static java.lang.Object` | `Orientation` Orientation for the paragraph.
`static java.lang.Object` | `RightIndent` The amount to indent the right side of the paragraph.
`static java.lang.Object` | `SpaceAbove` The amount of space above the paragraph.
`static java.lang.Object` | `SpaceBelow` The amount of space below the paragraph.
`static java.lang.Object` | `TabSet` TabSet for the paragraph.

Fields inherited from class javax.swing.text.StyleConstants
`ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_LEFT, ALIGN_RIGHT, Alignment, Background, BidiLevel, Bold, ComponentAttribute, ComponentElementName, ComposedTextAttribute, FirstLineIndent, FontFamily, FontSize, Foreground, IconAttribute, IconElementName, Italic, LeftIndent, LineSpacing, ModelAttribute, NameAttribute, Orientation, ResolveAttribute, RightIndent, SpaceAbove, SpaceBelow, StrikeThrough, Subscript, Superscript, TabSet, Underline`

Methods inherited from class javax.swing.text.StyleConstants
`getAlignment, getBackground, getBidiLevel, getComponent, getFirstLineIndent, getFontFamily, getFontSize, getForeground, getIcon, getLeftIndent, getLineSpacing, getRightIndent, getSpaceAbove, getSpaceBelow, getTabSet, isBold, isItalic, isStrikeThrough, isSubscript, isSuperscript, isUnderline, setAlignment, setBackground, setBidiLevel, setBold, setComponent, setFirstLineIndent, setFontFamily, setFontSize, setForeground, setIcon, setItalic, setLeftIndent, setLineSpacing, setRightIndent, setSpaceAbove, setSpaceBelow, setStrikeThrough, setSubscript, setSuperscript, setTabSet, setUnderline, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### FirstLineIndent

    public static final java.lang.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 java.lang.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 java.lang.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 java.lang.Object LineSpacing

  The amount of space between lines of the paragraph. Type is float and specifies the size in points.

### SpaceAbove

    public static final java.lang.Object SpaceAbove

  The amount of space above the paragraph. Type is float and specifies the size in points.

### SpaceBelow

    public static final java.lang.Object SpaceBelow

  The amount of space below the paragraph. Type is float and specifies the size in points.

### Alignment

    public static final java.lang.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 java.lang.Object TabSet

  TabSet for the paragraph.

### Orientation

    public static final java.lang.Object Orientation

  Orientation for the paragraph.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Swing 1.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature
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.