DrawObject

Inheritance: java.lang.Object

public class DrawObject

DrawObject will be initialized and returned when rendering.

Methods

MethodDescription
equals(Object arg0)
getCell()Indicates the Cell object when rendering.
getClass()
getCurrentPage()Indicates the page index of DrawObject.
getImageBytes()Indicates image bytes of rendered Chart, Shape when rendering.
getShape()Indicates the Shape object when rendering.
getSheetIndex()Indicates current sheet index of DrawObject.
getTotalPages()Indicates total pages in current rendering.
getType()Indicates the type of DrawObject.
hashCode()
notify()
notifyAll()
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

getCell()

public Cell getCell()

Indicates the Cell object when rendering. All properties of cell can be accessed.

Returns: Cell

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCurrentPage()

public int getCurrentPage()

Indicates the page index of DrawObject. Page index is based on zero. One Sheet contains several pages when rendering.

Returns: int

getImageBytes()

public byte[] getImageBytes()

Indicates image bytes of rendered Chart, Shape when rendering.

Returns: byte[]

getShape()

public Shape getShape()

Indicates the Shape object when rendering. All properties of shape can be accessed.

Returns: Shape

getSheetIndex()

public int getSheetIndex()

Indicates current sheet index of DrawObject.

Returns: int

getTotalPages()

public int getTotalPages()

Indicates total pages in current rendering.

Returns: int

getType()

public int getType()

Indicates the type of DrawObject.

See DrawObjectEnum.

Returns: int

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