|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.text.AttributedCharacterIterator.Attribute
java.awt.font.TextAttribute
public final class TextAttribute
The TextAttribute class defines attribute keys and attribute values for text rendering. Each TextAttributes should have the following information:
| Field Summary | |
|---|---|
static TextAttribute |
BACKGROUND
The BACKGROUND text attribute. |
static TextAttribute |
BIDI_EMBEDDING
The BIDI_EMBEDDING text attribute key. |
static TextAttribute |
CHAR_REPLACEMENT
The CHAR_REPLACEMENT text attribute key. |
static TextAttribute |
FAMILY
The FAMILY text attribute key. |
static TextAttribute |
FONT
The FONT text attribute key. |
static TextAttribute |
FOREGROUND
The FOREGROUND text attribute key. |
static TextAttribute |
INPUT_METHOD_HIGHLIGHT
The INPUT_METHOD_HIGHLIGHT text attribute key. |
static TextAttribute |
INPUT_METHOD_UNDERLINE
The INPUT_METHOD_UNDERLINE text attribute key. |
static TextAttribute |
JUSTIFICATION
The JUSTIFICATION text attribute key. |
static Float |
JUSTIFICATION_FULL
The Constant JUSTIFICATION_indicates the full requested width. |
static Float |
JUSTIFICATION_NONE
The Constant JUSTIFICATION_NONE indicates that line is not allowed for justification. |
static TextAttribute |
NUMERIC_SHAPING
The NUMERIC_SHAPING text attribute. |
static TextAttribute |
POSTURE
The POSTURE text attribute. |
static Float |
POSTURE_OBLIQUE
The Constant POSTURE_OBLIQUE indicates italic posture. |
static Float |
POSTURE_REGULAR
The Constant POSTURE_REGULAR indicates regular posture. |
static TextAttribute |
RUN_DIRECTION
The RUN_DIRECTION text attribute. |
static Boolean |
RUN_DIRECTION_LTR
The Constant RUN_DIRECTION_LTR indicates left-to-right run direction. |
static Boolean |
RUN_DIRECTION_RTL
The Constant RUN_DIRECTION_RTL indicates right-to-left run direction. |
static TextAttribute |
SIZE
The SIZE text attribute. |
static TextAttribute |
STRIKETHROUGH
The STRIKETHROUGH text attribute. |
static Boolean |
STRIKETHROUGH_ON
The Constant STRIKETHROUGH_ON indicates a single strikethrough. |
static TextAttribute |
SUPERSCRIPT
The SUPERSCRIPT text attribute. |
static Integer |
SUPERSCRIPT_SUB
The Constant SUPERSCRIPT_SUB indicates a standard subscript. |
static Integer |
SUPERSCRIPT_SUPER
The Constant SUPERSCRIPT_SUPER indicates a standard superscript. |
static TextAttribute |
SWAP_COLORS
The SWAP_COLORS text attribute. |
static Boolean |
SWAP_COLORS_ON
The Constant SWAP_COLORS_ON indicates a swap of foreground and background. |
static TextAttribute |
TRANSFORM
The TRANSFORM text attribute. |
static TextAttribute |
UNDERLINE
The Constant UNDERLINE text attribute. |
static Integer |
UNDERLINE_LOW_DASHED
The Constant UNDERLINE_LOW_DASHED indicates single pixel dashed low underline. |
static Integer |
UNDERLINE_LOW_DOTTED
The Constant UNDERLINE_LOW_DOTTED indicates a single pixel dotted low underline. |
static Integer |
UNDERLINE_LOW_GRAY
The Constant UNDERLINE_LOW_GRAY indicates double pixel gray low underline. |
static Integer |
UNDERLINE_LOW_ONE_PIXEL
The Constant UNDERLINE_LOW_ONE_PIXEL indicates a single pixel solid low underline. |
static Integer |
UNDERLINE_LOW_TWO_PIXEL
The Constant UNDERLINE_LOW_TWO_PIXEL indicates a double pixel solid low underline. |
static Integer |
UNDERLINE_ON
The Constant UNDERLINE_ON indicates a standard underline at the roman baseline for roman text. |
static TextAttribute |
WEIGHT
The WEIGHT text attribute. |
static Float |
WEIGHT_BOLD
The Constant WEIGHT_BOLD indicates the standard bold weight. |
static Float |
WEIGHT_DEMIBOLD
The Constant WEIGHT_DEMIBOLD indicates a lighter weight than BOLD. |
static Float |
WEIGHT_DEMILIGHT
The Constant WEIGHT_DEMILIGHT indicates an intermediate weight between LIGHT and STANDARD. |
static Float |
WEIGHT_EXTRA_LIGHT
The Constant WEIGHT_EXTRA_LIGHT indicates the lightest predefined weight. |
static Float |
WEIGHT_EXTRABOLD
The Constant WEIGHT_EXTRABOLD indicates an extra heavy weight. |
static Float |
WEIGHT_HEAVY
The Constant WEIGHT_HEAVY indicates a heavier weight than BOLD. |
static Float |
WEIGHT_LIGHT
The Constant WEIGHT_LIGHT indicates the standard light weight. |
static Float |
WEIGHT_MEDIUM
The Constant WEIGHT_MEDIUM indicates average weight between the REGULAR and BOLD. |
static Float |
WEIGHT_REGULAR
The Constant WEIGHT_REGULAR indicates the standart weight. |
static Float |
WEIGHT_SEMIBOLD
The Constant WEIGHT_SEMIBOLD indicates a semi weight of REGULAR. |
static Float |
WEIGHT_ULTRABOLD
The Constant WEIGHT_ULTRABOLD indicates the heaviest predefined weight. |
static TextAttribute |
WIDTH
The WIDTH text attribute. |
static Float |
WIDTH_CONDENSED
The Constant WIDTH_CONDENSED indicates the most condensed predefined width. |
static Float |
WIDTH_EXTENDED
The Constant WIDTH_EXTENDED indicates extended width. |
static Float |
WIDTH_REGULAR
The Constant WIDTH_REGULAR indicates the standard width. |
static Float |
WIDTH_SEMI_CONDENSED
The Constant WIDTH_SEMI_CONDENSED indicates a semi condensed width. |
static Float |
WIDTH_SEMI_EXTENDED
The Constant WIDTH_SEMI_EXTENDED indicates semi extended width. |
| Fields inherited from class java.text.AttributedCharacterIterator.Attribute |
|---|
INPUT_METHOD_SEGMENT, LANGUAGE, READING |
| Constructor Summary | |
|---|---|
protected |
TextAttribute(String name)
Instantiates a new TextAttribute with the specified name. |
| Method Summary | |
|---|---|
protected Object |
readResolve()
Resolves the instance being deserialized. |
| Methods inherited from class java.text.AttributedCharacterIterator.Attribute |
|---|
equals, getName, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final TextAttribute BACKGROUND
public static final TextAttribute BIDI_EMBEDDING
public static final TextAttribute CHAR_REPLACEMENT
public static final TextAttribute FAMILY
public static final TextAttribute FONT
public static final TextAttribute FOREGROUND
public static final TextAttribute INPUT_METHOD_HIGHLIGHT
public static final TextAttribute INPUT_METHOD_UNDERLINE
public static final TextAttribute JUSTIFICATION
public static final Float JUSTIFICATION_FULL
public static final Float JUSTIFICATION_NONE
public static final TextAttribute NUMERIC_SHAPING
public static final TextAttribute POSTURE
public static final Float POSTURE_REGULAR
public static final Float POSTURE_OBLIQUE
public static final TextAttribute RUN_DIRECTION
public static final Boolean RUN_DIRECTION_LTR
public static final Boolean RUN_DIRECTION_RTL
public static final TextAttribute SIZE
public static final TextAttribute STRIKETHROUGH
public static final Boolean STRIKETHROUGH_ON
public static final TextAttribute SUPERSCRIPT
public static final Integer SUPERSCRIPT_SUB
public static final Integer SUPERSCRIPT_SUPER
public static final TextAttribute SWAP_COLORS
public static final Boolean SWAP_COLORS_ON
public static final TextAttribute TRANSFORM
public static final TextAttribute UNDERLINE
public static final Integer UNDERLINE_ON
public static final Integer UNDERLINE_LOW_ONE_PIXEL
public static final Integer UNDERLINE_LOW_TWO_PIXEL
public static final Integer UNDERLINE_LOW_DOTTED
public static final Integer UNDERLINE_LOW_GRAY
public static final Integer UNDERLINE_LOW_DASHED
public static final TextAttribute WEIGHT
public static final Float WEIGHT_EXTRA_LIGHT
public static final Float WEIGHT_LIGHT
public static final Float WEIGHT_DEMILIGHT
public static final Float WEIGHT_REGULAR
public static final Float WEIGHT_SEMIBOLD
public static final Float WEIGHT_MEDIUM
public static final Float WEIGHT_DEMIBOLD
public static final Float WEIGHT_BOLD
public static final Float WEIGHT_HEAVY
public static final Float WEIGHT_EXTRABOLD
public static final Float WEIGHT_ULTRABOLD
public static final TextAttribute WIDTH
public static final Float WIDTH_CONDENSED
public static final Float WIDTH_SEMI_CONDENSED
public static final Float WIDTH_REGULAR
public static final Float WIDTH_SEMI_EXTENDED
public static final Float WIDTH_EXTENDED
| Constructor Detail |
|---|
protected TextAttribute(String name)
name - the name of TextAttribute.| Method Detail |
|---|
protected Object readResolve()
throws InvalidObjectException
readResolve in class AttributedCharacterIterator.AttributeInvalidObjectException - the InvalidObjectException.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||