HATS 7.5.1 Web API Reference

Publicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product.

com.ibm.hats.transform.elements
Class HtmlDDSComponentElement

java.lang.Object
  extended by com.ibm.hats.transform.elements.ComponentElement
      extended by com.ibm.hats.transform.elements.TextComponentElement
          extended by com.ibm.hats.transform.elements.HtmlDDSComponentElement
All Implemented Interfaces:
Cloneable

public class HtmlDDSComponentElement
extends TextComponentElement

This class represents a set of list items and a single target field (which presumably receives its input by selecting one of the list items).

See Also:
SelectionListComponent

Field Summary
static String CLASS_NAME
           
 
Fields inherited from class com.ibm.hats.transform.elements.ComponentElement
consumedRegion
 
Constructor Summary
HtmlDDSComponentElement(int location, String data, int screencols)
          Constructs a new EnptuiSelectionComponentElement object.
 
Method Summary
 int getCol()
           
 String getPreviewText()
          Returns the preview text.
 int getRow()
           
 int getScreenColumns()
          Returns how many columns on host screen
 int getStartPos()
          Returns screen position
 boolean isConsumer()
          Returns a boolean specifying whether the specified component element consumes the presentation space after rendering what is in it.
 void setScreenColumns(int columns)
          Sets how many columns on host screen
 void setStartPos(int pos)
          Sets screen position.
 String toString()
           
 
Methods inherited from class com.ibm.hats.transform.elements.TextComponentElement
doTextReplacement, getText, setText
 
Methods inherited from class com.ibm.hats.transform.elements.ComponentElement
clone, getConsumedRegion, getScreenId, isMatch, isTruncateToPreserveLength, setConsumedRegion, setScreenId, type, type
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

HtmlDDSComponentElement

public HtmlDDSComponentElement(int location,
                               String data,
                               int screencols)
Constructs a new EnptuiSelectionComponentElement object.

Method Detail

getScreenColumns

public int getScreenColumns()
Returns how many columns on host screen

Returns:
int

setScreenColumns

public void setScreenColumns(int columns)
Sets how many columns on host screen

Parameters:
columns - int

getStartPos

public int getStartPos()
Returns screen position

Returns:
int

setStartPos

public void setStartPos(int pos)
Sets screen position.

Parameters:
pos - The new screen position.

getCol

public int getCol()

getRow

public int getRow()

isConsumer

public boolean isConsumer()
Description copied from class: ComponentElement
Returns a boolean specifying whether the specified component element consumes the presentation space after rendering what is in it.

Overrides:
isConsumer in class ComponentElement
Returns:
boolean

toString

public String toString()
Overrides:
toString in class Object

getPreviewText

public String getPreviewText()
Description copied from class: TextComponentElement
Returns the preview text.

Overrides:
getPreviewText in class TextComponentElement
Returns:
The preview text.

HATS 7.5.1 (201005110649)