org.odftoolkit.odfdom.dom.attribute.draw
public static enum DrawDisplayAttribute.Value extends Enum<DrawDisplayAttribute.Value>
Modifier and Type | Method and Description |
---|---|
static DrawDisplayAttribute.Value |
enumValueOf(String value) |
String |
toString() |
static DrawDisplayAttribute.Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrawDisplayAttribute.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawDisplayAttribute.Value ALWAYS
public static final DrawDisplayAttribute.Value NONE
public static final DrawDisplayAttribute.Value PRINTER
public static final DrawDisplayAttribute.Value SCREEN
public static DrawDisplayAttribute.Value[] values()
for (DrawDisplayAttribute.Value c : DrawDisplayAttribute.Value.values()) System.out.println(c);
public static DrawDisplayAttribute.Value 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 String toString()
toString
in class Enum<DrawDisplayAttribute.Value>
public static DrawDisplayAttribute.Value enumValueOf(String value)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.