Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
java.text.AttributedCharacterIterator.Attribute
java.awt.font.TextAttribute
public final class TextAttribute
AttributedString
.
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 theJUSTIFICATION
attribute to indicate full justification of the text.
public static final Float JUSTIFICATION_NONE
A value that can be used with theJUSTIFICATION
attribute 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 thePOSTURE
attribute.
public static final Float POSTURE_REGULAR
A value that can be used with thePOSTURE
attribute.
public static final Boolean RUN_DIRECTION_LTR
A value that can be used with theRUN_DIRECTION
attribute.
public static final Boolean RUN_DIRECTION_RTL
A value that can be used with theRUN_DIRECTION
attribute.
public static final Boolean STRIKETHROUGH_ON
A value that can be used with theSTRIKETHROUGH
attribute.
public static final Integer SUPERSCRIPT_SUB
A value that can be used with theSUPERSCRIPT
attribute.
public static final Integer SUPERSCRIPT_SUPER
A value that can be used with theSUPERSCRIPT
attribute.
public static final Boolean SWAP_COLORS_ON
A value that can be used with theSWAP_COLORS
attribute.
public static final Integer UNDERLINE_LOW_DASHED
A value that can be used with theUNDERLINE
attribute.
public static final Integer UNDERLINE_LOW_DOTTED
A value that can be used with theUNDERLINE
attribute.
public static final Integer UNDERLINE_LOW_GRAY
A value that can be used with theUNDERLINE
attribute.
public static final Integer UNDERLINE_LOW_ONE_PIXEL
A value that can be used with theUNDERLINE
attribute.
public static final Integer UNDERLINE_LOW_TWO_PIXEL
A value that can be used with theUNDERLINE
attribute.
public static final Integer UNDERLINE_ON
A value that can be used with theUNDERLINE
attribute.
public static final Float WEIGHT_DEMIBOLD
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_DEMILIGHT
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_EXTRABOLD
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_EXTRA_LIGHT
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_HEAVY
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_LIGHT
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_MEDIUM
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_REGULAR
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_SEMIBOLD
A value that can be used with theWEIGHT
attribute.
public static final Float WEIGHT_ULTRABOLD
A value that can be used with theWEIGHT
attribute.
public static final Float WIDTH_CONDENSED
A value that can be used with theWIDTH
attribute.
public static final Float WIDTH_EXTENDED
A value that can be used with theWIDTH
attribute.
public static final Float WIDTH_REGULAR
A value that can be used with theWIDTH
attribute.
public static final Float WIDTH_SEMI_CONDENSED
A value that can be used with theWIDTH
attribute.
public static final Float WIDTH_SEMI_EXTENDED
A value that can be used with theWIDTH
attribute.
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.