Package org.apache.poi.hssf.util
Class HSSFColorExt
- java.lang.Object
-
- org.apache.poi.hssf.util.HSSFColor
-
- org.apache.poi.hssf.util.HSSFColorExt
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.poi.hssf.util.HSSFColor
HSSFColor.HSSFColorPredefined
-
-
Constructor Summary
Constructors Constructor Description HSSFColorExt(FullColorExt colorExt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FullColorExtgetFullColorExt()StringgetHexString()returns colon-delimited hex string "0:0:0"shortgetIndex()returns color standard palette indexHSSFColorgetSimilarColor(HSSFPalette palette)doublegetTint()short[]getTriplet()returns RGB triplet (0, 0, 0)booleanisIndex()booleanisRgb()booleanisTheme()booleanisTint()-
Methods inherited from class org.apache.poi.hssf.util.HSSFColor
equals, getIndex2, getIndexHash, getMutableIndexHash, getTripletHash, hashCode, toHSSFColor
-
-
-
-
Constructor Detail
-
HSSFColorExt
public HSSFColorExt(FullColorExt colorExt)
-
-
Method Detail
-
getFullColorExt
public FullColorExt getFullColorExt()
-
getIndex
public short getIndex()
Description copied from class:HSSFColorreturns color standard palette index
-
getSimilarColor
public HSSFColor getSimilarColor(HSSFPalette palette)
-
isIndex
public boolean isIndex()
-
isTheme
public boolean isTheme()
-
isRgb
public boolean isRgb()
-
isTint
public boolean isTint()
-
getTint
public double getTint()
-
getTriplet
public short[] getTriplet()
Description copied from class:HSSFColorreturns RGB triplet (0, 0, 0)- Overrides:
getTripletin classHSSFColor- Returns:
- triplet representation like that in Excel
-
getHexString
public String getHexString()
Description copied from class:HSSFColorreturns colon-delimited hex string "0:0:0"- Overrides:
getHexStringin classHSSFColor- Returns:
- a hex string exactly like a gnumeric triplet
-
-