Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


com.oracle.outsidein.annotations
Enum CharAttributeValues

java.lang.Object
  extended by java.lang.Enum<CharAttributeValues>
      extended by com.oracle.outsidein.annotations.CharAttributeValues

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CharAttributeValues>

public enum CharAttributeValues
extends java.lang.Enum<CharAttributeValues>

List of character attributes that can be altered in a text annotation.

See Also:
HighlightTextAnnotation.HighlightTextAnnotation(long, long, EnumSet, EnumSet), HighlightTextAnnotation.HighlightTextAnnotation(long, long, com.oracle.outsidein.ColorInfo, com.oracle.outsidein.ColorInfo, EnumSet, EnumSet)

Enum Constant Summary
BOLD
          Bold attribute
CAPS
          All Caps
DOTUNDERLINE
          Dotted Underline
DUNDERLINE
          Double Underline
ITALIC
          Italic attribute
NORMAL
          Normal text - All attributes off
OUTLINE
          Outline Text
SHADOW
          Shadow text
SMALLCAPS
          Small caps
STRIKEOUT
          Strike out text
SUBSCRIPT
          Subscript text
SUPERSCRIPT
          Superscript text
UNDERLINE
          Underline attribute
WORDUNDERLINE
          Word Underline

 

Field Summary
 long value
           

 

Method Summary
static CharAttributeValues valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CharAttributeValues[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

NORMAL

public static final CharAttributeValues NORMAL
Normal text - All attributes off

UNDERLINE

public static final CharAttributeValues UNDERLINE
Underline attribute

ITALIC

public static final CharAttributeValues ITALIC
Italic attribute

BOLD

public static final CharAttributeValues BOLD
Bold attribute

STRIKEOUT

public static final CharAttributeValues STRIKEOUT
Strike out text

SMALLCAPS

public static final CharAttributeValues SMALLCAPS
Small caps

OUTLINE

public static final CharAttributeValues OUTLINE
Outline Text

SHADOW

public static final CharAttributeValues SHADOW
Shadow text

CAPS

public static final CharAttributeValues CAPS
All Caps

SUBSCRIPT

public static final CharAttributeValues SUBSCRIPT
Subscript text

SUPERSCRIPT

public static final CharAttributeValues SUPERSCRIPT
Superscript text

DUNDERLINE

public static final CharAttributeValues DUNDERLINE
Double Underline

WORDUNDERLINE

public static final CharAttributeValues WORDUNDERLINE
Word Underline

DOTUNDERLINE

public static final CharAttributeValues DOTUNDERLINE
Dotted Underline

Field Detail

value

public final long value

Method Detail

values

public static CharAttributeValues[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CharAttributeValues c : CharAttributeValues.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CharAttributeValues valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


Copyright © 2010, 2018, Oracle and/or its affiliates. All rights reserved.