userInterface.interfaceUtility
Class Button

java.lang.Object
  extended by userInterface.interfaceUtility.Format
      extended by userInterface.interfaceUtility.Button

public class Button
extends Format

Generate buttons.

Author:
03chowch

Field Summary
static java.lang.String RESET
           
static java.lang.String SUBMIT
           
 
Constructor Summary
Button()
           
 
Method Summary
static java.lang.StringBuffer genButton(Form inputData, boolean inCell)
          Generate a button depending on the input data given.
 
Methods inherited from class userInterface.interfaceUtility.Format
alignCloseTag, alignOpenTag, alignTag
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUBMIT

public static java.lang.String SUBMIT

RESET

public static java.lang.String RESET
Constructor Detail

Button

public Button()
Method Detail

genButton

public static java.lang.StringBuffer genButton(Form inputData,
                                               boolean inCell)
Generate a button depending on the input data given. Only two type of buttons are available, reset and submit button. To indicate that it is a reset button, one must give the button the label 'Reset', otherwise it would be treated as a submit button. This function require the following fields from the Form object: label - the label of the button input data - default value or retrieved data editable - indicator if button is enable or disable

Parameters:
inputData - - the input data attribute
Returns: