public enum HighlightingMode extends Enum<HighlightingMode>
Enumerates the annotation's highlighting mode, the visual effect to be used when the mouse button is pressed or held down inside its active area.
Enum Constant and Description |
---|
Invert
Invert the contents of the annotation rectangle.
|
None
No highlighting.
|
Outline
Invert the annotation's border.
|
Push
Display the annotation's down appearance, if any.
|
Toggle
Same as Push (which is preferred).
|
Modifier and Type | Method and Description |
---|---|
static HighlightingMode |
getByValue(int value) |
int |
getValue() |
static HighlightingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HighlightingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HighlightingMode None
No highlighting.
public static final HighlightingMode Invert
Invert the contents of the annotation rectangle.
public static final HighlightingMode Outline
Invert the annotation's border.
public static final HighlightingMode Push
Display the annotation's down appearance, if any. If no down appearance is defined, offset the contents of the annotation rectangle to appear as if it were being pushed below the surface of the page.
public static final HighlightingMode Toggle
Same as Push (which is preferred).
public static HighlightingMode[] values()
for (HighlightingMode c : HighlightingMode.values()) System.out.println(c);
public static HighlightingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static HighlightingMode getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.