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 BorderStyleDASHEDborder-style: dashedstatic BorderStyleDOTTEDborder-style: dottedstatic BorderStyleDOUBLEborder-style: doublestatic BorderStyleGROOVEborder-style: groovestatic BorderStyleHIDDENborder-style: hiddenstatic BorderStyleINSETborder-style: insetstatic BorderStyleNONEborder-style: nonestatic BorderStyleOUTSETborder-style: outsetstatic BorderStyleRIDGEborder-style: ridgestatic BorderStyleSOLIDborder-style: solid
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static BorderStylevalueOf(int enumValue)Returns the enumeration/singleton object based on its name.static BorderStylevalueOf(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:
toStringin classjava.lang.Object
-
-