Package org.apache.poi.hwpf.model
Class Colorref
- java.lang.Object
-
- org.apache.poi.hwpf.model.Colorref
-
- All Implemented Interfaces:
java.lang.Cloneable
@Internal public class Colorref extends java.lang.Object implements java.lang.Cloneable
24-bit color structure
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Colorref
clone()
boolean
equals(java.lang.Object obj)
int
getValue()
int
hashCode()
boolean
isEmpty()
void
serialize(byte[] data, int offset)
void
setValue(int value)
byte[]
toByteArray()
java.lang.String
toString()
static Colorref
valueOfIco(int ico)
-
-
-
Method Detail
-
valueOfIco
public static Colorref valueOfIco(int ico)
-
clone
public Colorref clone() throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getValue
public int getValue()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
isEmpty
public boolean isEmpty()
-
serialize
public void serialize(byte[] data, int offset)
-
setValue
public void setValue(int value)
-
toByteArray
public byte[] toByteArray()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-