ColorHelper

Inheritance: java.lang.Object

public class ColorHelper

Provides helper functions about color.

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

fromOleColor(int oleColor)

public static Color fromOleColor(int oleColor)

Convert OLE_COLOR.

Parameters:

ParameterTypeDescription
oleColorintThe 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:

ParameterTypeDescription
colorColorThe Color object.
workbookWorkbook

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int