com.bankframe.fe.html
Class HTMLWidget

java.lang.Object
  extended bycom.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 java.lang.Object

This class is the base class for all Bankframe HTML Widgets


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

Constructor Detail

HTMLWidget

public HTMLWidget()
Method Detail

quote

public java.lang.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 java.lang.String quote(java.lang.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 java.lang.String toHTML()
This method returns a HTML representation of this widget.

Returns:
a string containing HTML markup


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