public class ComboBoxWidget extends ControlSetEntity<ComboBoxConfig> implements AutoZapElement, MaxCharsElement, NumItems, SortedElement, InnerLines, SelectableText, SubTypeAttribute
ControlSetEntity.BiPredicate<T,U>
BaseEntity.CharsPixels
COMPARE_LABEL, COMPARE_LABEL_IGNORE_CASE, COMPARE_VALUE_IGNORE_CASE, LTRIM, RTRIM
ALIGN_COLON, ALIGN_LEFT, ALIGN_RIGHT
group
config, deleted, frame
name, nextSibling, prevSibling
instProc
Constructor and Description |
---|
ComboBoxWidget()
Default constructor.
|
ComboBoxWidget(boolean dynamic)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
logical |
clearSelection()
Clears text selection
|
protected ControlSetItem |
controlSetItem(character label,
BaseDataType value)
Create new ControlSetItem
|
logical |
delete(character itemList)
Implements the DELETE() widget method, which removes the list item or
items specified.
|
logical |
delete(java.lang.String itemList)
Implements the DELETE() widget method, which removes the list item or
items specified.
|
void |
finishSetup()
Finish initialization of the combo box widget.
|
integer |
getCursorOffset()
Obtains the index position of the cursor in a text editing widget.
|
decimal |
getHeightChars()
Gets the HEIGHT-CHARS writable attribute.
|
integer |
getInnerLines()
Gets the value of the INNER-LINES attribute which defines the number of text lines
in the widget.
|
integer |
getMaxChars()
Get value of the MAX-CHARS attribute.
|
integer |
getNumItems()
Get the NUM-ITEMS attribute.
|
character |
getScreenValue()
Obtain the current value in the screen buffer of the backing data for
this widget and return it as a
character type. |
(package private) character |
getScreenValue(boolean initialized,
BaseDataType bdt,
java.lang.String fmt,
boolean ignoreFormat)
Internal worker for getting the SCREEN-VALUE on a per-widget basis.
|
integer |
getSelectionEnd()
Get SELECTION-END attribute.
|
integer |
getSelectionStart()
Get SELECTION-START attribute.
|
character |
getSelectionText()
Get SELECTION-TEXT attribute.
|
character |
getSubType()
Obtain the subtype of the handle.
|
protected boolean |
ignore(BaseDataType value)
Checks if a value should be ignored (UNKNOWN for COMBO-BOX).
|
protected boolean |
ignore(java.lang.String value)
Checks if a value should be ignored ("?" for COMBO-BOX).
|
logical |
isAutoZap()
Get value of the AUTO-ZAP attribute.
|
logical |
isDisableAutoZap()
Get value of the DISABLE-AUTO-ZAP attribute.
|
logical |
isTextSelected()
Get TEXT-SELECTED attribute.
|
logical |
removeSelection()
Removes selected text.
|
void |
setAutoZap(boolean value)
Set AUTO-ZAP attribute.
|
void |
setAutoZap(logical value)
Set AUTO-ZAP attribute.
|
void |
setCursorOffset(double offset)
Sets the index position of the cursor in a text editing widget.
|
void |
setCursorOffset(NumberType offset)
Sets the index position of the cursor in a text editing widget.
|
void |
setDisableAutoZap(boolean disableAutoZap)
Sets the DISABLE-AUTO-ZAP option.
|
void |
setDisableAutoZap(logical disableAutoZap)
Sets the DISABLE-AUTO-ZAP option.
|
void |
setFrame(FrameWidget frame)
Sets the containing frame instance.
|
void |
setHeightChars(double height)
Sets the HEIGHT-CHARS writable attribute.
|
void |
setHeightChars(NumberType height)
Sets the HEIGHT-CHARS writable attribute.
|
void |
setHeightPixels(int heightPixels)
Sets new value of HEIGHT-PIXELS attribute.
|
void |
setHeightPixels(NumberType heightPixels)
Sets new value of HEIGHT-PIXELS attribute.
|
void |
setInitialInnerLines(double lines)
Sets the value of the INNER-LINES attribute which defines the number of text lines
in the widget.
|
void |
setInnerLines(double lines)
Sets the value of the INNER-LINES attribute which defines the number of text lines
in the widget.
|
void |
setInnerLines(NumberType lines)
Sets the value of the INNER-LINES attribute which defines the number of text lines
in the widget.
|
void |
setListItemPairs(character list)
Common implementation list item pair attributes (LIST-ITEM-PAIRS and
RADIO-BUTTONS) attribute.
|
void |
setMaxChars(double maxChars)
Set value of the MAX-CHARS attribute.
|
void |
setMaxChars(NumberType maxChars)
Set value of the MAX-CHARS attribute.
|
void |
setModeDropDown(boolean b)
Set DROP-DOWN mode for the widget.
|
void |
setModeDropDownList(boolean b)
Set DROP-DOWN-LIST mode for the widget.
|
void |
setModeSimple(boolean b)
Set SIMPLE mode for the widget.
|
(package private) boolean |
setScreenValue(ScreenBuffer frameBuf,
java.lang.Object value,
boolean inUIStmt)
Internal worker for setting the SCREEN-VALUE on a per-widget basis.
|
logical |
setSelection(int64 start,
int end)
Selects text in a widget between start and end points.
|
logical |
setSelection(int64 start,
int64 end)
Selects text in a widget between start and end points.
|
logical |
setSelection(int start,
int end)
Selects text in a widget between start and end points.
|
logical |
setSelection(int start,
int64 end)
Selects text in a widget between start and end points.
|
void |
setSubType(character value)
Sets the the subtype of the combobox.
|
void |
setSubType(java.lang.String value)
Sets the the subtype of the combobox.
|
protected BaseDataType |
truncateValue(BaseDataType value)
Remove trailing whitespaces if applicable
|
protected java.lang.String |
truncateValue(java.lang.String value)
Remove trailing whitespaces.
|
protected ControlSetItem[] |
truncateValues(ControlSetItem[] items)
Truncate values of the provided items and remove invalid ones.
|
add, add, addFirst, addFirst, addFirst, addFirst, addFirst, addFirst, addLast, addLast, addLast, addLast, addLast, addLast, checkIfNotPairs, checkValue, delete, delete, delete, delete, delete, entry, entry, getDelimiter, getItemIndex, getListItemPairs, getListItems, getMousePointerImpl, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, insert, invalid, isSort, itemIndex, lookup, lookup, pairs, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, setDelimiter, setDelimiter, setHonorFormat, setItems, setListItemPairs, setListItemPairsWorker, setListItems, setListItems, setMousePointerName, setSort, setSort, useListItemPairs, useListItems
changeFontWorker, firstChild, getColon, getDataClass, getDataType, getIndex, getNextTabItem, getPreviousTabItem, getPrevSibling, getSideLabelHandle, getSizeAttrs, getTitle, hasSideLabelHandle, isAutoResize, isDropTarget, isModified, lastChild, processSideLabel, resetAutoResize, setAttrSpace, setAutoResize, setAutoResize, setColumnLabel, setColumnLabel, setDataType, setDataType, setDropTarget, setForceLabel, setForceLabel, setHeightCharsWorker, setHeightPixelsWorker, setIndex, setIndex, setModified, setModified, setNoAttrSpace, setNoLabels, setTitle, setTitle, setTo, setTo, setWidthCharsWorker, setWidthPixelsWorker, validateFields
_getHeightChars, _getHeightPixels, _getWidthChars, _getWidthPixels, canSetPixelPositionInChui, getBgColor, getBgColorRgb, getColumn, getDColor, getFgColor, getFgColorRgb, getFont, getFrameColumn, getFrameRow, getFrameX, getFrameY, getHeightPixels, getNextSibling, getParent, getParent, getPfColor, getRow, getTooltip, getValidParentTypes, getWidthChars, getWidthPixels, getX, getY, isMovable, isResizable, isSelected, isTabStop, prepareSizeChars, prepareSizePixels, pushLocAttrs, pushSizeAttrs, setAlign, setBgColor, setBgColor, setBgColor, setBgColorRgb, setBgColorRgb, setBgColorRgb, setColon, setColon, setColumn, setColumn, setColumnOrRow, setColumnOrRowWorker, setDColor, setDColor, setDColor, setFgColor, setFgColor, setFgColor, setFgColorRgb, setFgColorRgb, setFgColorRgb, setFont, setGroup, setMaxHeightCharsWorker, setMaxHeightPixelsWorker, setMaxWidthCharsWorker, setMaxWidthPixelsWorker, setMinHeightCharsWorker, setMinHeightPixelsWorker, setMinWidthCharsWorker, setMinWidthPixelsWorker, setMovable, setMovable, setParent, setPfColor, setPfColor, setPfColor, setResizable, setResizable, setRow, setRow, setSelected, setSelected, setSizeChars, setSizePixels, setTabStop, setTabStop, setTooltip, setTooltip, setVirtHeightCharsWorker, setVirtHeightPixelsWorker, setVirtWidthCharsWorker, setVirtWidthPixelsWorker, setWidthChars, setWidthChars, setWidthPixels, setWidthPixels, setX, setX, setXorY, setXOrYWorker, setY, setY, useHandleChainSiblings, validateParent, validateSize, validColumnOrRow
_dynamic, _getDbName, _getFormat, _getTable, _isEntered, _isHidden, _isNotEntered, _isRealized, _isVisible, _setDynamic, _setVisible, afterConfigUpdate, apply, apply, apply, apply, asWidgetHandle, canAccess, canDelete, cleanup, colorDisplay, colorPrompt, config, deselectRows, detachMenu, disable, dynamic, enable, finishConfigProcessing, getColumnFont, getColumnLabel, getContextHelpId, getConvert3D, getDbName, getFormat, getFrame, getFrameHandle, getHelp, getHWND, getId, getImage, getLabel, getLabelFont, getLabelStr, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNumColumns, getNumSelectedRows, getParentHandle, getPopupMenu, getQuery, getRetainShape, getStretchToFit, getTable, getTabPosition, getTitleFont, getTransparent, getValidationExpression, getValidationMessage, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWindow, getZOrderClass, hasFormat, hasNameReadOnly, hasParent, hide, hide, implicitDeletion, inputValue, isAutoReturn, isChained, isChecked, isDisableRedraw, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isMultiple, isNotEntered, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTabWidget, isThreeD, isValidatable, isVisible, labelSizeCheck, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadMousePointer, loadMousePointer, moveAfterTab, moveAfterTab, moveBeforeTabItem, moveBeforeTabItem, moveToBottom, moveToTop, moveToWorker, name, notQueryable, notQueryable, notSettable, notSettable, notWorker, preRealizeCheck, pushScreenDefinition, pushWidgetAttr, pushWidgetAttr, readOnlyError, realize, refresh, resourceDelete, restoreSharedState, saveSharedState, selectAll, selectFocusedRow, setAtFormatLength, setAutoReturn, setAutoReturn, setBlank, setChecked, setChecked, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setConvert3D, setConvert3D, setDbname, setDeblank, setDisableRedraw, setFont, setFormat, setFormat, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setHeader, setHelp, setHelp, setHelpDefault, setHelpStatic, setHidden, setHidden, setId, setKeepFrameZOrder, setKeepFrameZOrder, setLabel, setLabel, setLabelFont, setLabelFont, setLabelInt, setManualHighlight, setManualHighlight, setMaxHeightChars, setMaxWidthChars, setMenuKey, setMenuKey, setMenuMouse, setMenuMouse, setMultiple, setMultiple, setNextTabItem, setNoAutoValidate, setNumSelectedRows, setParentHandle, setParentHandle, setPopupMenu, setPopupMenu, setQuery, setRetainShape, setRetainShape, setScreenLock, setScreenValue, setScrollable, setScrollable, setSelectable, setSelectable, setSensitive, setSensitive, setSensitive, setSensitive, setSideLabelHandle, setStretchToFit, setStretchToFit, setTable, setThreeD, setThreeD, setTitleFont, setTitleFont, setTransparent, setTransparent, setValidation, setValidation, setVertical, setVirtHeight, setVirtHeightPixels, setVirtWidth, setVirtWidthPixels, setVisible, setVisible, setWidgetId, setWidgetId, truncatePixelSize, underline, underline, valid, validate, validateFields, validateFields, validateFields, view, widgetName
delete, firstResource, firstResource, getHead, getNextSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNextSibling, hasPrevSibling, hasPrivateData, interlink, lastResource, lastResource, moveInChain, name, name, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData
getResourceType, id, id, instantiatingProcedure, invalidAttribute, setInstantiatingProcedure, type, unknown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isSort, setSort, setSort
apply, apply, apply, apply, asWidgetHandle, colorDisplay, colorPrompt, deselectRows, disable, enable, getBgColor, getBgColorRgb, getColumn, getColumnFont, getContextHelpId, getDColor, getFgColor, getFgColorRgb, getFont, getFrame, getFrameColumn, getFrameHandle, getFrameRow, getFrameX, getFrameY, getHelp, getHWND, getId, getImage, getLabelFont, getLabelStr, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNextTabItem, getNumColumns, getNumSelectedRows, getParent, getParentHandle, getPfColor, getPopupMenu, getPreviousTabItem, getQuery, getRow, getSideLabelHandle, getTabPosition, getTitle, getTitleFont, getTooltip, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWindow, hide, hide, inputValue, isAutoResize, isChecked, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isModified, isMovable, isMultiple, isNotEntered, isResizable, isScrollable, isSelectable, isSelected, isSelected, isSelected, isTabStop, isThreeD, isValidatable, isVisible, loadMousePointer, loadMousePointer, moveAfterTab, moveAfterTab, moveBeforeTabItem, moveBeforeTabItem, moveToBottom, moveToTop, preRealizeCheck, realize, refresh, selectAll, selectFocusedRow, setAtFormatLength, setAutoResize, setAutoResize, setBgColor, setBgColorRgb, setBlank, setChecked, setChecked, setColumn, setColumn, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setDColor, setDColor, setDeblank, setFgColor, setFgColorRgb, setFont, setFont, setFormat, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setGroup, setHeader, setHelp, setHelp, setHidden, setHidden, setId, setKeepFrameZOrder, setKeepFrameZOrder, setLabelFont, setLabelFont, setManualHighlight, setManualHighlight, setMaxHeightChars, setMaxWidthChars, setMenuKey, setMenuKey, setMenuMouse, setMenuMouse, setModified, setModified, setMovable, setMovable, setMultiple, setMultiple, setNextTabItem, setNumSelectedRows, setParent, setParentHandle, setParentHandle, setPfColor, setPfColor, setPopupMenu, setPopupMenu, setQuery, setResizable, setResizable, setRow, setRow, setScreenValue, setScreenValue, setScrollable, setScrollable, setSelectable, setSelectable, setSelected, setSelected, setSensitive, setSideLabelHandle, setTabStop, setTabStop, setThreeD, setThreeD, setTitle, setTitle, setTitleFont, setTitleFont, setTooltip, setTooltip, setValidation, setValidation, setVertical, setVirtHeight, setVirtHeightPixels, setVirtWidth, setVirtWidthPixels, setVisible, setVisible, setWidgetId, setWidgetId, underline, underline, valid, validateFields, validateFields, validateFields, view
getNextSibling, getPrevSibling, getPrivateData, setPrivateData, setPrivateData
getResourceType, readOnlyError
id, id, unknown
getColumnLabel, getDataType, getFormat, getLabel, setColumnLabel, setColumnLabel, setDataType, setDataType, setFormat, setLabel, setLabel
getDbName, getTable
isDisableRedraw, setDisableRedraw, setDisableRedraw
getHeightPixels, getWidthChars, getWidthPixels, setWidthChars, setWidthChars, setWidthPixels, setWidthPixels
getX, getY, setX, setY
getRetainShape, getStretchToFit, getTransparent, setRetainShape, setRetainShape, setStretchToFit, setStretchToFit, setTransparent, setTransparent
getConvert3D, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, setConvert3D, setConvert3D
replace, replace, replace, replace, replace, replace, replace, replace
endFileDrop, getDroppedFile, getDroppedFile, getNumDroppedFiles, setDropTarget
public ComboBoxWidget()
public ComboBoxWidget(boolean dynamic)
dynamic
- Flag indicating if this is a static or dynamic resource.public void setModeDropDownList(boolean b)
b
- true
enables mode, false
is
ignored.public void setModeDropDown(boolean b)
b
- true
enables mode, false
is
ignored.public void setModeSimple(boolean b)
b
- true
enables mode, false
is
ignored.public integer getNumItems()
getNumItems
in interface NumItems
public logical setSelection(int64 start, int64 end)
setSelection
in interface SelectableText
start
- Starting offset.end
- Ending offset.true
if the operation succeeded.public logical setSelection(int64 start, int end)
setSelection
in interface SelectableText
start
- Starting offset.end
- Ending offset.true
if the operation succeeded.public logical setSelection(int start, int64 end)
setSelection
in interface SelectableText
start
- Starting offset.end
- Ending offset.true
if the operation succeeded.public logical setSelection(int start, int end)
setSelection
in interface SelectableText
start
- Starting offset.end
- Ending offset.true
if the operation succeeded.public character getSelectionText()
getSelectionText
in interface SelectableText
public integer getSelectionEnd()
getSelectionEnd
in interface SelectableText
public integer getSelectionStart()
getSelectionStart
in interface SelectableText
public logical isTextSelected()
isTextSelected
in interface SelectableText
isTextSelected
in class GenericWidget<ComboBoxConfig>
public logical clearSelection()
clearSelection
in interface SelectableText
public logical removeSelection()
removeSelection
in interface SelectableText
public integer getInnerLines()
getInnerLines
in interface InnerLines
public void setInitialInnerLines(double lines)
setInitialInnerLines
in interface InnerLines
lines
- The new number of lines.public void setInnerLines(double lines)
setInnerLines
in interface InnerLines
lines
- The new number of lines.public void setInnerLines(NumberType lines)
setInnerLines
in interface InnerLines
lines
- The new number of lines.public decimal getHeightChars()
getHeightChars
in interface Sizeable
getHeightChars
in class BaseEntity<ComboBoxConfig>
public void setDisableAutoZap(logical disableAutoZap)
setDisableAutoZap
in interface AutoZapElement
disableAutoZap
- true
if the option is set to ON.public void setDisableAutoZap(boolean disableAutoZap)
setDisableAutoZap
in interface AutoZapElement
setDisableAutoZap
in interface CommonWidget
setDisableAutoZap
in class GenericWidget<ComboBoxConfig>
disableAutoZap
- true
if the option is set to ON.public logical isDisableAutoZap()
isDisableAutoZap
in interface AutoZapElement
public void setAutoZap(logical value)
setAutoZap
in interface AutoZapElement
value
- New value for the attribute.public void setAutoZap(boolean value)
setAutoZap
in interface AutoZapElement
value
- New value for the attribute.public logical isAutoZap()
isAutoZap
in interface AutoZapElement
public void setCursorOffset(double offset)
setCursorOffset
in interface CommonWidget
setCursorOffset
in class GenericWidget<ComboBoxConfig>
offset
- The character index at which the cursor is to be placed.public void setCursorOffset(NumberType offset)
setCursorOffset
in interface CommonWidget
setCursorOffset
in class GenericWidget<ComboBoxConfig>
offset
- The character index at which the cursor is to be placed.public integer getCursorOffset()
getCursorOffset
in interface CommonWidget
getCursorOffset
in class GenericWidget<ComboBoxConfig>
public void setHeightChars(NumberType height)
setHeightChars
in interface Sizeable
setHeightChars
in class BaseEntity<ComboBoxConfig>
height
- The new value for the HEIGHT-CHARS attribute.public void setHeightChars(double height)
setHeightChars
in interface Sizeable
setHeightChars
in class BaseEntity<ComboBoxConfig>
height
- The new value for the HEIGHT-CHARS attribute.public void setHeightPixels(NumberType heightPixels)
setHeightPixels
in interface Sizeable
setHeightPixels
in class BaseEntity<ComboBoxConfig>
heightPixels
- new value of HEIGHT-PIXELS attributepublic void setHeightPixels(int heightPixels)
setHeightPixels
in interface Sizeable
setHeightPixels
in class BaseEntity<ComboBoxConfig>
heightPixels
- new value of HEIGHT-PIXELS attributepublic void setMaxChars(double maxChars)
setMaxChars
in interface MaxCharsElement
maxChars
- Value of the attribute.public void setMaxChars(NumberType maxChars)
setMaxChars
in interface MaxCharsElement
maxChars
- Value of the attribute.public integer getMaxChars()
getMaxChars
in interface MaxCharsElement
public logical delete(character itemList)
delete
in interface CommonListWidget<ComboBoxConfig>
itemList
- The item or items to delete.true
if the method succeeds.public void finishSetup()
finishSetup
in class GenericWidget<ComboBoxConfig>
public logical delete(java.lang.String itemList)
delete
in interface CommonListWidget<ComboBoxConfig>
itemList
- The item or items to delete.true
if the method succeeds.public void setFrame(FrameWidget frame)
setFrame
in interface CommonWidget
setFrame
in class GenericWidget<ComboBoxConfig>
frame
- GenericFrame
instance that contains this widgetpublic character getScreenValue()
character
type. If
there is no value in the screen buffer (if it is null
which is the representation for an uninitialized value), then return
the empty string.getScreenValue
in interface CommonWidget
getScreenValue
in class GenericWidget<ComboBoxConfig>
character
type or the empty
string if the screen buffer value is uninitialized.public character getSubType()
getSubType
in interface SubTypeAttribute
public void setSubType(character value)
setSubType
in interface SubTypeAttribute
value
- The new value of the subtype object attribute. Valid values are: SIMPLE,
DROP-DOWN, and DROP-DOWN-LIST. The last value is the default.public void setSubType(java.lang.String value)
setSubType
in interface SubTypeAttribute
value
- The new value of the subtype object attribute. Valid values are: SIMPLE,
DROP-DOWN, and DROP-DOWN-LIST. The last value is the default.public void setListItemPairs(character list)
Example: Label1,value1,Label2,value2,...,LabelN,valueN
setListItemPairs
in interface CommonListWidget<ComboBoxConfig>
setListItemPairs
in class ControlSetEntity<ComboBoxConfig>
list
- A list of delimited items using the configured delimiter for
this widget (a comma by default) to split the items. These
items will be set as the full list of items in this widget.protected java.lang.String truncateValue(java.lang.String value)
truncateValue
in class ControlSetEntity<ComboBoxConfig>
value
- the string to be truncated.protected BaseDataType truncateValue(BaseDataType value)
truncateValue
in class ControlSetEntity<ComboBoxConfig>
value
- the BaseDataType to be truncatedprotected ControlSetItem controlSetItem(character label, BaseDataType value)
controlSetItem
in class ControlSetEntity<ComboBoxConfig>
label
- item' labelvalue
- item's valueprotected ControlSetItem[] truncateValues(ControlSetItem[] items)
truncateValues
in class ControlSetEntity<ComboBoxConfig>
items
- The items to be processed.protected boolean ignore(BaseDataType value)
ignore
in class ControlSetEntity<ComboBoxConfig>
value
- The value to be checked.true
if the value should be ignored.protected boolean ignore(java.lang.String value)
ignore
in class ControlSetEntity<ComboBoxConfig>
value
- The value to be checked.true
if the value should be ignored.character getScreenValue(boolean initialized, BaseDataType bdt, java.lang.String fmt, boolean ignoreFormat)
getScreenValue
in class GenericWidget<ComboBoxConfig>
initialized
- Flag indicating if the widget is realized or not.bdt
- The current value in the frame's buffer.fmt
- The format to be applied, in case this is a formatted value.ignoreFormat
- Flag indicating if the format needs to be ignored.boolean setScreenValue(ScreenBuffer frameBuf, java.lang.Object value, boolean inUIStmt)
setScreenValue
in class GenericWidget<ComboBoxConfig>
frameBuf
- The frame buffer where to save the value.value
- The value to be set via SCREEN-VALUE attribute.inUIStmt
- Flag indicating this call originates from a UI statement.true
if the caller can proceed, as the screen-value can be set.