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 FullColorExt
getFullColorExt()
String
getHexString()
returns colon-delimited hex string "0:0:0"short
getIndex()
returns color standard palette indexHSSFColor
getSimilarColor(HSSFPalette palette)
double
getTint()
short[]
getTriplet()
returns RGB triplet (0, 0, 0)boolean
isIndex()
boolean
isRgb()
boolean
isTheme()
boolean
isTint()
-
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:HSSFColor
returns 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:HSSFColor
returns RGB triplet (0, 0, 0)- Overrides:
getTriplet
in classHSSFColor
- Returns:
- triplet representation like that in Excel
-
getHexString
public String getHexString()
Description copied from class:HSSFColor
returns colon-delimited hex string "0:0:0"- Overrides:
getHexString
in classHSSFColor
- Returns:
- a hex string exactly like a gnumeric triplet
-
-