com.bankframe.fe.html
Class MenuOption

java.lang.Object
  extended by com.bankframe.fe.html.HTMLWidget
      extended by com.bankframe.fe.html.MenuOption

public class MenuOption
extends HTMLWidget

This class implements a HTML menu option widget.


Constructor Summary
MenuOption(String option)
          Constructor
MenuOption(String option, String value)
          Constructor.
 
Method Summary
 String toHTML()
          This method returns a HTML representation of this widget (with the menu option deselected).
 String toHTMLSelected()
          This method returns a HTML representation of this widget (with the menu option selected).
 
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

MenuOption

public MenuOption(String option)
Constructor

Parameters:
option - String menu option text

MenuOption

public MenuOption(String option,
                  String value)
Constructor.

Parameters:
option - String menu option text value text
value - String
Method Detail

toHTML

public String toHTML()
This method returns a HTML representation of this widget (with the menu option deselected).

Specified by:
toHTML in class HTMLWidget
Returns:
a string containing HTML markup

toHTMLSelected

public String toHTMLSelected()
This method returns a HTML representation of this widget (with the menu option selected).

Returns:
a string containing HTML markup


Copyright © 2005, 2007, Oracle. All rights reserved.