Button > Input > Element

The Button class represents an input tag with type set to "button”.  It has functions, fields and properties of Input and Element.


Button() Creates a button input  element.
Button(String id) Creates a button input element with the given id.

Property Functions

ButtonType(String type) Gets or sets the button type (submit, button, reset).  
ButtonType(Button.Type type) Gets or sets the button type.  
Text(String text) Gets or sets the text of the button.  


Click()   Simulates a user click.  

Last edited May 30, 2011 at 4:57 PM by dahrkdaiz, version 14


No comments yet.