Method Summary |
|
int | addElement(Object element) Adds a Cell to the Row . |
int | addElement(Object element, int column) Adds an element to the Row at the position given.
Parameters: element - the element to add. |
void | deleteColumn(int column) Returns a Row that is a copy of this Row
in which a certain column has been deleted. |
public Object | getCell(int column) Gets a Cell or Table from a certain column.
Parameters: column - the column the Cell/Table is in. |
public ArrayList | getChunks() Gets all the chunks in this element. |
public int | getColumns() Gets the number of columns. |
int | getElementID(int column) Returns the type-id of the element in a Row. |
public int | getHorizontalAlignment() Gets the horizontal alignment. |
int | getObjectID(Object element) Returns the type-id of an Object. |
public boolean | isEmpty() Checks if the row is empty. |
boolean | isReserved(int column) Returns true/false when this position in the Row has been reserved, either filled or through a colspan of an Element.
Parameters: column - the column. |
public boolean | process(ElementListener listener) Processes the element by adding it (or the different parts) to a
ElementListener . |
boolean | reserve(int column) Reserves a Cell in the Row .
Parameters: column - the column that has to be reserved. |
boolean | reserve(int column, int size) Reserves a Cell in the Row . |
void | setElement(Object aElement, int column) Puts Cell to the Row at the position given, doesn't reserve colspan. |
public void | setHorizontalAlignment(int value) Sets the horizontal alignment. |
public int | type() Gets the type of the text element. |