com.bankframe.fe.html
Class RadioButton
java.lang.Object
com.bankframe.fe.html.HTMLWidget
com.bankframe.fe.html.RadioButton
- public class RadioButton
- extends HTMLWidget
This class implements a HTML Radio Button widget.
Constructor Summary |
RadioButton(java.lang.String name,
java.lang.String value)
Constructor. |
RadioButton(java.lang.String name,
java.lang.String value,
boolean checked)
Constructor. |
Method Summary |
java.lang.String |
toHTML()
This method returns a HTML representation of this widget. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadioButton
public RadioButton(java.lang.String name,
java.lang.String value)
- Constructor.
- Parameters:
name
- the name of this radio buttonvalue
- the text label of this radio button
RadioButton
public RadioButton(java.lang.String name,
java.lang.String value,
boolean checked)
- Constructor.
- Parameters:
name
- the name of this radio buttonvalue
- the text label of this radio buttonchecked
- the default selection status of this radio button
toHTML
public java.lang.String toHTML()
- This method returns a HTML representation of this widget.
- Specified by:
toHTML
in class HTMLWidget
- Returns:
- a string containing HTML markup
Copyright © 2005, 2007, Oracle. All rights reserved.