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 TypeClassDescriptionclassThe 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.AUTOMATICHSSFBorderFormatting.getVerticalBorderColorColor()HSSF Doesn't support table borders, so alwaysHSSFColor.HSSFColorPredefined.AUTOMATICMethods in org.apache.poi.hssf.usermodel with parameters of type ColorModifier and TypeMethodDescriptionvoidHSSFBorderFormatting.setBottomBorderColor(Color color) voidvoidvoidHSSFBorderFormatting.setDiagonalBorderColor(Color color) voidHSSFPatternFormatting.setFillBackgroundColor(Color bg) voidHSSFPatternFormatting.setFillForegroundColor(Color fg) voidHSSFFontFormatting.setFontColor(Color color) voidHSSFBorderFormatting.setHorizontalBorderColor(Color color) Not available for HSSF.voidHSSFBorderFormatting.setLeftBorderColor(Color color) voidHSSFBorderFormatting.setRightBorderColor(Color color) voidHSSFBorderFormatting.setTopBorderColor(Color color) voidHSSFBorderFormatting.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 TypeClassDescriptionclassIntends 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 HSSFColorHSSFColor.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 TypeClassDescriptionclassRepresents a XSSF-style color (based on either aXSSFColoror aExtendedColorMethods 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 TypeMethodDescriptionvoidBorderFormatting.setBottomBorderColor(Color color) voidvoidSets the list of colours that are interpolated between.voidBorderFormatting.setDiagonalBorderColor(Color color) voidPatternFormatting.setFillBackgroundColor(Color bg) voidPatternFormatting.setFillForegroundColor(Color fg) voidFontFormatting.setFontColor(Color color) Sets the colour to usevoidBorderFormatting.setHorizontalBorderColor(Color color) Range internal border color, such as table stylesvoidBorderFormatting.setLeftBorderColor(Color color) voidBorderFormatting.setRightBorderColor(Color color) voidBorderFormatting.setTopBorderColor(Color color) voidBorderFormatting.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 TypeMethodDescriptionvoidXSSFBorderFormatting.setBottomBorderColor(Color color) voidvoidvoidXSSFBorderFormatting.setDiagonalBorderColor(Color color) voidXSSFPatternFormatting.setFillBackgroundColor(Color bg) voidXSSFPatternFormatting.setFillForegroundColor(Color fg) voidXSSFFontFormatting.setFontColor(Color color) voidXSSFBorderFormatting.setHorizontalBorderColor(Color color) voidXSSFBorderFormatting.setLeftBorderColor(Color color) voidXSSFBorderFormatting.setRightBorderColor(Color color) voidXSSFBorderFormatting.setTopBorderColor(Color color) voidXSSFBorderFormatting.setVerticalBorderColor(Color color) static XSSFColorXSSFColor.toXSSFColor(Color color) Checked type cast color to an XSSFColor.