Uses of Interface
org.apache.poi.ss.usermodel.Color
Packages that use Color
Package
Description
usermodel package maps HSSF low level strutures to familiar workbook/sheet model
util package contains tools needed for writing HSSF files that are not necesarily "real"
HSSF concepts.
-
Uses of Color in org.apache.poi.hssf.usermodel
Classes in org.apache.poi.hssf.usermodel that implement ColorModifier and TypeClassDescriptionclass
The HSSF file format normally stores Color information in the Palette (see PaletteRecord), but for a few cases (eg Conditional Formatting, Sheet Extensions), this XSSF-style color record can be used.Methods in org.apache.poi.hssf.usermodel that return ColorModifier and TypeMethodDescriptionHSSFBorderFormatting.getHorizontalBorderColorColor()
HSSF Doesn't support table borders, so alwaysHSSFColor.HSSFColorPredefined.AUTOMATIC
HSSFBorderFormatting.getVerticalBorderColorColor()
HSSF Doesn't support table borders, so alwaysHSSFColor.HSSFColorPredefined.AUTOMATIC
Methods in org.apache.poi.hssf.usermodel with parameters of type ColorModifier and TypeMethodDescriptionvoid
HSSFBorderFormatting.setBottomBorderColor
(Color color) void
void
void
HSSFBorderFormatting.setDiagonalBorderColor
(Color color) void
HSSFPatternFormatting.setFillBackgroundColor
(Color bg) void
HSSFPatternFormatting.setFillForegroundColor
(Color fg) void
HSSFFontFormatting.setFontColor
(Color color) void
HSSFBorderFormatting.setHorizontalBorderColor
(Color color) Not available for HSSF.void
HSSFBorderFormatting.setLeftBorderColor
(Color color) void
HSSFBorderFormatting.setRightBorderColor
(Color color) void
HSSFBorderFormatting.setTopBorderColor
(Color color) void
HSSFBorderFormatting.setVerticalBorderColor
(Color color) Not available for HSSF. -
Uses of Color in org.apache.poi.hssf.util
Classes in org.apache.poi.hssf.util that implement ColorModifier and TypeClassDescriptionclass
Intends to provide support for the very evil index to triplet issue and will likely replace the color constants interface for HSSF 2.0.Methods in org.apache.poi.hssf.util with parameters of type ColorModifier and TypeMethodDescriptionstatic HSSFColor
HSSFColor.toHSSFColor
(Color color) Checked type cast color to an HSSFColor. -
Uses of Color in org.apache.poi.ss.usermodel
Classes in org.apache.poi.ss.usermodel that implement ColorModifier and TypeClassDescriptionclass
Represents a XSSF-style color (based on either aXSSFColor
or aExtendedColor
Methods in org.apache.poi.ss.usermodel that return ColorModifier and TypeMethodDescriptionBorderFormatting.getBottomBorderColorColor()
DataBarFormatting.getColor()
Color[]
ColorScaleFormatting.getColors()
Gets the list of colours that are interpolated between.BorderFormatting.getDiagonalBorderColorColor()
CellStyle.getFillBackgroundColorColor()
Gets the color object representing the current background fill, resolving indexes using the supplied workbook.PatternFormatting.getFillBackgroundColorColor()
CellStyle.getFillForegroundColorColor()
Gets the color object representing the current foreground fill, resolving indexes using the supplied workbook.PatternFormatting.getFillForegroundColorColor()
FontFormatting.getFontColor()
BorderFormatting.getHorizontalBorderColorColor()
Range internal borders.BorderFormatting.getLeftBorderColorColor()
BorderFormatting.getRightBorderColorColor()
BorderFormatting.getTopBorderColorColor()
BorderFormatting.getVerticalBorderColorColor()
Range internal borders.Methods in org.apache.poi.ss.usermodel with parameters of type ColorModifier and TypeMethodDescriptionvoid
BorderFormatting.setBottomBorderColor
(Color color) void
void
Sets the list of colours that are interpolated between.void
BorderFormatting.setDiagonalBorderColor
(Color color) void
PatternFormatting.setFillBackgroundColor
(Color bg) void
PatternFormatting.setFillForegroundColor
(Color fg) void
FontFormatting.setFontColor
(Color color) Sets the colour to usevoid
BorderFormatting.setHorizontalBorderColor
(Color color) Range internal border color, such as table stylesvoid
BorderFormatting.setLeftBorderColor
(Color color) void
BorderFormatting.setRightBorderColor
(Color color) void
BorderFormatting.setTopBorderColor
(Color color) void
BorderFormatting.setVerticalBorderColor
(Color color) Range internal border color, such as table styles -
Uses of Color in org.apache.poi.xssf.model
Methods in org.apache.poi.xssf.model with parameters of type ColorModifier and TypeMethodDescriptionStylesTable.findFont
(boolean bold, Color color, short fontHeight, String name, boolean italic, boolean strikeout, short typeOffset, byte underline) Finds a font that matches the one with the supplied attributes, where color is the actual Color-value, not the indexed color -
Uses of Color in org.apache.poi.xssf.usermodel
Classes in org.apache.poi.xssf.usermodel that implement ColorMethods in org.apache.poi.xssf.usermodel with parameters of type ColorModifier and TypeMethodDescriptionvoid
XSSFBorderFormatting.setBottomBorderColor
(Color color) void
void
void
XSSFBorderFormatting.setDiagonalBorderColor
(Color color) void
XSSFPatternFormatting.setFillBackgroundColor
(Color bg) void
XSSFPatternFormatting.setFillForegroundColor
(Color fg) void
XSSFFontFormatting.setFontColor
(Color color) void
XSSFBorderFormatting.setHorizontalBorderColor
(Color color) void
XSSFBorderFormatting.setLeftBorderColor
(Color color) void
XSSFBorderFormatting.setRightBorderColor
(Color color) void
XSSFBorderFormatting.setTopBorderColor
(Color color) void
XSSFBorderFormatting.setVerticalBorderColor
(Color color) static XSSFColor
XSSFColor.toXSSFColor
(Color color) Checked type cast color to an XSSFColor.