GridRow

Inheritance: java.lang.Object

public class GridRow

Encapsulates the object that represents a single picture in a spreadsheet.

Methods

MethodDescription
equals(Object arg0)
get(int column)Gets the cell.
getCellByIndex(int index)Get the cell by specific index in the list.
getClass()
getFirstCell()Gets the first cell in the row.
getHeight()Gets the row height in unit of Points.
getHidden()Indicates whether the row is hidden.
getIndex()Gets the index of this row.
getLastCell()Gets the last cell in the row.
getLastDataCell()Gets the last cell in the row.
getOutlineLevel()Gets the outline level.
hashCode()
isBlank()Indicates whether the row contains any data
iterator()Gets the cells enumerator
notify()
notifyAll()
setHeight(double value)Sets the row height in unit of Points.
setHidden(boolean value)Indicates whether the row is hidden.
setOutlineLevel(byte value)Sets the outline level.
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

get(int column)

public GridCell get(int column)

Gets the cell.

Parameters:

ParameterTypeDescription
columnintThe column index

Returns: GridCell -

getCellByIndex(int index)

public GridCell getCellByIndex(int index)

Get the cell by specific index in the list.

Remarks

NOTE: This member is now obsolete. Instead,please use Row.GetEnumerator() method to iterate all cells in this row. This property will be removed 12 months later since February 2015. Aspose apologizes for any inconvenience you may have experienced.

Parameters:

ParameterTypeDescription
indexintThe position.

Returns: GridCell - The Cell object.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFirstCell()

public GridCell getFirstCell()

Gets the first cell in the row.

Returns: GridCell

getHeight()

public double getHeight()

Gets the row height in unit of Points.

Returns: double

getHidden()

public boolean getHidden()

Indicates whether the row is hidden.

Returns: boolean

getIndex()

public int getIndex()

Gets the index of this row.

Returns: int

getLastCell()

public GridCell getLastCell()

Gets the last cell in the row.

Returns: GridCell

getLastDataCell()

public GridCell getLastDataCell()

Gets the last cell in the row.

Returns: GridCell

getOutlineLevel()

public byte getOutlineLevel()

Gets the outline level.

Returns: byte

hashCode()

public native int hashCode()

Returns: int

isBlank()

public boolean isBlank()

Indicates whether the row contains any data

Returns: boolean

iterator()

public Iterator iterator()

Gets the cells enumerator

Returns: java.util.Iterator - The cells enumerator

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setHeight(double value)

public void setHeight(double value)

Sets the row height in unit of Points.

Parameters:

ParameterTypeDescription
valuedouble

setHidden(boolean value)

public void setHidden(boolean value)

Indicates whether the row is hidden.

Parameters:

ParameterTypeDescription
valueboolean

setOutlineLevel(byte value)

public void setOutlineLevel(byte value)

Sets the outline level.

Parameters:

ParameterTypeDescription
valuebyte

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