version 1.0

com.actimind.actiwate.testing.html
Interface TableCellObjectLookup

All Known Subinterfaces:
TableCell

public interface TableCellObjectLookup

Contains methods for lookup HTML objects within TableCell.


Method Summary
 Button button()
          Returns first button contained in this table cell.
 Button button(int index)
          Returns button contained in this table cell by specified index.
 Checkbox checkbox()
          Returns first checkbox contained in this table cell.
 Checkbox checkbox(int index)
          Returns checkbox contained in this table cell by specified index.
 FileField fileField()
          Returns first file field contained in this table cell.
 FileField fileField(int index)
          Returns file field contained in this table cell by specified index.
 Image image()
          Returns first image or image button contained in this table cell.
 Image[] images()
          Returns all images and image buttons contained in this table cell.
 Link link()
          Returns first link contained in this table cell.
 Link[] links()
          Returns all links contained in this table cell.
 MultipleSelect multiSelect()
          Returns first multiple select contained in this table cell.
 MultipleSelect multiSelect(int index)
          Returns multiple select contained in this table cell by specified index.
 PasswordField passwordField()
          Returns first password field contained in this table cell.
 PasswordField passwordField(int index)
          Returns password field contained in this table cell by specified index.
 RadioButton radioButton()
          Returns first radio button contained in this table cell.
 RadioButton radioButton(int index)
          Returns radio button contained in this table cell by specified index.
 SingleSelect singleSelect()
          Returns first single select (drop down) contained in this table cell.
 SingleSelect singleSelect(int index)
          Returns single select (drop down) contained in this table cell by specified index.
 Table table(int index)
          Returns table by index in the cell.
 Textarea textarea()
          Returns first textarea contained in this table cell.
 Textarea textarea(int index)
          Returns textarea contained in this table cell by specified index.
 TextField textField()
          Returns first text field contained in this table cell.
 TextField textField(int index)
          Returns text field contained in this table cell by specified index.
 

Method Detail

link

public Link link()
          throws LookupException
Returns first link contained in this table cell.

Returns:
first link contained in this table cell.
Throws:
LookupException - if link was not found.

links

public Link[] links()
Returns all links contained in this table cell.

Returns:
all links contained in this table cell or empty array if there are no links.

textField

public TextField textField()
                    throws LookupException
Returns first text field contained in this table cell.

Returns:
first text field contained in this table cell.
Throws:
LookupException - if text field was not found

textField

public TextField textField(int index)
                    throws LookupException
Returns text field contained in this table cell by specified index.

Parameters:
index - index of text field among other text fields in this cell, starting from zero.
Returns:
text field contained in this table cell by specified index.
Throws:
LookupException - if text field was not found

passwordField

public PasswordField passwordField()
                            throws LookupException
Returns first password field contained in this table cell.

Returns:
first password field contained in this table cell.
Throws:
LookupException - if password field was not found

passwordField

public PasswordField passwordField(int index)
                            throws LookupException
Returns password field contained in this table cell by specified index.

Parameters:
index - index of password field among other password fields in this cell, starting from zero.
Returns:
password field contained in this table cell by specified index.
Throws:
LookupException - if password field was not found

fileField

public FileField fileField()
                    throws LookupException
Returns first file field contained in this table cell.

Returns:
first file field contained in this table cell.
Throws:
LookupException - if file field was not found

fileField

public FileField fileField(int index)
                    throws LookupException
Returns file field contained in this table cell by specified index.

Parameters:
index - index of file field among other file fields in this cell, starting from zero.
Returns:
file field contained in this table cell by specified index.
Throws:
LookupException - if file field was not found

textarea

public Textarea textarea()
                  throws LookupException
Returns first textarea contained in this table cell.

Returns:
textarea contained in this table cell.
Throws:
LookupException - if textarea was not found

textarea

public Textarea textarea(int index)
                  throws LookupException
Returns textarea contained in this table cell by specified index.

Parameters:
index - index of textarea among other textareas in this cell, starting from zero.
Returns:
textarea contained in this table cell by specified index.
Throws:
LookupException - if textarea was not found

singleSelect

public SingleSelect singleSelect()
                          throws LookupException
Returns first single select (drop down) contained in this table cell.

Returns:
first single select (drop down) contained in this table cell.
Throws:
LookupException - if single select was not found.

singleSelect

public SingleSelect singleSelect(int index)
                          throws LookupException
Returns single select (drop down) contained in this table cell by specified index.

Parameters:
index - index of drop down among other drop downs in this cell, starting from zero.
Returns:
single select (drop down) contained in this table cell by specified index.
Throws:
LookupException - if object was not found

multiSelect

public MultipleSelect multiSelect()
                           throws LookupException
Returns first multiple select contained in this table cell.

Returns:
first multiple select contained in this table cell.
Throws:
LookupException - if multiple select was not found

multiSelect

public MultipleSelect multiSelect(int index)
                           throws LookupException
Returns multiple select contained in this table cell by specified index.

Parameters:
index - index of multiple select among other multiple selects in this cell, starting from zero.
Returns:
multiple select contained in this table cell by specified index.
Throws:
LookupException - if multiple select was not found

checkbox

public Checkbox checkbox()
                  throws LookupException
Returns first checkbox contained in this table cell.

Returns:
first checkbox contained in this table cell.
Throws:
LookupException - if checkbox was not found

checkbox

public Checkbox checkbox(int index)
                  throws LookupException
Returns checkbox contained in this table cell by specified index.

Parameters:
index - index of checkbox among other checkboxes in this cell, starting from zero.
Returns:
checkbox contained in this table cell by specified index.
Throws:
LookupException - if checkbox was not found

radioButton

public RadioButton radioButton()
                        throws LookupException
Returns first radio button contained in this table cell.

Returns:
first radio button contained in this table cell.
Throws:
LookupException - if radio button was not found

radioButton

public RadioButton radioButton(int index)
                        throws LookupException
Returns radio button contained in this table cell by specified index.

Parameters:
index - index of radio button among other radio buttons in this cell, starting from zero.
Returns:
radio button contained in this table cell by specified index.
Throws:
LookupException - if radio button was not found

button

public Button button()
              throws LookupException
Returns first button contained in this table cell.

Returns:
first button contained in this table cell.
Throws:
LookupException - if button was not found

button

public Button button(int index)
              throws LookupException
Returns button contained in this table cell by specified index.

Parameters:
index - index of button among other buttons in this cell, starting from zero.
Returns:
button contained in this table cell by specified index.
Throws:
LookupException - if button was not found

image

public Image image()
            throws LookupException
Returns first image or image button contained in this table cell.

Returns:
first image or image button contained in this table cell.
Throws:
LookupException - if image was not found

images

public Image[] images()
Returns all images and image buttons contained in this table cell.

Returns:
all images and image buttons contained in this table cell or empty array if there are no images.

table

public Table table(int index)
            throws LookupException
Returns table by index in the cell. Search does not take into account tables nested in other tables.

Parameters:
index - index of table among other tables in this cell, starting from zero.
Throws:
LookupException - if table was not found


Copyright © 2007 Actimind, Inc. All Rights Reserved.