com.bankframe.fe.html
Class HTMLWidget

java.lang.Object
  extended by com.bankframe.fe.html.HTMLWidget
Direct Known Subclasses:
Body, Cell, CheckBox, Comment, Form, Head, Hidden, Image, MenuOption, Page, Paragraph, Password, RadioButton, ResetButton, Row, Select, SubmitButton, Table, Text, TextArea, TextBox

public abstract class HTMLWidget
extends Object

This class is the base class for all Bankframe HTML Widgets


Constructor Summary
HTMLWidget()
           
 
Method Summary
 String quote(int data)
          This method returns the parameter data with quotes ("") at each end.
 String quote(String data)
          This method returns the parameter data with quotes (") at each end.
abstract  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
 

Constructor Detail

HTMLWidget

public HTMLWidget()
Method Detail

quote

public String quote(int data)
This method returns the parameter data with quotes ("") at each end.

Parameters:
data - the integer value to convert to text
Returns:
the integer value as a quote delimited text string

quote

public String quote(String data)
This method returns the parameter data with quotes (") at each end.

Parameters:
data - the input string
Returns:
the input string delimited by quotes

toHTML

public abstract String toHTML()
This method returns a HTML representation of this widget.

Returns:
a string containing HTML markup


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