|
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.AbstractButtonWidget
com.ibm.hats.transform.widgets.BasicButtonWidget
public class BasicButtonWidget
ButtonWidget renders a set of buttons in a table or horizontally with a specified separator. It can currently take FunctionKeyComponentElements or SelectionComponentElements as inputs.
FunctionKeyComponentElement,
SelectionComponentElement| Field Summary | |
|---|---|
protected String |
buttonStyleClass
|
static String |
CLASS_NAME
|
static Properties |
defaults
Default settings for this Widget. |
protected HTMLElementFactory |
htmlElementFactory
|
protected boolean |
inDefaultRendering
|
| Fields inherited from class com.ibm.hats.transform.widgets.AbstractButtonWidget |
|---|
CAPTION_TYPE_BOTH, CAPTION_TYPE_DESCRIPTION, CAPTION_TYPE_LEADING_TOKEN, captionType, LAYOUT_SEPARATED, LAYOUT_TABLE, PROPERTY_CAPTION_TYPE, PROPERTY_COLUMNS_PER_ROW, PROPERTY_LAYOUT, PROPERTY_SEPARATOR |
| 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 | |
|---|---|
BasicButtonWidget(ComponentElement[] componentElement,
Properties settings)
Class constructor. |
|
| Method Summary | |
|---|---|
StringBuffer |
drawHTML()
Converts ComponentElements into HTML output for embedding within a Transformation page |
protected void |
drawItem(FunctionKeyComponentElement fkce,
StringBuffer buffer)
Renders an individual FunctionKeyComponentElement as a button. |
protected void |
drawItem(ListItemComponentElement lice,
StringBuffer buffer)
Renders an individual ListItemComponentElement as a button. |
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. |
| Methods inherited from class com.ibm.hats.transform.widgets.AbstractButtonWidget |
|---|
isAllowed, isPropertyAllowed, setSettings |
| 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 Properties defaults
protected HTMLElementFactory htmlElementFactory
protected String buttonStyleClass
protected boolean inDefaultRendering
| Constructor Detail |
|---|
public BasicButtonWidget(ComponentElement[] componentElement,
Properties settings)
componentElement - settings - Widget.Widget(ComponentElement[], Properties)| Method Detail |
|---|
public StringBuffer drawHTML()
HTMLRenderer
drawHTML in interface HTMLRenderer
protected void drawItem(FunctionKeyComponentElement fkce,
StringBuffer buffer)
fkce - function key to renderbuffer - output buffer
protected void drawItem(ListItemComponentElement lice,
StringBuffer buffer)
lice - list item to renderbuffer - output bufferpublic int getPropertyPageCount()
ICustomPropertySupplierNote: Currently only 0 or 1 pages are supported.
getPropertyPageCount in interface ICustomPropertySuppliergetPropertyPageCount 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
HCustomPropertypublic Properties getDefaultValues(int iPageNumber)
ICustomPropertySupplier
getDefaultValues in interface ICustomPropertySuppliergetDefaultValues in class WidgetiPageNumber - page for which to retrieve default properties
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||