Example usage for org.apache.poi.xssf.usermodel XSSFColor setIndexed

List of usage examples for org.apache.poi.xssf.usermodel XSSFColor setIndexed

Introduction

In this page you can find the example usage for org.apache.poi.xssf.usermodel XSSFColor setIndexed.

Prototype

public void setIndexed(int indexed) 

Source Link

Document

Indexed ctColor value.

Usage

From source file:com.miraisolutions.xlconnect.XCellStyle.java

License:Open Source License

public void setBottomBorderColor(short color) {
    XSSFColor clr = new XSSFColor();
    clr.setIndexed(color);
    setBottomBorderColor(clr);/*from   ww  w  . j  a va 2s.c om*/
}

From source file:com.miraisolutions.xlconnect.XCellStyle.java

License:Open Source License

public void setLeftBorderColor(short color) {
    XSSFColor clr = new XSSFColor();
    clr.setIndexed(color);
    setLeftBorderColor(clr);/*from  ww w. j  ava2  s.  co  m*/
}

From source file:com.miraisolutions.xlconnect.XCellStyle.java

License:Open Source License

public void setRightBorderColor(short color) {
    XSSFColor clr = new XSSFColor();
    clr.setIndexed(color);
    setRightBorderColor(clr);/*from w w w  . ja  v a2 s  .c  o  m*/
}

From source file:com.miraisolutions.xlconnect.XCellStyle.java

License:Open Source License

public void setTopBorderColor(short color) {
    XSSFColor clr = new XSSFColor();
    clr.setIndexed(color);
    setTopBorderColor(clr);//w w  w .  ja  v  a  2s  .co  m
}

From source file:com.miraisolutions.xlconnect.XCellStyle.java

License:Open Source License

public void setFillBackgroundColor(short bg) {
    XSSFColor clr = new XSSFColor();
    clr.setIndexed(bg);
    setFillBackgroundColor(clr);//www .j  av a2  s . c  o m
}

From source file:com.miraisolutions.xlconnect.XCellStyle.java

License:Open Source License

public void setFillForegroundColor(short fg) {
    XSSFColor clr = new XSSFColor();
    clr.setIndexed(fg);
    setFillForegroundColor(clr);/*from w  ww .j  a  v a  2s  .c om*/
}