com.jcorporate.expresso.services.html
Class Button
java.lang.Object
com.jcorporate.expresso.services.html.HtmlElement
com.jcorporate.expresso.services.html.Button
- public class Button
- extends HtmlElement
Button
A button for an HTML form
- Version:
- $Revision: 1.7 $ $Date: 2004/03/06 11:14:58 $
- Author:
- Michael P. Nash
|
Constructor Summary |
Button()
Constructor: No arguments constructor to be able to create a basic
button & set options individually |
Button(String newFieldName,
String newFieldValue)
Constructor |
|
Method Summary |
protected void |
display(PrintWriter out,
int depth)
Implement the standard display method for this element |
| Methods inherited from class com.jcorporate.expresso.services.html.HtmlElement |
add, display, finalize, getAttribute, getContentCount, getCSSClass, getName, padWithTabs, setAttribute, setCSSClass, setCSSID, setDisplayed, setName, setParent |
Button
public Button()
throws HtmlException
- Constructor: No arguments constructor to be able to create a basic
button & set options individually
- Throws:
HtmlException - If the constructor fails
Button
public Button(String newFieldName,
String newFieldValue)
throws HtmlException
- Constructor
- Parameters:
newFieldName - Field name for the new button - must not be nullnewFieldValue - Field value for the new button - must not be null
- Throws:
HtmlException - If the initial parameters are invalid
display
protected void display(PrintWriter out,
int depth)
throws HtmlException
- Implement the standard display method for this element
- Specified by:
display in class HtmlElement
- Parameters:
out - A valid PrintWriter to which to send the outputdepth - the number of tabs to indent
- Throws:
HtmlException - If the button could not be properly displayed
Please see www.jcorporate.com for information about new Expresso releases.