version 1.0

com.actimind.actiwate.testing.html.objects
Interface Button

All Superinterfaces:
BaseElement, ClickableElement, FormControl, com.actimind.actiwate.testing.logging.Loggable

public interface Button
extends FormControl

Represents an HTML button (input type='button/submit/reset' or button with type='button/submit/reset').


Method Summary
 boolean isButton()
          Returns true if button is a simple button: button has attribute type = 'button'.
 boolean isReset()
          Returns true if button is a reset button: button has attribute type = 'reset'.
 boolean isSubmit()
          Returns true if button is a submit button: button has attribute type = 'submit'.
 java.lang.String value()
          Returns submission value for this button (inner text for <button> elements).
 
Methods inherited from interface com.actimind.actiwate.testing.html.objects.FormControl
name
 
Methods inherited from interface com.actimind.actiwate.testing.html.objects.BaseElement
element, id
 
Methods inherited from interface com.actimind.actiwate.testing.logging.Loggable
getLogDesc
 

Method Detail

value

public java.lang.String value()
Returns submission value for this button (inner text for <button> elements).

Returns:
submission value for this button.

isSubmit

public boolean isSubmit()
Returns true if button is a submit button: button has attribute type = 'submit'.

Returns:
true if button is a submit button and false otherwise.

isReset

public boolean isReset()
Returns true if button is a reset button: button has attribute type = 'reset'.

Returns:
true if button is a reset button and false otherwise.

isButton

public boolean isButton()
Returns true if button is a simple button: button has attribute type = 'button'.

Returns:
true if button is a simple button and false otherwise.


Copyright © 2007 Actimind, Inc. All Rights Reserved.