FileDocCategorySizeDatePackage
ShadingDescriptor.javaAPI DocApache Poi 3.0.11930Mon Jan 01 18:55:30 GMT 2007org.apache.poi.hwpf.usermodel

ShadingDescriptor

public class ShadingDescriptor extends Object implements Cloneable

Fields Summary
public static final int
SIZE
private short
_info
private static final BitField
_icoFore
private static final BitField
_icoBack
private static final BitField
_ipat
Constructors Summary
public ShadingDescriptor()


   
  
  
public ShadingDescriptor(byte[] buf, int offset)

    this(LittleEndian.getShort(buf, offset));
  
public ShadingDescriptor(short info)

    _info = info;
  
Methods Summary
public java.lang.Objectclone()

    return super.clone();
  
public voidserialize(byte[] buf, int offset)

    LittleEndian.putShort(buf, offset, _info);
  
public shorttoShort()

    return _info;