Package org.cakelab.jdoxml.api
Enum IDocMarkup.Markup
- java.lang.Object
-
- java.lang.Enum<IDocMarkup.Markup>
-
- org.cakelab.jdoxml.api.IDocMarkup.Markup
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IDocMarkup.Markup>
- Enclosing interface:
- IDocMarkup
public static enum IDocMarkup.Markup extends java.lang.Enum<IDocMarkup.Markup>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Bold
Center
ComputerOutput
Emphasis
Heading
Normal
Preformatted
SmallFont
Subscript
Superscript
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IDocMarkup.Markup
enumFor(int value)
int
value()
static IDocMarkup.Markup
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IDocMarkup.Markup[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Normal
public static final IDocMarkup.Markup Normal
-
Bold
public static final IDocMarkup.Markup Bold
-
Emphasis
public static final IDocMarkup.Markup Emphasis
-
ComputerOutput
public static final IDocMarkup.Markup ComputerOutput
-
Subscript
public static final IDocMarkup.Markup Subscript
-
Superscript
public static final IDocMarkup.Markup Superscript
-
SmallFont
public static final IDocMarkup.Markup SmallFont
-
Center
public static final IDocMarkup.Markup Center
-
Preformatted
public static final IDocMarkup.Markup Preformatted
-
Heading
public static final IDocMarkup.Markup Heading
-
-
Method Detail
-
values
public static IDocMarkup.Markup[] 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 (IDocMarkup.Markup c : IDocMarkup.Markup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IDocMarkup.Markup 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 namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
enumFor
public static IDocMarkup.Markup enumFor(int value)
-
-