jxl.format
Class BoldStyle

java.lang.Object
  |
  +--jxl.format.BoldStyle
Direct Known Subclasses:
BoldStyle

public class BoldStyle
extends java.lang.Object

Enumeration class containing the various bold styles for data


Field Summary
static BoldStyle BOLD
          Emboldened style
static BoldStyle NORMAL
          Normal style
private  java.lang.String string
          The description
private  int value
          The bold weight
 
Constructor Summary
protected BoldStyle(int val, java.lang.String s)
          Constructor
 
Method Summary
 java.lang.String getDescription()
          Gets the string description of the bold style
 int getValue()
          Gets the value of the bold weight.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

value

private int value
The bold weight

string

private java.lang.String string
The description

NORMAL

public static final BoldStyle NORMAL
Normal style

BOLD

public static final BoldStyle BOLD
Emboldened style
Constructor Detail

BoldStyle

protected BoldStyle(int val,
                    java.lang.String s)
Constructor
Parameters:
val -  
Method Detail

getValue

public int getValue()
Gets the value of the bold weight. This is the value that will be written to the generated Excel file.
Returns:
the bold weight

getDescription

public java.lang.String getDescription()
Gets the string description of the bold style