ConditionalFormattingIcon
Inheritance: java.lang.Object
public class ConditionalFormattingIcon
Represents the custom icon of conditional formatting rule.
Methods
| Method | Description | 
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getIconImageData(int type, int index) | Get the icon set data | 
| getImageData() | Gets the icon set data. | 
| getImageData(Cell cell) | Gets the image data with the setting of cell. | 
| getIndex() | Gets the icon’s index in the icon set. | 
| getType() | Gets the icon set type. | 
| hashCode() | |
| notify() | |
| notifyAll() | |
| setIndex(int value) | Sets the icon’s index in the icon set. | 
| setType(int value) | Sets the icon set type. | 
| 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
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getIconImageData(int type, int index)
public static byte[] getIconImageData(int type, int index)
Get the icon set data
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| type | int | IconSetType. icon’s type | 
| index | int | icon’s index | 
Returns: byte[] -
getImageData()
public byte[] getImageData()
Gets the icon set data.
Returns: byte[]
getImageData(Cell cell)
public byte[] getImageData(Cell cell)
Gets the image data with the setting of cell.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| cell | Cell | The setting of cell. | 
Returns: byte[] - Returns the image data of icon.
getIndex()
public int getIndex()
Gets the icon’s index in the icon set.
Returns: int
getType()
public int getType()
Gets the icon set type.
See IconSetType.
Returns: int
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setIndex(int value)
public void setIndex(int value)
Sets the icon’s index in the icon set.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | int | 
setType(int value)
public void setType(int value)
Sets the icon set type.
See IconSetType.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | int | 
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 |