public static enum ColorHighlightPainter.TextDecoration extends java.lang.Enum<ColorHighlightPainter.TextDecoration>
Enum Constant and Description |
---|
BOTTOM
Similar to the
UNDERLINE decoration, except that the line is drawn
a bit lower, in the lower part of the highlight rectangle. |
NONE
Normal text.
|
STRIKEOUT
A line is drawn through the text.
|
UNDERLINE
A line is drawn below the text.
|
Modifier and Type | Method and Description |
---|---|
static ColorHighlightPainter.TextDecoration |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorHighlightPainter.TextDecoration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorHighlightPainter.TextDecoration NONE
public static final ColorHighlightPainter.TextDecoration UNDERLINE
public static final ColorHighlightPainter.TextDecoration STRIKEOUT
public static final ColorHighlightPainter.TextDecoration BOTTOM
UNDERLINE
decoration, except that the line is drawn
a bit lower, in the lower part of the highlight rectangle.public static ColorHighlightPainter.TextDecoration[] values()
for (ColorHighlightPainter.TextDecoration c : ColorHighlightPainter.TextDecoration.values()) System.out.println(c);
public static ColorHighlightPainter.TextDecoration valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.