org.opentox.toxotis.core.html
Interface HTMLTableRow

All Known Implementing Classes:
HTMLTableRowFixedLength

public interface HTMLTableRow

A row of an HTML table.

Author:
Pantelis Sopasakis, Charalampos Chomenides

Method Summary
 HTMLTableRow cursorDown()
           
 int cursorPosition()
           
 HTMLTableRow cursorUp()
           
 HTMLComponent get(int index)
           
 HTMLComponent getCurrent()
           
 int getNumColumns()
           
 boolean isCursorFirst()
           
 boolean isCursorLast()
           
 boolean isRowEmpty()
           
 HTMLTableRow moveCursorAt(int i)
           
 HTMLTableRow setAtCursor(HTMLComponent component)
           
 HTMLTableRow setColumnWidth(int column, int width)
           
 HTMLTableRow setColumnWidths(int... widths)
           
 HTMLTableRow setCurrentColumnWidth(int width)
           
 

Method Detail

getNumColumns

int getNumColumns()

cursorUp

HTMLTableRow cursorUp()

cursorDown

HTMLTableRow cursorDown()

moveCursorAt

HTMLTableRow moveCursorAt(int i)
                          throws ArrayIndexOutOfBoundsException
Throws:
ArrayIndexOutOfBoundsException

get

HTMLComponent get(int index)
Parameters:
index - Index starts from 1.
Returns:
The current modifiable HTML component.

getCurrent

HTMLComponent getCurrent()

setAtCursor

HTMLTableRow setAtCursor(HTMLComponent component)

setCurrentColumnWidth

HTMLTableRow setCurrentColumnWidth(int width)

setColumnWidth

HTMLTableRow setColumnWidth(int column,
                            int width)

setColumnWidths

HTMLTableRow setColumnWidths(int... widths)

isCursorLast

boolean isCursorLast()

isCursorFirst

boolean isCursorFirst()

cursorPosition

int cursorPosition()

isRowEmpty

boolean isRowEmpty()


Copyright © 2011-2012 OpenTox. All Rights Reserved.