CellsColor

Inheritance: java.lang.Object

public class CellsColor

Represents all types of color.

Methods

MethodDescription
equals(Object arg0)
getArgb()Gets the color from a 32-bit ARGB value.
getClass()
getColor()Gets the RGB color.
getColorIndex()Gets the color index in the color palette.
getThemeColor()Gets the theme color.
getTransparency()Gets transparency as a value from 0.0 (opaque) through 1.0 (clear).
getType()The color type.
hashCode()
isShapeColor()Gets the color which should apply to cell or shape.
notify()
notifyAll()
setArgb(int value)Sets the color from a 32-bit ARGB value.
setColor(Color value)Sets the RGB color.
setColorIndex(int value)Sets the color index in the color palette.
setShapeColor(boolean value)Sets the color which should apply to cell or shape.
setThemeColor(ThemeColor value)Gets the theme color.
setTintOfShapeColor(double tint)Set the tint of the shape color
setTransparency(double value)Sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
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

getArgb()

public int getArgb()

Gets the color from a 32-bit ARGB value.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

public Color getColor()

Gets the RGB color.

Returns: Color

getColorIndex()

public int getColorIndex()

Gets the color index in the color palette. Only applies of indexed color.

Returns: int

getThemeColor()

public ThemeColor getThemeColor()

Gets the theme color. Only applies for theme color type.

Returns: ThemeColor

getTransparency()

public double getTransparency()

Gets transparency as a value from 0.0 (opaque) through 1.0 (clear).

Returns: double

getType()

public int getType()

The color type.

See ColorType.

Returns: int

hashCode()

public native int hashCode()

Returns: int

isShapeColor()

public boolean isShapeColor()

Gets the color which should apply to cell or shape.

Remarks

The expression of the color of the cell and the shape is different. For example: the theme color with same tint value will be not same in the cell and the shape.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setArgb(int value)

public void setArgb(int value)

Sets the color from a 32-bit ARGB value.

Parameters:

ParameterTypeDescription
valueint

setColor(Color value)

public void setColor(Color value)

Sets the RGB color.

Parameters:

ParameterTypeDescription
valueColor

setColorIndex(int value)

public void setColorIndex(int value)

Sets the color index in the color palette. Only applies of indexed color.

Parameters:

ParameterTypeDescription
valueint

setShapeColor(boolean value)

public void setShapeColor(boolean value)

Sets the color which should apply to cell or shape.

Remarks

The expression of the color of the cell and the shape is different. For example: the theme color with same tint value will be not same in the cell and the shape.

Parameters:

ParameterTypeDescription
valueboolean

setThemeColor(ThemeColor value)

public void setThemeColor(ThemeColor value)

Gets the theme color. Only applies for theme color type.

Parameters:

ParameterTypeDescription
valueThemeColor

setTintOfShapeColor(double tint)

public void setTintOfShapeColor(double tint)

Set the tint of the shape color

Parameters:

ParameterTypeDescription
tintdouble

setTransparency(double value)

public void setTransparency(double value)

Sets transparency as a value from 0.0 (opaque) through 1.0 (clear).

Parameters:

ParameterTypeDescription
valuedouble

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