HATS 7.5.1 Web API Reference

Publicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product.

com.ibm.hats.transform.widgets
Class RadioButtonWidget

java.lang.Object
  extended by com.ibm.hats.transform.widgets.Widget
      extended by com.ibm.hats.transform.widgets.AbstractRadioButtonWidget
          extended by com.ibm.hats.transform.widgets.RadioButtonWidget
All Implemented Interfaces:
IContextDependent, ICustomPropertySupplier, HTMLRenderer, com.ibm.hats.transform.renderers.TextRenderer

public class RadioButtonWidget
extends AbstractRadioButtonWidget
implements HTMLRenderer, IContextDependent

RadioButtonWidget renders a HTML radio inputs from InputComponentElements.

See Also:
InputComponentElement

Field Summary
static String CLASS_NAME
           
static Properties defaults
           
protected  HTMLElementFactory htmlElementFactory
           
 
Fields inherited from class com.ibm.hats.transform.widgets.AbstractRadioButtonWidget
PROPERTY_CAPTION_VARIABLE, PROPERTY_COLUMNS_PER_ROW, PROPERTY_LIST_ITEMS, PROPERTY_SHARED_GVS, PROPERTY_SOURCE_HINTS, PROPERTY_SOURCE_STRING, PROPERTY_SOURCE_VARIABLE, PROPERTY_VALUE_VARIABLE
 
Fields inherited from class com.ibm.hats.transform.widgets.Widget
componentElements, contextAttributes, settings
 
Fields inherited from interface com.ibm.hats.common.ICustomPropertySupplier
CLASSNAME
 
Constructor Summary
RadioButtonWidget(ComponentElement[] componentElements, Properties settings)
          Class constructor.
 
Method Summary
 StringBuffer drawHTML()
          Converts ComponentElements into HTML output for embedding within a Transformation page
 Vector getCustomProperties(int iPageNumber, Properties properties, ResourceBundle bundle)
          Returns a list of this object's custom properties.
 Vector getCustomPropertiesBiDi(int iPageNumber, Properties properties, ResourceBundle bundle)
           
 Properties getDefaultValues(int iPageNumber)
          Returns this object's default property values.
 
Methods inherited from class com.ibm.hats.transform.widgets.AbstractRadioButtonWidget
getPropertyPageCount, isAllowed, isPropertyAllowed
 
Methods inherited from class com.ibm.hats.transform.widgets.Widget
convertBidi, draw, getComponentElements, getContextAttribute, getContextAttributes, getCustomComposite, getSettings, insertAlign, insertDir, newInstance, setComponentElements, setContextAttribute, setContextAttributes, setSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.hats.common.IContextDependent
isAllowed, isPropertyAllowed
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
See Also:
Constant Field Values

htmlElementFactory

protected HTMLElementFactory htmlElementFactory

defaults

public static Properties defaults
Constructor Detail

RadioButtonWidget

public RadioButtonWidget(ComponentElement[] componentElements,
                         Properties settings)
Class constructor.

Parameters:
componentElements - An array of component elements.
settings - The Properties settings.
See Also:
Widget.Widget(ComponentElement[], Properties)
Method Detail

drawHTML

public StringBuffer drawHTML()
Description copied from interface: HTMLRenderer
Converts ComponentElements into HTML output for embedding within a Transformation page

Specified by:
drawHTML in interface HTMLRenderer
Returns:
HTML output

getDefaultValues

public Properties getDefaultValues(int iPageNumber)
Description copied from interface: ICustomPropertySupplier
Returns this object's default property values.

Specified by:
getDefaultValues in interface ICustomPropertySupplier
Overrides:
getDefaultValues in class Widget
Parameters:
iPageNumber - page for which to retrieve default properties
Returns:
object's default properties

getCustomPropertiesBiDi

public Vector getCustomPropertiesBiDi(int iPageNumber,
                                      Properties properties,
                                      ResourceBundle bundle)
Overrides:
getCustomPropertiesBiDi in class Widget

getCustomProperties

public Vector getCustomProperties(int iPageNumber,
                                  Properties properties,
                                  ResourceBundle bundle)
Description copied from interface: ICustomPropertySupplier
Returns a list of this object's custom properties. Items must be of type com.ibm.hats.common.HCustomProperty.

Specified by:
getCustomProperties in interface ICustomPropertySupplier
Overrides:
getCustomProperties in class Widget
Parameters:
iPageNumber - page number containing desired properties
properties - existing values for properties defined here
bundle - ResourceBundle containing NLS descriptions for the properties
Returns:
Vector containing all the custom properties for this object, or null if there are none
See Also:
HCustomProperty

HATS 7.5.1 (201005110649)