com.bankframe.fe.html
Class RadioButton

java.lang.Object
  extended bycom.bankframe.fe.html.HTMLWidget
      extended bycom.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 com.bankframe.fe.html.HTMLWidget
quote, quote
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioButton

public RadioButton(java.lang.String name,
                   java.lang.String value)
Constructor.

Parameters:
name - the name of this radio button
value - 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 button
value - the text label of this radio button
checked - the default selection status of this radio button
Method Detail

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.