CellsColor
Inheritance: java.lang.Object
public class CellsColor
Represents all types of color.
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | int |
setColor(Color value)
public void setColor(Color value)
Sets the RGB color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Color |
setColorIndex(int value)
public void setColorIndex(int value)
Sets the color index in the color palette. Only applies of indexed color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setThemeColor(ThemeColor value)
public void setThemeColor(ThemeColor value)
Gets the theme color. Only applies for theme color type.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ThemeColor |
setTintOfShapeColor(double tint)
public void setTintOfShapeColor(double tint)
Set the tint of the shape color
Parameters:
Parameter | Type | Description |
---|---|---|
tint | double |
setTransparency(double value)
public void setTransparency(double value)
Sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
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 |