|
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.elements.ComponentElement
com.ibm.hats.transform.elements.TableCellComponentElement
public class TableCellComponentElement
This class represents a cell in a table.
TableComponentElement| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
| Fields inherited from class com.ibm.hats.transform.elements.ComponentElement |
|---|
consumedRegion |
| Constructor Summary | |
|---|---|
TableCellComponentElement(FieldComponentElement[] fields)
Constructs a new TableCellComponentElement object from the specified array of FieldComponentElement objects. |
|
TableCellComponentElement(String text,
int startPos,
int length,
boolean isProtected,
boolean isHidden)
Constructs a new TableCellComponentElement object. |
|
| Method Summary | |
|---|---|
void |
doTextReplacement(TextReplacementPair pair,
ContextAttributes contextAttributes)
Performs text replacement on this table cell. |
int |
getColSpan()
Deprecated. |
FieldComponentElement[] |
getFields()
Returns the set of fields used to construct this table cell. |
int |
getLength()
Returns the length of the cell |
String |
getPreviewText()
Returns some form of descriptive text about the component element. |
int |
getSpan()
Deprecated. |
int |
getStartPos()
Returns the linear, 1-based start position of the cell. |
String |
getText()
Returns the value of the cell. |
boolean |
isHidden()
Returns true if the cell is hidden. |
boolean |
isProtected()
Returns true if the field is protected. |
void |
setColSpan(int cols)
Deprecated. |
void |
setIsHidden(boolean b)
Sets the hidden attribute of the cell. |
void |
setIsProtected(boolean isProtected)
Sets whether the cell is protected or not protected (i.e. |
void |
setLength(int length)
Sets the length of the cell. |
void |
setScreenId(int id)
|
void |
setSpan(int cols)
Deprecated. |
void |
setStartPos(int startPos)
Sets the start position of the cell. |
void |
setText(String text)
Sets the text of the cell. |
| Methods inherited from class com.ibm.hats.transform.elements.ComponentElement |
|---|
clone, getConsumedRegion, getScreenId, isConsumer, isMatch, isTruncateToPreserveLength, setConsumedRegion, type, type |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CLASS_NAME
| Constructor Detail |
|---|
public TableCellComponentElement(String text,
int startPos,
int length,
boolean isProtected,
boolean isHidden)
TableCellComponentElement object.
text - text value of the cellstartPos - linear, 1-based start position of the table celllength - length of the cellisProtected - specifies whether the cell is protected or not (unprotected implies it being an input field)isHidden - specifies whether the cell is hidden or notpublic TableCellComponentElement(FieldComponentElement[] fields)
TableCellComponentElement object from the specified array of FieldComponentElement objects.
fields - | Method Detail |
|---|
public String getPreviewText()
ComponentElement
getPreviewText in class ComponentElementComponentElement.getPreviewText()public boolean isProtected()
true if the field is protected.
public int getLength()
public int getStartPos()
public String getText()
public void setIsProtected(boolean isProtected)
isProtected - The isProtected to setpublic void setLength(int length)
length - The length to setpublic void setStartPos(int startPos)
startPos - The startPos to setpublic void setText(String text)
text - The text to setpublic boolean isHidden()
true if the cell is hidden.
true if the cell is hidden, false otherwise.public void setIsHidden(boolean b)
b -
public void doTextReplacement(TextReplacementPair pair,
ContextAttributes contextAttributes)
doTextReplacement in class ComponentElementpair - TextReplacementPair to base replacement oncontextAttributes - context attributespublic FieldComponentElement[] getFields()
public int getSpan()
public int getColSpan()
public void setSpan(int cols)
cols - public void setColSpan(int cols)
cols - public void setScreenId(int id)
setScreenId in class ComponentElement
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||