|
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.AbstractInputWidget
com.ibm.hats.transform.widgets.InputWidget
public class InputWidget
ButtonWidget renders HTML input fields, individually or in tables. It can currently take InputComponentElements as inputs.
InputComponentElement| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
protected static Properties |
defaults
|
protected HTMLElementFactory |
htmlElementFactory
|
static String |
PROPERTY_LOGICAL_CAPTION
|
static String |
PROPERTY_USE_EXACT_CURSOR_POSITIONING_OPTION
|
| 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 | |
|---|---|
InputWidget(ComponentElement[] componentElements,
Properties settings)
Class constructor. |
|
| Method Summary | |
|---|---|
StringBuffer |
drawHTML()
Converts ComponentElements into HTML output for embedding within a Transformation page |
protected void |
drawTextInput(InputComponentElement ice,
String caption,
StringBuffer buffer)
Renders an individual InputComponentElement as an html input to the specified string buffer. |
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. |
int |
getPropertyPageCount()
Returns the number of property pages associated with this object. |
protected boolean |
renderTable()
Decides whether or not a table should be used in the rendering based on the componentElements. |
| Methods inherited from class com.ibm.hats.transform.widgets.AbstractInputWidget |
|---|
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 |
| Field Detail |
|---|
public static final String CLASS_NAME
protected HTMLElementFactory htmlElementFactory
protected static Properties defaults
public static final String PROPERTY_LOGICAL_CAPTION
public static final String PROPERTY_USE_EXACT_CURSOR_POSITIONING_OPTION
| Constructor Detail |
|---|
public InputWidget(ComponentElement[] componentElements,
Properties settings)
componentElements - An array of component elements.settings - The Properties settings.Widget.Widget(ComponentElement[], Properties)| Method Detail |
|---|
protected boolean renderTable()
public StringBuffer drawHTML()
HTMLRenderer
drawHTML in interface HTMLRenderer
protected void drawTextInput(InputComponentElement ice,
String caption,
StringBuffer buffer)
ice - input to rendercaption - caption for accessibility labelbuffer - output bufferpublic 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 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
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||