|
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.ItemSelectionLinkWidget
public class ItemSelectionLinkWidget
ItemSelectionLinkWidget renders HTML links from ComponentElements. It currently takes InputComponentElements as input.
InputComponentElement| Field Summary | |
|---|---|
protected String |
autoSubmitKey
|
protected String |
captionType
|
static String |
CLASS_NAME
|
static Properties |
defaults
|
protected HTMLElementFactory |
htmlElementFactory
|
protected String |
linkStyleClass
|
static String |
PROPERTY_AUTOSUBMITKEY
|
static String |
PROPERTY_DEFAULT_LINK_CLASS
|
static String |
PROPERTY_SELECTIONVAL
|
static String |
PROPERTY_SHOW_INPUTS
|
static String |
PROPERTY_TARGET
|
protected String |
selectionVal
|
protected String |
showInputs
|
protected String |
styleOverride
|
| 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 | |
|---|---|
ItemSelectionLinkWidget(ComponentElement[] componentElement,
Properties settings)
Class constructor. |
|
| Method Summary | |
|---|---|
protected StringBuffer |
addDir(StringBuffer s)
|
protected void |
drawHiddenTextInput(InputComponentElement ice,
String caption,
StringBuffer buffer)
|
StringBuffer |
drawHTML()
Converts ComponentElements into HTML output for embedding within a Transformation page |
protected void |
drawItem(InputComponentElement ice,
StringBuffer buffer)
Renders an individual InputComponentElement as an HTML link to the specified buffer. |
protected void |
drawTextInput(InputComponentElement ice,
String caption,
StringBuffer buffer)
Method drawTextInput. |
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. |
protected boolean |
is_rtl()
|
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. |
void |
setSettings(Properties settings)
Sets the Widget's settings. |
| Methods inherited from class com.ibm.hats.transform.widgets.Widget |
|---|
convertBidi, draw, getComponentElements, getContextAttribute, getContextAttributes, getCustomComposite, getCustomPropertiesBiDi, 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
public static final String PROPERTY_TARGET
public static final String PROPERTY_AUTOSUBMITKEY
public static final String PROPERTY_SELECTIONVAL
public static final String PROPERTY_SHOW_INPUTS
public static final String PROPERTY_DEFAULT_LINK_CLASS
public static Properties defaults
protected HTMLElementFactory htmlElementFactory
protected String linkStyleClass
protected String captionType
protected String selectionVal
protected String autoSubmitKey
protected String showInputs
protected String styleOverride
| Constructor Detail |
|---|
public ItemSelectionLinkWidget(ComponentElement[] componentElement,
Properties settings)
componentElement - settings - Widget.Widget(ComponentElement[], Properties)| Method Detail |
|---|
public StringBuffer drawHTML()
HTMLRenderer
drawHTML in interface HTMLRenderer
protected void drawItem(InputComponentElement ice,
StringBuffer buffer)
ice - to be invoked via linkbuffer - output buffer
protected void drawTextInput(InputComponentElement ice,
String caption,
StringBuffer buffer)
ice - caption - buffer -
protected void drawHiddenTextInput(InputComponentElement ice,
String caption,
StringBuffer buffer)
public 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
HCustomPropertypublic void setSettings(Properties settings)
Widget
setSettings in class Widgetsettings - The Properties to set.
public boolean isPropertyAllowed(String name,
ContextAttributes contextAttributes)
IContextDependent
isPropertyAllowed in interface IContextDependentname - property name
public boolean isAllowed(ContextAttributes contextAttributes)
IContextDependent
isAllowed in interface IContextDependentprotected StringBuffer addDir(StringBuffer s)
protected boolean is_rtl()
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||