|
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.FieldComponentElement
com.ibm.hats.transform.elements.EnptuiChoiceComponentElement
public class EnptuiChoiceComponentElement
This class represents an ENPTUI choice field (part of a Selection Field) -- 5250 only.
| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
| Fields inherited from class com.ibm.hats.transform.elements.FieldComponentElement |
|---|
split |
| Fields inherited from class com.ibm.hats.transform.elements.ComponentElement |
|---|
consumedRegion |
| Constructor Summary | |
|---|---|
EnptuiChoiceComponentElement(EnptuiSelectionComponentElement esce,
String text,
int startPos,
int length,
BlockScreenRegion block,
boolean isSelected,
boolean isEnabled,
boolean isCursorable,
boolean isPlaceholder)
Constructs a new EnptuiChoiceComponentElement object. |
|
| Method Summary | |
|---|---|
List |
getOnSelectActions()
Returns the list of ScriptAction objects representing the list of actions to perform when this item is selected. |
EnptuiSelectionComponentElement |
getSelectionField()
Returns the EnptuiSelectionComponentElement. |
boolean |
hasIndicator()
Returns whether an indicator field is set |
boolean |
is3270()
Always returns false
|
boolean |
is5250()
Always returns true. |
boolean |
isCursorable()
Returns whether a choice is Cursorable. |
boolean |
isEnabled()
Returns whether a choice is Enabled. |
boolean |
isPlaceholder()
Returns whether a choice is Placeholder. |
boolean |
isProtected()
This method always returns true. |
boolean |
isSelected()
Returns whether a choice is selected. |
void |
setCursorable(boolean cursorable)
Sets whether a choice is Cursorable. |
void |
setEnabled(boolean enabled)
Sets whether a choice is Enabled. |
void |
setOnSelectActions(List onSelectActions)
Sets the list of ScriptAction objects representing the list of actions to perform when this item is selected. |
void |
setPlaceholder(boolean placeholder)
Sets whether a choice is Placeholder. |
void |
setScreenId(int id)
|
void |
setSelected(boolean selected)
Sets whether a choice is selected. |
void |
setSelectionField(EnptuiSelectionComponentElement list)
Sets the selection field. |
String |
toString()
|
| Methods inherited from class com.ibm.hats.transform.elements.FieldComponentElement |
|---|
doTextReplacement, getActionKey, getBackgroundColor, getBackgroundColor, getExtendedAttributes, getForegroundColor, getForegroundColor, getIsRTL, getLength, getPreviewText, getStartPos, getText, isAllBlank, isAlphaNumeric, isBlink, isHidden, isHighIntensity, isHolderOnly, isMatch, isNumericOnly, isReverseVideo, isSplit, isUnderline, isUnicodeField, set3270, set5250, setActionKey, setExtendedAttributes, setHidden, setHolderOnly, setLength, setProtected, setSplit, setStartPos, setText |
| Methods inherited from class com.ibm.hats.transform.elements.ComponentElement |
|---|
clone, getConsumedRegion, getScreenId, isConsumer, isTruncateToPreserveLength, setConsumedRegion, type, type |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CLASS_NAME
| Constructor Detail |
|---|
public EnptuiChoiceComponentElement(EnptuiSelectionComponentElement esce,
String text,
int startPos,
int length,
BlockScreenRegion block,
boolean isSelected,
boolean isEnabled,
boolean isCursorable,
boolean isPlaceholder)
EnptuiChoiceComponentElement object.
text - value of the input fieldstartPos - linear, 1-based start position of the fieldlength - length of the field| Method Detail |
|---|
public EnptuiSelectionComponentElement getSelectionField()
EnptuiSelectionComponentElementpublic void setSelectionField(EnptuiSelectionComponentElement list)
list - The selection field list.EnptuiSelectionComponentElementpublic List getOnSelectActions()
ScriptAction objects representing the list of actions to perform when this item is selected.
ScriptActionpublic void setOnSelectActions(List onSelectActions)
ScriptAction objects representing the list of actions to perform when this item is selected.
onSelectActions - The onSelectActions to set.ScriptActionpublic boolean isSelected()
public void setSelected(boolean selected)
selected - true or falsepublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - true or falsepublic boolean isCursorable()
public void setCursorable(boolean cursorable)
cursorable - true or falsepublic boolean isPlaceholder()
public void setPlaceholder(boolean placeholder)
placeholder - true or falsepublic String toString()
toString in class FieldComponentElementpublic boolean hasIndicator()
public boolean isProtected()
true.
isProtected in class FieldComponentElementtrue if the field is protected, false otherwise.FieldComponentElement.isProtected()public boolean is3270()
false
- Overrides:
is3270 in class FieldComponentElement
- Returns:
- Always returns
false
is5250
public boolean is5250()
- Always returns
true.
- Overrides:
is5250 in class FieldComponentElement
- Returns:
- Always returns
true.
setScreenId
public void setScreenId(int id)
- Overrides:
setScreenId in class ComponentElement
Overview
Package
Class
Tree
Deprecated
Index
Help
HATS 7.5.1 (201005110649)
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD