wt.templateutil.components
Class HTMLButtonComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLButtonComponent
Direct Known Subclasses:
HTMLUrlAwareTextFieldComponent.HTMLUrlAwareButtonComponent

public class HTMLButtonComponent
extends HTMLComponent


Field Summary
private static String CLASSNAME
           
static String NAME
           
static String ONCLICK
           
private static String RESOURCE
           
static String SIZE
           
private  String tag
           
static String VALUE
           
private static String versionID
           
 
Fields inherited from class wt.templateutil.components.HTMLComponent
CLASS, COMPONENT_ID, COMPONENT_ID_SEPARATOR, CREATE, DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, EMPTY_STRING, ID, ID_US_ENGLISH_LOCALE, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, TAG, UPDATE, VERBOSE, VIEW
 
Constructor Summary
HTMLButtonComponent()
           
 
Method Summary
 String getTag()
          Gets the value of the attribute: tag.
 void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props)
          Initializes the HTML componenet using information from the Properties object.
 void setTagListArray()
          Initializes the TagListArray to an array of values representing the possible attributes on the tag.
 
Methods inherited from class wt.templateutil.components.HTMLComponent
appendID, appendID, appendToID, appendToID, createIDForComponent, endComponent, getHtmlComponents, getID, getIdProp, getName, getOID, getPrintWriter, getRealValue, getServiceName, getState, getTagID, getTagIDKey, getTagList, getTagSettings, getURLFactory, insertID, insertID, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, putTagID, putTagID, removeID, removeTagID, setHtmlComponents, setID, setInheritStyle, setName, setPrintTagAttributes, setServiceName, setState, setTag, setTagList, setTagListDefaults, setTagSettings, setTagValue, setUseDefaultsOnly, show, showSubComponents, startComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values

SIZE

public static final String SIZE
See Also:
Constant Field Values

VALUE

public static final String VALUE
See Also:
Constant Field Values

ONCLICK

public static final String ONCLICK
See Also:
Constant Field Values

tag

private String tag
Constructor Detail

HTMLButtonComponent

public HTMLButtonComponent()
Method Detail

getTag

public String getTag()
Description copied from class: HTMLComponent
Gets the value of the attribute: tag.

Supported API: true

Overrides:
getTag in class HTMLComponent
Returns:
String

init

public void init(String selector,
                 Object value,
                 HTMLComponentFactory componentFactory,
                 String mode,
                 Properties props)
Description copied from class: HTMLComponent
Initializes the HTML componenet using information from the Properties object.

Supported API: true

Overrides:
init in class HTMLComponent
Parameters:
selector -
value -
componentFactory -
mode -
props -

setTagListArray

public void setTagListArray()
Description copied from class: HTMLComponent
Initializes the TagListArray to an array of values representing the possible attributes on the tag. For example one possible array would be: {TYPE, NAME, VALUE, ID} these attributes are later displayed in the HTML as key value pairs, for example "NAME=checkbox1"

Supported API: true

Specified by:
setTagListArray in class HTMLComponent