ColorHelper
Inheritance: java.lang.Object
public class ColorHelper
Provides helper functions about color.
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| fromOleColor(int oleColor) | Convert OLE_COLOR. |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toOleColor(Color color, Workbook workbook) | Convert color to OLE_COLOR |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
fromOleColor(int oleColor)
public static Color fromOleColor(int oleColor)
Convert OLE_COLOR.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| oleColor | int | The value of OLE_COLOR. |
Returns: Color - The Color object.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toOleColor(Color color, Workbook workbook)
public static int toOleColor(Color color, Workbook workbook)
Convert color to OLE_COLOR
Parameters:
| Parameter | Type | Description |
|---|---|---|
| color | Color | The Color object. |
| workbook | Workbook |
Returns: int - The value of OLE_COLOR
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |