org.odftoolkit.simple.style
Enum StyleTypeDefinitions.OdfFontWeight

java.lang.Object
  extended by java.lang.Enum<StyleTypeDefinitions.OdfFontWeight>
      extended by org.odftoolkit.simple.style.StyleTypeDefinitions.OdfFontWeight
All Implemented Interfaces:
Serializable, Comparable<StyleTypeDefinitions.OdfFontWeight>
Enclosing class:
StyleTypeDefinitions

public static enum StyleTypeDefinitions.OdfFontWeight
extends Enum<StyleTypeDefinitions.OdfFontWeight>

Font weight from ODF specification perspective


Enum Constant Summary
_100
           
_200
           
_300
           
_400
           
_500
           
_600
           
_700
           
_800
           
_900
           
BOLD
           
NORMAL
           
 
Method Summary
static StyleTypeDefinitions.OdfFontWeight enumValueOf(String aValue)
           
 String toString()
           
static StyleTypeDefinitions.OdfFontWeight valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StyleTypeDefinitions.OdfFontWeight[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

_100

public static final StyleTypeDefinitions.OdfFontWeight _100

_200

public static final StyleTypeDefinitions.OdfFontWeight _200

_300

public static final StyleTypeDefinitions.OdfFontWeight _300

_400

public static final StyleTypeDefinitions.OdfFontWeight _400

_500

public static final StyleTypeDefinitions.OdfFontWeight _500

_600

public static final StyleTypeDefinitions.OdfFontWeight _600

_700

public static final StyleTypeDefinitions.OdfFontWeight _700

_800

public static final StyleTypeDefinitions.OdfFontWeight _800

_900

public static final StyleTypeDefinitions.OdfFontWeight _900

BOLD

public static final StyleTypeDefinitions.OdfFontWeight BOLD

NORMAL

public static final StyleTypeDefinitions.OdfFontWeight NORMAL
Method Detail

values

public static StyleTypeDefinitions.OdfFontWeight[] 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 (StyleTypeDefinitions.OdfFontWeight c : StyleTypeDefinitions.OdfFontWeight.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StyleTypeDefinitions.OdfFontWeight valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

enumValueOf

public static StyleTypeDefinitions.OdfFontWeight enumValueOf(String aValue)

toString

public String toString()
Overrides:
toString in class Enum<StyleTypeDefinitions.OdfFontWeight>


Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.