| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjava.text.AttributedCharacterIterator.Attributejava.awt.font.TextAttributepublic final class TextAttributeAttributedString.
Field Summary | |
static TextAttribute |
|
static TextAttribute |
|
static TextAttribute |
|
static TextAttribute |
|
static TextAttribute |
|
static TextAttribute |
|
static TextAttribute |
|
static TextAttribute |
|
static TextAttribute |
|
static Float |
|
static Float |
|
static TextAttribute |
|
static TextAttribute |
|
static Float |
|
static Float |
|
static TextAttribute |
|
static Boolean |
|
static Boolean |
|
static TextAttribute |
|
static TextAttribute |
|
static Boolean |
|
static TextAttribute |
|
static Integer |
|
static Integer |
|
static TextAttribute |
|
static Boolean |
|
static TextAttribute |
|
static TextAttribute |
|
static Integer |
|
static Integer |
|
static Integer |
|
static Integer |
|
static Integer |
|
static Integer |
|
static TextAttribute |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static TextAttribute |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
static Float |
|
Fields inherited from class java.text.AttributedCharacterIterator.Attribute | |
INPUT_METHOD_SEGMENT, LANGUAGE, READING | |
Constructor Summary | |
| |
Method Summary | |
protected Object |
|
Methods inherited from class java.text.AttributedCharacterIterator.Attribute | |
equals, getName, hashCode, readResolve, toString | |
Methods inherited from class java.lang.Object | |
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait | |
public static final TextAttribute BIDI_EMBEDDING
A key for the BIDI_EMBEDDING attribute.
public static final TextAttribute CHAR_REPLACEMENT
A key for the CHAR_REPLACEMENT attribute.
public static final TextAttribute INPUT_METHOD_HIGHLIGHT
A key for the INPUT_METHOD_HIGHLIGHT attribute.
public static final TextAttribute INPUT_METHOD_UNDERLINE
A key for the INPUT_METHOD_UNDERLINE attribute.
public static final TextAttribute JUSTIFICATION
A key for the text justification attribute.
public static final Float JUSTIFICATION_FULL
A value that can be used with theJUSTIFICATIONattribute to indicate full justification of the text.
public static final Float JUSTIFICATION_NONE
A value that can be used with theJUSTIFICATIONattribute to indicate no justification of the text.
public static final TextAttribute NUMERIC_SHAPING
A key for the NUMERIC_SHAPING attribute.
public static final Float POSTURE_OBLIQUE
A value that can be used with thePOSTUREattribute.
public static final Float POSTURE_REGULAR
A value that can be used with thePOSTUREattribute.
public static final Boolean RUN_DIRECTION_LTR
A value that can be used with theRUN_DIRECTIONattribute.
public static final Boolean RUN_DIRECTION_RTL
A value that can be used with theRUN_DIRECTIONattribute.
public static final Boolean STRIKETHROUGH_ON
A value that can be used with theSTRIKETHROUGHattribute.
public static final Integer SUPERSCRIPT_SUB
A value that can be used with theSUPERSCRIPTattribute.
public static final Integer SUPERSCRIPT_SUPER
A value that can be used with theSUPERSCRIPTattribute.
public static final Boolean SWAP_COLORS_ON
A value that can be used with theSWAP_COLORSattribute.
public static final Integer UNDERLINE_LOW_DASHED
A value that can be used with theUNDERLINEattribute.
public static final Integer UNDERLINE_LOW_DOTTED
A value that can be used with theUNDERLINEattribute.
public static final Integer UNDERLINE_LOW_GRAY
A value that can be used with theUNDERLINEattribute.
public static final Integer UNDERLINE_LOW_ONE_PIXEL
A value that can be used with theUNDERLINEattribute.
public static final Integer UNDERLINE_LOW_TWO_PIXEL
A value that can be used with theUNDERLINEattribute.
public static final Integer UNDERLINE_ON
A value that can be used with theUNDERLINEattribute.
public static final Float WEIGHT_DEMIBOLD
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_DEMILIGHT
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_EXTRABOLD
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_EXTRA_LIGHT
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_HEAVY
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_LIGHT
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_MEDIUM
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_REGULAR
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_SEMIBOLD
A value that can be used with theWEIGHTattribute.
public static final Float WEIGHT_ULTRABOLD
A value that can be used with theWEIGHTattribute.
public static final Float WIDTH_CONDENSED
A value that can be used with theWIDTHattribute.
public static final Float WIDTH_EXTENDED
A value that can be used with theWIDTHattribute.
public static final Float WIDTH_REGULAR
A value that can be used with theWIDTHattribute.
public static final Float WIDTH_SEMI_CONDENSED
A value that can be used with theWIDTHattribute.
public static final Float WIDTH_SEMI_EXTENDED
A value that can be used with theWIDTHattribute.
protected TextAttribute(String name)
Creates a new attribute.
- Parameters:
name- the name.
protected Object readResolve() throws InvalidObjectException
After deserialization, this method ensures that only one instance of each attribute is used.
- Overrides:
- readResolve in interface AttributedCharacterIterator.Attribute
- Returns:
- The (single) attribute instance.
- Throws:
InvalidObjectException- if the attribute is not recognised.