org.odftoolkit.simple.style
Enum StyleTypeDefinitions.LineStyle

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

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

Common used line style from users perspective


Enum Constant Summary
BOLD
          bold line
DASH
           
DASH_BOLD
           
DOT_DASH
           
DOT_DASH_BOLD
           
DOT_DOT_DASH
           
DOT_DOT_DASH_BOLD
           
DOTTED
           
DOTTED_BOLD
           
DOUBLE
          double line
DOUBLE_WAVE
           
LONG_DASH
           
LONG_DASH_BOLD
           
NONE
          no border
SINGLE
          single line
SOLID
          solid line
WAVE
           
WAVE_BOLD
           
 
Method Summary
 String toString()
           
static StyleTypeDefinitions.LineStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StyleTypeDefinitions.LineStyle[] 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

NONE

public static final StyleTypeDefinitions.LineStyle NONE
no border


SOLID

public static final StyleTypeDefinitions.LineStyle SOLID
solid line


SINGLE

public static final StyleTypeDefinitions.LineStyle SINGLE
single line


DOUBLE

public static final StyleTypeDefinitions.LineStyle DOUBLE
double line


BOLD

public static final StyleTypeDefinitions.LineStyle BOLD
bold line


DOTTED

public static final StyleTypeDefinitions.LineStyle DOTTED

DOTTED_BOLD

public static final StyleTypeDefinitions.LineStyle DOTTED_BOLD

DASH

public static final StyleTypeDefinitions.LineStyle DASH

DASH_BOLD

public static final StyleTypeDefinitions.LineStyle DASH_BOLD

LONG_DASH

public static final StyleTypeDefinitions.LineStyle LONG_DASH

LONG_DASH_BOLD

public static final StyleTypeDefinitions.LineStyle LONG_DASH_BOLD

DOT_DASH

public static final StyleTypeDefinitions.LineStyle DOT_DASH

DOT_DASH_BOLD

public static final StyleTypeDefinitions.LineStyle DOT_DASH_BOLD

DOT_DOT_DASH

public static final StyleTypeDefinitions.LineStyle DOT_DOT_DASH

DOT_DOT_DASH_BOLD

public static final StyleTypeDefinitions.LineStyle DOT_DOT_DASH_BOLD

WAVE

public static final StyleTypeDefinitions.LineStyle WAVE

WAVE_BOLD

public static final StyleTypeDefinitions.LineStyle WAVE_BOLD

DOUBLE_WAVE

public static final StyleTypeDefinitions.LineStyle DOUBLE_WAVE
Method Detail

values

public static StyleTypeDefinitions.LineStyle[] 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.LineStyle c : StyleTypeDefinitions.LineStyle.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.LineStyle 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

toString

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


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