ConditionalFormattingIcon

Inheritance: java.lang.Object

public class ConditionalFormattingIcon

Represents the custom icon of conditional formatting rule.

Methods

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

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
typeintIconSetType. icon’s type
indexinticon’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:

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

ParameterTypeDescription
valueint

setType(int value)

public void setType(int value)

Sets the icon set type.

See IconSetType.

Parameters:

ParameterTypeDescription
valueint

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