CellValueFormatStrategy

Inheritance: java.lang.Object

public final class CellValueFormatStrategy

Specifies how to apply style for the value of the cell.

Fields

FieldDescription
CELL_STYLEOnly formatted with the cell’s original style.
DISPLAY_STRINGGets the displayed string shown in ms excel.
DISPLAY_STYLEFormatted with the cell’s displayed style.
NONENot formatted.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

CELL_STYLE

public static final int CELL_STYLE

Only formatted with the cell’s original style.

DISPLAY_STRING

public static final int DISPLAY_STRING

Gets the displayed string shown in ms excel. The main difference from DISPLAY_STYLE is this option also considers the effect of column width. If the column width is too small to show the formatted string completely, “#” may be shown, just like what ms excel does.

DISPLAY_STYLE

public static final int DISPLAY_STYLE

Formatted with the cell’s displayed style.

NONE

public static final int NONE

Not formatted.

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

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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