jxl.format
Class BorderLineStyle
java.lang.Object
|
+--jxl.format.BorderLineStyle
- Direct Known Subclasses:
- BorderLineStyle
- public class BorderLineStyle
- extends java.lang.Object
The border line style
Constructor Summary |
protected |
BorderLineStyle(int val,
java.lang.String s)
Constructor |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
value
private int value
- The value
string
private java.lang.String string
- The string description
styles
private static BorderLineStyle[] styles
- The list of alignments
NONE
public static final BorderLineStyle NONE
THIN
public static final BorderLineStyle THIN
MEDIUM
public static final BorderLineStyle MEDIUM
DASHED
public static final BorderLineStyle DASHED
DOTTED
public static final BorderLineStyle DOTTED
THICK
public static final BorderLineStyle THICK
DOUBLE
public static final BorderLineStyle DOUBLE
HAIR
public static final BorderLineStyle HAIR
MEDIUM_DASHED
public static final BorderLineStyle MEDIUM_DASHED
DASH_DOT
public static final BorderLineStyle DASH_DOT
MEDIUM_DASH_DOT
public static final BorderLineStyle MEDIUM_DASH_DOT
DASH_DOT_DOT
public static final BorderLineStyle DASH_DOT_DOT
MEDIUM_DASH_DOT_DOT
public static final BorderLineStyle MEDIUM_DASH_DOT_DOT
SLANTED_DASH_DOT
public static final BorderLineStyle SLANTED_DASH_DOT
BorderLineStyle
protected BorderLineStyle(int val,
java.lang.String s)
- Constructor
getValue
public int getValue()
- Gets the value for this line style
- Returns:
- the value
getDescription
public java.lang.String getDescription()
- Gets the textual description
getStyle
public static BorderLineStyle getStyle(int val)
- Gets the alignment from the value
- Parameters:
val
- - Returns:
- the alignment with that value