Skip to main content

TableTraversalOrder Enum

Lists the possible orders for traversing table cells.

Declaration

public enum TableTraversalOrder extends Enum<TableTraversalOrder> implements IIntEnum

Members

Name Description
COLUMN_THEN_ROW

Specifies that table cells are traversed column by column.

ROW_THEN_COLUMN

Specifies that table cells are traversed row by row.

fromValue(int value)

Returns the TableTraversalOrder enumeration constant with the specified integer value.

getName()

Returns the name of the TableTraversalOrder enumeration constant.

getValue()

Returns the integer value associated with the TableTraversalOrder enumeration constant.

toString()

Returns the string representation of the TableTraversalOrder enumeration constant.

valueOf(String name)

Returns the TableTraversalOrder enumeration constant with the specified name.

values()

Returns an array of all TableTraversalOrder enumeration constants.

Remarks

Tables with merged cells may contain inactive (non-visible) cells. Use the Table.getActiveCells(TableTraversalOrder order) method to obtain active cells.

// Iterate through active cells in the table.
Iterable<TableCell> cells =
        table.getActiveCells(TableTraversalOrder.ROW_THEN_COLUMN);

Tip

If you traverse cells manually, use TableCell.getIsMergedVertically() and TableCell.getIsMergedHorizontally() methods to identify whether the cell is active/inactive.

Refer to the following help topic for additional information: Iterate Active Cells.

Implements

com.devexpress.java.enums.IIntEnum

Inherited Members

java.lang.Enum.<T>valueOf(java.lang.Class<T>,java.lang.String)
java.lang.Enum.clone()
java.lang.Enum.compareTo(E)
java.lang.Enum.describeConstable()
java.lang.Enum.equals(java.lang.Object)
java.lang.Enum.finalize()
java.lang.Enum.getDeclaringClass()
java.lang.Enum.hashCode()
java.lang.Enum.name()
java.lang.Enum.ordinal()
java.lang.Enum.toString()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
java.lang.Enum
TableTraversalOrder