|
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.AbstractCheckboxWidget
com.ibm.hats.transform.widgets.BasicCheckboxWidget
public class BasicCheckboxWidget
BasicCheckboxWidget renders a table of checkboxes with associated descriptions. It takes InputComponentElements as input.
InputComponentElement| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
protected static Properties |
defaults
|
protected HTMLElementFactory |
htmlElementFactory
|
protected HTMLElement |
labeltd
|
protected HTMLElement |
table
|
protected HTMLElement |
td
|
protected HTMLElement |
tr
|
| Fields inherited from class com.ibm.hats.transform.widgets.AbstractCheckboxWidget |
|---|
deselectValue, PROPERTY_DESELECT_VALUE, PROPERTY_SELECT_VALUE, selectValue |
| 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 | |
|---|---|
BasicCheckboxWidget(ComponentElement[] componentElement,
Properties settings)
Class constructor. |
|
| Method Summary | |
|---|---|
StringBuffer |
drawHTML()
Converts ComponentElements into HTML output for embedding within a Transformation page |
protected void |
drawItem(InputComponentElement ice,
String caption,
StringBuffer buffer)
Renders an individual InputComponentElement as a HTML checkbox input with the specified caption. |
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. |
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 boolean |
renderTable()
Determines whether or not we should render these checkbox controls in a table or not. |
void |
setSettings(Properties newSettings)
Sets the Widget's settings. |
| Methods inherited from class com.ibm.hats.transform.widgets.AbstractCheckboxWidget |
|---|
getPropertyPageCount |
| Methods inherited from class com.ibm.hats.transform.widgets.Widget |
|---|
convertBidi, draw, getComponentElements, getContextAttribute, getContextAttributes, getCustomComposite, getSettings, insertAlign, insertDir, newInstance, setComponentElements, setContextAttribute, setContextAttributes |
| 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
protected HTMLElementFactory htmlElementFactory
protected HTMLElement table
protected HTMLElement td
protected HTMLElement tr
protected HTMLElement labeltd
protected static Properties defaults
| Constructor Detail |
|---|
public BasicCheckboxWidget(ComponentElement[] componentElement,
Properties settings)
componentElement - settings - Widget.Widget(ComponentElement[], Properties)| Method Detail |
|---|
protected boolean renderTable()
public StringBuffer drawHTML()
HTMLRenderer
drawHTML in interface HTMLRenderer
protected void drawItem(InputComponentElement ice,
String caption,
StringBuffer buffer)
ice - component to rendercaption - caption for checkboxbuffer - output bufferpublic Properties getDefaultValues(int iPageNumber)
ICustomPropertySupplier
getDefaultValues in interface ICustomPropertySuppliergetDefaultValues in class WidgetiPageNumber - page for which to retrieve default properties
public Vector getCustomPropertiesBiDi(int iPageNumber,
Properties properties,
ResourceBundle bundle)
getCustomPropertiesBiDi in class Widget
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 IContextDependentisPropertyAllowed in class AbstractCheckboxWidgetname - property name
public void setSettings(Properties newSettings)
Widget
setSettings in class WidgetnewSettings - The Properties to set.public boolean isAllowed(ContextAttributes contextAttributes)
IContextDependent
isAllowed in interface IContextDependentisAllowed in class AbstractCheckboxWidget
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||