Package org.apache.fop.traits
Class BorderStyle
- java.lang.Object
-
- org.apache.fop.traits.TraitEnum
-
- org.apache.fop.traits.BorderStyle
-
- All Implemented Interfaces:
java.io.Serializable
public final class BorderStyle extends TraitEnum
Enumeration class for border styles.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BorderStyle
DASHED
border-style: dashedstatic BorderStyle
DOTTED
border-style: dottedstatic BorderStyle
DOUBLE
border-style: doublestatic BorderStyle
GROOVE
border-style: groovestatic BorderStyle
HIDDEN
border-style: hiddenstatic BorderStyle
INSET
border-style: insetstatic BorderStyle
NONE
border-style: nonestatic BorderStyle
OUTSET
border-style: outsetstatic BorderStyle
RIDGE
border-style: ridgestatic BorderStyle
SOLID
border-style: solid
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static BorderStyle
valueOf(int enumValue)
Returns the enumeration/singleton object based on its name.static BorderStyle
valueOf(java.lang.String name)
Returns the enumeration/singleton object based on its name.-
Methods inherited from class org.apache.fop.traits.TraitEnum
getEnumValue, getName
-
-
-
-
Field Detail
-
NONE
public static final BorderStyle NONE
border-style: none
-
HIDDEN
public static final BorderStyle HIDDEN
border-style: hidden
-
DOTTED
public static final BorderStyle DOTTED
border-style: dotted
-
DASHED
public static final BorderStyle DASHED
border-style: dashed
-
SOLID
public static final BorderStyle SOLID
border-style: solid
-
DOUBLE
public static final BorderStyle DOUBLE
border-style: double
-
GROOVE
public static final BorderStyle GROOVE
border-style: groove
-
RIDGE
public static final BorderStyle RIDGE
border-style: ridge
-
INSET
public static final BorderStyle INSET
border-style: inset
-
OUTSET
public static final BorderStyle OUTSET
border-style: outset
-
-
Method Detail
-
valueOf
public static BorderStyle valueOf(java.lang.String name)
Returns the enumeration/singleton object based on its name.- Parameters:
name
- the name of the enumeration value- Returns:
- the enumeration object
-
valueOf
public static BorderStyle valueOf(int enumValue)
Returns the enumeration/singleton object based on its name.- Parameters:
enumValue
- the enumeration value- Returns:
- the enumeration object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-