|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sdsu.html.Button
Creates input buttons for use in an HTML form. Documentation for button types comes in part from Web pages by Arnoud "Galactus" Engelfriet galactus@html.com. See http://www.htmlhelp.com/ Use static methods Button.checkBox(...), Button.radio(...), Button.submit(...) Button.reset(...), Button.hidden(...) to create instances of this class.
Method Summary | |
static Button |
checkBox(java.lang.String name,
java.lang.String value)
Returns a checkbox. |
static Button |
hidden(java.lang.String name,
java.lang.String value)
Allows you to embed information in the form which you do not want changed. |
void |
makeSelected()
Use on radio buttons and check boxes. |
static Button |
radio(java.lang.String name,
java.lang.String value)
Produces a radio button. |
static Button |
reset(java.lang.String value)
Produces a button, which will restore the form to its original state if pressed. |
static Button |
submit(java.lang.String value)
Produces a button, which when pressed sends the contents of the form to the server. |
java.lang.String |
toString()
Returns the html button tags in a string for use in a html page |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public static Button checkBox(java.lang.String name, java.lang.String value)
public static Button radio(java.lang.String name, java.lang.String value)
public static Button submit(java.lang.String value)
public static Button reset(java.lang.String value)
public static Button hidden(java.lang.String name, java.lang.String value)
name
- name of button created, plain text onlyvalue
- value submitted with form, plain text onlypublic void makeSelected()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |