|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.transform.widgets.Widget
com.ibm.hats.transform.widgets.BasicSLRadioButtonWidget
public class BasicSLRadioButtonWidget
BasicSLRadioButtonWidget renders HTML radio inputs from SelectionComponentElements or FunctionKeyComponentElements.
SelectionComponentElement,
FunctionKeyComponentElement| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
static Properties |
defaults
|
protected HTMLElementFactory |
htmlElementFactory
|
protected static boolean |
isDBCSSession
|
static String |
PROPERTY_AUTO_SUBMIT_ON_SELECT
|
static String |
PROPERTY_COLUMNS_PER_ROW
|
static String |
PROPERTY_SHOW_SUBMIT
|
static String |
PROPERTY_SUBMIT_BUTTON_CAPTION
|
| 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 | |
|---|---|
BasicSLRadioButtonWidget(ComponentElement[] componentElements,
Properties settings)
Class constructor. |
|
| Method Summary | |
|---|---|
StringBuffer |
drawHTML()
Converts ComponentElements into HTML output for embedding within a Transformation page |
static void |
drawSelection(ComponentElementList cel,
String caption,
Properties settings,
HTMLElementFactory factory,
StringBuffer buffer,
ContextAttributes contextAttributes)
Renders an individual ComponentElementList, either consisting of FunctionKeyComponentElements, or of type SelectionComponentElement, as a table of radio buttons. |
Vector |
getCustomProperties(int iPageNumber,
Properties properties,
ResourceBundle bundle)
Returns a list of this object's custom properties. |
Properties |
getDefaultValues(int iPageNumber)
Returns this object's default property values. |
int |
getPropertyPageCount()
Returns the number of property pages associated with this object. |
static void |
insertDir(HTMLElement tableElement,
HTMLElement labeltdElement,
HTMLElement row,
Properties settings,
ContextAttributes contextAttributes)
Deprecated. Duplicate function. |
boolean |
isAllowed(ContextAttributes contextAttributes)
Gets whether or not this object should be visible in the studio given some context attributes. |
boolean |
isPropertyAllowed(String name,
ContextAttributes contextAttributes)
Gets whether or not the specified property should be visible in the component or widget settings. |
protected static boolean |
renderTable(ArrayList options,
ContextAttributes contextAttributes)
Determines whether or not to render radio buttons in a table. |
| Methods inherited from class com.ibm.hats.transform.widgets.Widget |
|---|
convertBidi, draw, getComponentElements, getContextAttribute, getContextAttributes, getCustomComposite, getCustomPropertiesBiDi, 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 |
| Field Detail |
|---|
public static final String CLASS_NAME
public static final String PROPERTY_COLUMNS_PER_ROW
public static final String PROPERTY_AUTO_SUBMIT_ON_SELECT
public static final String PROPERTY_SHOW_SUBMIT
public static final String PROPERTY_SUBMIT_BUTTON_CAPTION
protected HTMLElementFactory htmlElementFactory
protected static boolean isDBCSSession
public static Properties defaults
| Constructor Detail |
|---|
public BasicSLRadioButtonWidget(ComponentElement[] componentElements,
Properties settings)
componentElements - An array of component elements.settings - The Properties settings.Widget.Widget(ComponentElement[], Properties)| Method Detail |
|---|
protected static boolean renderTable(ArrayList options,
ContextAttributes contextAttributes)
public static void insertDir(HTMLElement tableElement,
HTMLElement labeltdElement,
HTMLElement row,
Properties settings,
ContextAttributes contextAttributes)
tableElement - labeltdElement - settings - contextAttributes - public StringBuffer drawHTML()
HTMLRenderer
drawHTML in interface HTMLRenderer
public static void drawSelection(ComponentElementList cel,
String caption,
Properties settings,
HTMLElementFactory factory,
StringBuffer buffer,
ContextAttributes contextAttributes)
cel - list of items to render as a radio groupcaption - label for whole group of radio buttonssettings - widget settingsfactory - and htmlelementfactory to use for html element constructionbuffer - output buffercontextAttributes - current context attributespublic int getPropertyPageCount()
ICustomPropertySupplierNote: Currently only 0 or 1 pages are supported.
getPropertyPageCount in interface ICustomPropertySuppliergetPropertyPageCount in class Widgetpublic Properties getDefaultValues(int iPageNumber)
ICustomPropertySupplier
getDefaultValues in interface ICustomPropertySuppliergetDefaultValues in class WidgetiPageNumber - page for which to retrieve default properties
public Vector getCustomProperties(int iPageNumber,
Properties properties,
ResourceBundle bundle)
ICustomPropertySuppliercom.ibm.hats.common.HCustomProperty.
getCustomProperties in interface ICustomPropertySuppliergetCustomProperties in class WidgetiPageNumber - page number containing desired propertiesproperties - existing values for properties defined herebundle - ResourceBundle containing NLS descriptions for the properties
HCustomProperty
public boolean isPropertyAllowed(String name,
ContextAttributes contextAttributes)
IContextDependent
isPropertyAllowed in interface IContextDependentname - property name
public boolean isAllowed(ContextAttributes contextAttributes)
IContextDependent
isAllowed in interface IContextDependent
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||