public class RadioSetWidget extends ControlSetEntity<RadioSetConfig> implements RadioSetInterface
ControlSetEntity.BiPredicate<T,U>BaseEntity.CharsPixelsCOMPARE_LABEL, COMPARE_LABEL_IGNORE_CASE, COMPARE_VALUE_IGNORE_CASE, LTRIM, RTRIMALIGN_COLON, ALIGN_LEFT, ALIGN_RIGHTgroupconfig, deleted, frame, internalScreenValueUsage, realizeOnAttributeAccessname, nextSibling, prevSibling, wainstProc, pm| Constructor and Description |
|---|
RadioSetWidget()
Default constructor.
|
RadioSetWidget(boolean dynamic)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
logical |
addFirst(character label,
BaseDataType value)
Implements the ADD-FIRST() widget method, which adds a single label
and value pair to the beginning of the list.
|
logical |
addLast(character label,
BaseDataType value)
Implements the ADD-LAST() widget method, which adds a single label
and value pair to the end of the list.
|
logical |
delete(character item)
Implements the DELETE() widget method, which removes the list item or
items specified.
|
logical |
delete(int64 idx)
Implements the DELETE() widget method, which removes the list item at the given index.
|
logical |
delete(long idx)
Implements the DELETE() widget method, which removes the list item at the given index.
|
logical |
delete(java.lang.String item)
Implements the DELETE() widget method, which removes the list item or
items specified.
|
logical |
disable(character label)
Disable RADIO-BUTTON in a RADIO-SET widget.
|
logical |
disable(java.lang.String label)
Disable RADIO-BUTTON in a RADIO-SET widget.
|
logical |
enable(character label)
Enable RADIO-BUTTON in a RADIO-SET widget.
|
logical |
enable(java.lang.String label)
Enable RADIO-BUTTON in a RADIO-SET widget.
|
character |
getFormat()
Gets the format specification.
|
private character |
getInitialValue()
Gets its initial value.
|
protected int |
getItemIndex(character itemId)
Get an item index, enumerated from 1.
|
integer |
getNumButtons()
Get the value of the NUM-BUTTONS attribute which is the number of buttions in the
RADIO-SET.
|
character |
getRadioButtons()
Get RADIO-BUTTONS 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.
|
handle |
getSideLabelHandle()
Obtains the text widget that is used as the side label for this widget.
|
boolean |
hasFormat()
Checks if the given widget has valid format string or even has the format attribute.
|
private logical |
invalid3RdArg()
Report invalid third argument for replace().
|
private void |
invalidArgument(java.lang.String attribute)
Report invalid argument for a radio-set.
|
logical |
isExpand()
Get the value of the EXPAND attribute for radio-set.
|
logical |
isHorizontal()
Get the value of the HORIZONTAL attribute for radio-set.
|
protected boolean |
isValidScreenValue(character value)
Check if the tested value is in the control-set values.
|
private logical |
missingArgs()
Report missing argument for replace().
|
logical |
replace(character newLabel,
BaseDataType newValue,
character oldItem)
REPLACE (new-label, new-value, list-item) method for COMBO-BOX/SELECTION-LIST,
REPLACE (new-label, new-value, old-label) method for RADIO-SET
|
logical |
replace(character newLabel,
BaseDataType newValue,
int listIndex)
REPLACE (new-label, new-value, list-index) method for COMBO-BOX/SELECTION-LIST
|
logical |
replace(character newLabel,
BaseDataType newValue,
integer listIndex)
REPLACE (new-label, new-value, list-index) method for COMBO-BOX/SELECTION-LIST
|
logical |
replace(character newItemList,
character listItem)
REPLACE(REPLACE (new-item-list, list-item )) method
(for COMBO-BOX and SELECTION-LIST)
not applicable to RADIO-SET
|
logical |
replace(character from,
character to,
int flag)
.
|
logical |
replace(character from,
character to,
integer flag)
REPLACE (old-string, new-string, flag ) method for EDITOR
not applicable to RADIO-SET
|
logical |
replace(character newItemList,
int listIndex)
REPLACE (new-item-list, list-index ) method
(for COMBO-BOX and SELECTION-LIST)
not applicable to RADIO-SET
|
logical |
replace(character newItemList,
integer listIndex)
REPLACE (new-item-list, list-index ) method
(for COMBO-BOX and SELECTION-LIST)
not applicable to RADIO-SET
|
logical |
replace(character newItemList,
java.lang.String listItem)
REPLACE(REPLACE (new-item-list, list-item )) method
(for COMBO-BOX and SELECTION-LIST)
not applicable to RADIO-SET
|
logical |
replace(character from,
java.lang.String to,
int flag)
REPLACE (old-string, new-string, flag ) method for EDITOR
not applicable to RADIO-SET
|
logical |
replace(character arg0,
java.lang.String arg1,
integer arg2)
REPLACE (new-label, new-value, list-index) method for COMBO-BOX/SELECTION-LIST
REPLACE (old-string, new-string, flag ) method for EDITOR
|
logical |
replace(java.lang.String newLabel,
BaseDataType newValue,
int listIndex)
REPLACE (new-label, new-value, list-index) method for COMBO-BOX/SELECTION-LIST
|
logical |
replace(java.lang.String newLabel,
BaseDataType newValue,
integer listIndex)
REPLACE (new-label, new-value, list-index) method for COMBO-BOX/SELECTION-LIST
|
logical |
replace(java.lang.String newItemList,
character listItem)
REPLACE(REPLACE (new-item-list, list-item )) method
(for COMBO-BOX and SELECTION-LIST)
not applicable to RADIO-SET
|
logical |
replace(java.lang.String from,
character to,
int flag)
.
|
logical |
replace(java.lang.String from,
character to,
integer flag)
.
|
logical |
replace(java.lang.String newItemList,
int listIndex)
REPLACE (new-item-list, list-index ) method
(for COMBO-BOX and SELECTION-LIST)
not applicable to RADIO-SET
|
logical |
replace(java.lang.String newItemList,
integer listIndex)
REPLACE (new-item-list, list-index ) method
(for COMBO-BOX and SELECTION-LIST)
not applicable to RADIO-SET
|
logical |
replace(java.lang.String newItemList,
java.lang.String listItem)
REPLACE(REPLACE (new-item-list, list-item )) method
(for COMBO-BOX and SELECTION-LIST)
not applicable to RADIO-SET
|
logical |
replace(java.lang.String from,
java.lang.String to,
int flag)
REPLACE (new-label, new-value, list-index) method for COMBO-BOX/SELECTION-LIST
REPLACE (old-string, new-string, flag ) method for EDITOR
not applicable to RADIO-SET
|
logical |
replace(java.lang.String from,
java.lang.String to,
integer flag)
REPLACE (new-label, new-value, list-index) method for COMBO-BOX/SELECTION-LIST
REPLACE (old-string, new-string, flag ) method for EDITOR
not applicable to RADIO-SET
|
protected boolean |
resetSize(ControlSetItem[] items)
Replace array of items in the config.
|
void |
setDataType(character dataType)
Sets new value of DATA-TYPE attribute.
|
void |
setDataType(java.lang.String dataType)
Sets new value of DATA-TYPE attribute.
|
protected logical |
setEnabled(character label,
boolean enabled)
Enable/Disable RADIO-BUTTON in a RADIO-SET widget.
|
void |
setExpand(boolean value)
Resets the value of the EXPAND attribute for radio-set.
|
void |
setExpand(logical value)
Resets the value of the EXPAND attribute for radio-set.
|
void |
setFormat(java.lang.String format)
Sets the format specification.
|
void |
setHorizontal(boolean value)
Resets the value of the HORIZONTAL attribute for radio-set.
|
void |
setHorizontal(logical value)
Resets the value of the HORIZONTAL attribute for radio-set.
|
void |
setItems(ControlSetItem[] items,
boolean pairs,
boolean append)
Store array of items into config.
|
void |
setRadioButtons(character c)
Set RADIO-BUTTONS attribute.
|
void |
setRadioButtons(java.lang.String s)
Set RADIO-BUTTONS attribute.
|
void |
setSideLabelHandle(handle label)
Sets the text widget that is used as the side label for this widget.
|
void |
setVertical(boolean value)
Resets the value of the HORIZONTAL attribute for radio-set.
|
void |
setVertical(logical value)
Resets the value of the HORIZONTAL attribute for radio-set.
|
(package private) boolean |
validateScreenValue(character value,
character unparsedValue)
Validate the value(s) for SCREEN-VALUE attribute.
|
protected int |
width(ControlSetItem[] items)
Calculate widget width for items' list
|
add, add, addFirst, addFirst, addFirst, addFirst, addFirst, addFirst, addFirst, addFirst, addLast, addLast, addLast, addLast, addLast, checkIfNotPairs, checkValue, controlSetItem, delete, delete, delete, delete, entry, entry, getDelimiter, getListItemPairs, getListItems, getMousePointerImpl, ignore, ignore, 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, isExpandLabel, isSort, isValidScreenValue, itemIndex, lookup, lookup, pairs, replace, replace, replace, replace, replace, replace, replace, resolveFormat, setDelimiter, setDelimiter, setHonorFormat, setItems, setListItemPairs, setListItemPairs, setListItemPairsWorker, setListItems, setListItems, setMousePointerName, setScreenValue, setSort, setSort, truncateValue, truncateValue, truncateValues, useListItemPairs, useListItemschangeFontWorker, delete, firstChild, getColon, getDataClass, getDataType, getIndex, getNextTabItem, getPreviousTabItem, getPrevSibling, getSideLabelHandleWorker, getSizeAttrs, getTitle, hasSideLabelHandle, isAutoResize, isDropTarget, isModified, lastChild, processSideLabel, resetAutoResize, setAttrSpace, setAutoResize, setAutoResize, setColumnLabel, setColumnLabel, setDropTarget, setForceLabel, setForceLabel, setHeightCharsWorker, setHeightPixelsWorker, setIndex, setIndex, setModified, setModified, setNoAttrSpace, setNoLabels, setSideLabelHandleWorker, setTitle, setTitle, setTo, setTo, setWidthCharsWorker, setWidthPixelsWorker, validateFields_getHeightChars, _getHeightPixels, _getWidthChars, _getWidthPixels, canSetPixelPositionInChui, emit4084Warning, emitUnableToAssignUnknownAttributeWarning, getBgColor, getBgColorRgb, getColumn, getDColor, getFgColor, getFgColorRgb, getFont, getFontInfo, getFontName, getFontSize, getFrameColumn, getFrameRow, getFrameX, getFrameY, getHeightChars, getHeightPixels, getNextSibling, getParent, getParent, getPfColor, getRow, getTooltip, getValidParentTypes, getWidthChars, getWidthPixels, getX, getY, isFontBold, isFontItalic, isFontUnderline, isMovable, isResizable, isSelected, isTabStop, prepareSizeChars, prepareSizePixels, pushLocAttrs, pushSizeAttrs, setAlign, setBgColor, setBgColor, setBgColor, setBgColorRgb, setBgColorRgb, setColon, setColon, setColumn, setColumn, setColumnOrRow, setColumnOrRowWorker, setDColor, setDColor, setDColor, setFgColor, setFgColor, setFgColor, setFgColorRgb, setFgColorRgb, setFont, setFontBold, setFontItalic, setFontName, setFontSize, setFontUnderline, setGroup, setHeightChars, setHeightChars, setHeightImpl, setHeightPixels, setHeightPixels, setMaxHeightCharsWorker, setMaxHeightPixelsWorker, setMaxWidthCharsWorker, setMaxWidthPixelsWorker, setMinHeightCharsWorker, setMinHeightPixelsWorker, setMinWidthCharsWorker, setMinWidthPixelsWorker, setMovable, setMovable, setParent, setPfColor, setPfColor, setPfColor, setResizable, setResizable, setRow, setRow, setSelected, setSelected, setSizeChars, setSizePixels, setSystemParent, setTabStop, setTabStop, setTooltip, setTooltip, setVirtHeightCharsWorker, setVirtHeightPixelsWorker, setVirtWidthCharsWorker, setVirtWidthPixelsWorker, setWidthChars, setWidthChars, setWidthImpl, setWidthPixels, setWidthPixels, setX, setX, setXorY, setXOrYWorker, setY, setY, useHandleChainSiblings, validateParent, validateSize, validColumnOrRow_dynamic, _getDbName, _getFormat, _getTable, _isEntered, _isHidden, _isNotEntered, _isRealized, _isVisible, _name, _setDynamic, _setVisible, afterConfigUpdate, apply, apply, apply, apply, asWidgetHandle, canAccess, canDelete, canPushWidgetAttr, cleanup, colorDisplay, colorPrompt, config, deselectRows, detachMenu, disable, dynamic, editUndo, enable, finishConfigProcessing, finishSetup, flushWidgetAttrs, genAssignUnknownWarning, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getAttr, getColumnFont, getColumnLabel, getContextHelpId, getConvert3D, getCursorOffset, getDbName, getFrame, getFrameHandle, getFrameName, getHeight, getHelp, getHWND, getId, getImage, getLabel, getLabelFont, getLabelStr, getLogicalTerminal, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNumColumns, getNumSelectedRows, getParentHandle, getPopupMenu, getQuery, getRetainShape, getStretchToFit, getTable, getTabPosition, getTitleFont, getTransparent, getValidationExpression, getValidationMessage, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWidth, getWindow, getZOrderClass, hasNameReadOnly, hasParent, hide, hide, implicitDeletion, inputValue, isAutoCompletion, isAutoReturn, isChained, isChecked, isDisableRedraw, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isMultiple, isNotEntered, isReadOnly, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTabWidget, isTextSelected, isThreeD, isValidatable, isVisible, labelSizeCheck, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadMousePointer, loadMousePointer, moveAfterTabItem, moveAfterTabItem, moveBeforeTabItem, moveBeforeTabItem, moveToBottom, moveToTop, moveToWorker, name, notQueryable, notQueryable, notSettable, notSettable, notWorker, openPopup, preRealizeCheck, pushScreenDefinition, pushWidgetAttr, pushWidgetAttr, readOnlyError, readOnlyError, realize, refresh, resourceDelete, restoreSharedState, saveSharedState, selectAll, selectFocusedRow, setAtFormatLength, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttrs, setAutoCompletion, setAutoCompletion, setAutoReturn, setAutoReturn, setBlank, setChecked, setChecked, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setConvert3D, setConvert3D, setCursorOffset, setCursorOffset, setDbname, setDeblank, setDisableAutoZap, setDisableRedraw, setFont, setFormat, setFrame, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setFromOCX, setHeader, setHeight, setHelp, setHelp, setHelpDefault, setHelpStatic, setHidden, setHidden, setId, setKeepFrameZOrder, setKeepFrameZOrder, setLabel, setLabel, setLabel, setLabelFont, setLabelFont, setLabelInt, setManualHighlight, setManualHighlight, setMaxHeightChars, setMaxWidthChars, setMenuKey, setMenuKey, setMenuMouse, setMenuMouse, setMultiple, setMultiple, setNextTabItem, setNoAutoValidate, setNumSelectedRows, setParentHandle, setParentHandle, setPopupMenu, setPopupMenu, setQuery, setReadOnly, setRetainShape, setRetainShape, setScreenLock, setScreenValue, setScreenValue, setScreenValue, setScreenValueInt, setScreenValueNoErrorHandling, setScrollable, setScrollable, setSelectable, setSelectable, setSensitive, setSensitive, setSensitive, setSensitive, setStretchToFit, setStretchToFit, setTable, setThreeD, setThreeD, setTitleFont, setTitleFont, setTransparent, setTransparent, setValidation, setValidation, setVirtHeight, setVirtHeightPixels, setVirtWidth, setVirtWidthPixels, setVisible, setVisible, setWidgetId, setWidgetId, setWidth, truncatePixelSize, type, underline, underline, valid, validate, validateFields, validateFields, validateFields, validateLabelAssignment, view, warningAlreadyRealized, widgetNamefirstResource, firstResource, getHead, getNextSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNameConstraints, hasNextSibling, hasPrevSibling, hasPrivateData, interlink, lastResource, lastResource, moveInChain, name, name, resolveChainType, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData, validateName_instantiatingProcedure, addToPool, doDelete, equals, hashCode, id, id, incrementTrigger, instantiatingProcedure, invalidAttribute, processResource, registerResource, resourceType, setInstantiatingProcedure, toString, unableToAssignUnknown, unknownclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetItemsapply, apply, apply, apply, asWidgetHandle, colorDisplay, colorPrompt, deselectRows, disable, editUndo, enable, getBgColor, getBgColorRgb, getColumnFont, getContextHelpId, getCursorOffset, getDColor, getFgColor, getFgColorRgb, getFont, getFrame, getFrameColumn, getFrameHandle, getFrameName, getFrameRow, getFrameX, getFrameY, getHWND, getId, getIdEx, getImage, getLabelFont, getLabelStr, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNextTabItem, getNumColumns, getNumSelectedRows, getParent, getParentHandle, getPfColor, getPopupMenu, getPreviousTabItem, getQuery, getTabPosition, getTitle, getTitleFont, getTooltip, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWindow, hide, hide, inputValue, isAutoCompletion, isAutoResize, isEditCanUndo, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isModified, isMovable, isMultiple, isNotEntered, isResizable, isScrollable, isSelectable, isSelected, isSelected, isSelected, isTabStop, isThreeD, isValidatable, loadMousePointer, loadMousePointer, moveAfterTabItem, moveAfterTabItem, moveBeforeTabItem, moveBeforeTabItem, moveToBottom, moveToTop, openPopup, preRealizeCheck, realize, refresh, selectAll, selectFocusedRow, setAtFormatLength, setAutoCompletion, setAutoCompletion, setAutoResize, setAutoResize, setBgColor, setBgColorRgb, setBlank, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setCursorOffset, setCursorOffset, setDColor, setDColor, setDeblank, setDisableAutoZap, setFgColor, setFgColorRgb, setFont, setFont, setFrame, setFrame, setFrame, setFrameHandle, setFrameHandle, setFrameHandle, setGroup, setHeader, 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, setScreenValue, setScreenValue, setScrollable, setScrollable, setSelectable, setSelectable, setSelected, setSelected, setSensitive, setTabStop, setTabStop, setThreeD, setThreeD, setTitle, setTitle, setTitleFont, setTitleFont, setTooltip, setTooltip, setValidation, setValidation, setVirtHeight, setVirtHeightPixels, setVirtWidth, setVirtWidthPixels, setWidgetId, setWidgetId, underline, underline, valid, validateFields, validateFields, validateFields, viewgetNextSibling, getPrevSibling, getPrivateData, setPrivateData, setPrivateDatareadOnlyError, readOnlyError, resourceTypeid, id, unknowngetColumnLabel, getDataType, getHelp, getLabel, setColumnLabel, setColumnLabel, setFormat, setHelp, setHelp, setLabel, setLabel, setLabelgetDbName, getTableisDisableRedraw, setDisableRedraw, setDisableRedrawisVisible, setVisible, setVisiblegetHeight, getHeightChars, getHeightPixels, getWidth, getWidthChars, getWidthPixels, setHeight, setHeightChars, setHeightChars, setHeightPixels, setHeightPixels, setWidth, setWidthChars, setWidthChars, setWidthPixels, setWidthPixelsgetColumn, getRow, getX, getY, setColumn, setColumn, setRow, setRow, setX, setX, setY, setYgetRetainShape, getStretchToFit, getTransparent, setRetainShape, setRetainShape, setStretchToFit, setStretchToFit, setTransparent, setTransparentgetConvert3D, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, loadImage, setConvert3D, setConvert3DisReadOnly, setReadOnly, setReadOnlyreplace, replace, replace, replace, replace, replace, replace, replaceendFileDrop, getDroppedFile, getDroppedFile, getNumDroppedFiles, setDropTargetallowDeletepublic RadioSetWidget()
public RadioSetWidget(boolean dynamic)
dynamic - Flag indicating if this is a static or dynamic resource.public void setHorizontal(logical value)
setHorizontal in interface OrientationInterfacevalue - The new value of the HORIZONTAL attribute.public void setHorizontal(boolean value)
setHorizontal in interface OrientationInterfacevalue - The new value of the HORIZONTAL attribute.public logical isHorizontal()
isHorizontal in interface OrientationInterfacepublic void setVertical(logical value)
setVertical in interface OrientationInterfacevalue - The new value of the HORIZONTAL attribute.public void setVertical(boolean value)
setVertical in interface CommonWidgetsetVertical in interface OrientationInterfacesetVertical in class GenericWidget<RadioSetConfig>value - The new value of the VERTICAL option.public logical isExpand()
isExpand in interface RadioSetInterfacepublic void setExpand(logical value)
setExpand in interface RadioSetInterfacevalue - The new value of the EXPAND attribute.public void setExpand(boolean value)
setExpand in interface RadioSetInterfacevalue - The new value of the EXPAND attribute.public character getRadioButtons()
getRadioButtons in interface RadioSetInterfacepublic void setRadioButtons(java.lang.String s)
Example: Label1,value1,Label2,value2,..., LabelN,valueN
setRadioButtons in interface RadioSetInterfaces - New value of the attribute.public void setRadioButtons(character c)
Example: Label1,value1,Label2,value2,..., LabelN,valueN
setRadioButtons in interface RadioSetInterfacec - New value of the attribute.public logical delete(character item)
delete in interface CommonListWidget<RadioSetConfig>item - The item or items to delete.true if the method succeeds.public logical delete(java.lang.String item)
delete in interface CommonListWidget<RadioSetConfig>item - The item or items to delete.true if the method succeeds.public logical delete(int64 idx)
delete in interface CommonListWidget<RadioSetConfig>delete in class ControlSetEntity<RadioSetConfig>idx - The index of the item to delete.true if the method succeeds.public logical delete(long idx)
delete in interface CommonListWidget<RadioSetConfig>delete in class ControlSetEntity<RadioSetConfig>idx - The index of the item to delete.true if the method succeeds.public logical addLast(character label, BaseDataType value)
addLast in interface CommonListWidget<RadioSetConfig>addLast in class ControlSetEntity<RadioSetConfig>label - The label of the item to add.value - The value of the item to add.true if the method succeeds.public void setDataType(character dataType)
setDataType in interface CommonFieldsetDataType in class ControlEntity<RadioSetConfig>dataType - new value of DATA-TYPE attributepublic void setDataType(java.lang.String dataType)
setDataType in interface CommonFieldsetDataType in class ControlEntity<RadioSetConfig>dataType - new value of DATA-TYPE attributepublic void setFormat(java.lang.String format)
setFormat in interface CommonWidgetsetFormat in interface CommonFieldsetFormat in class GenericWidget<RadioSetConfig>format - The format specification.public character getFormat()
getFormat in interface CommonFieldgetFormat in class GenericWidget<RadioSetConfig>public boolean hasFormat()
hasFormat in class GenericWidget<RadioSetConfig>FALSE.public logical addFirst(character label, BaseDataType value)
addFirst in interface CommonListWidget<RadioSetConfig>addFirst in class ControlSetEntity<RadioSetConfig>label - The label of the item to add.value - The value of the item to add.public void setItems(ControlSetItem[] items, boolean pairs, boolean append)
setItems in interface CommonListWidget<RadioSetConfig>setItems in class ControlSetEntity<RadioSetConfig>items - Array of new items.pairs - true if LIST_ITEM_PAIRS, RADIO_BUTTONS is set false if LIST_ITEMs is set.append - true if the items have been set through ADD, INSERT or other
append-type methods, false if they have been set all at once.public logical enable(java.lang.String label)
enable in interface RadioSetInterfacelabel - New label of the button to be enabled.true if successfulpublic logical enable(character label)
enable in interface RadioSetInterfacelabel - New label of the button to be enabled.true if successfulpublic logical disable(java.lang.String label)
disable in interface RadioSetInterfacelabel - New label of the button to be disabled.true if successfulpublic logical disable(character label)
disable in interface RadioSetInterfacelabel - New label of the button to be disabled.true if successfulpublic integer getNumButtons()
getNumButtons in interface RadioSetInterfacepublic logical replace(character from, character to, integer flag)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>from - The source text.to - The replacement text.flag - the search modetrue if the operation was successful.public logical replace(java.lang.String from, character to, integer flag)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>from - The source text.to - The replacement text.flag - the search modetrue if the operation was successful.public logical replace(character from, character to, int flag)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>from - The source text.to - The replacement text.flag - the search modetrue if the operation was successful.public logical replace(java.lang.String from, character to, int flag)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>from - The source text.to - The replacement text.flag - the search modetrue if the operation was successful.public logical replace(character from, java.lang.String to, int flag)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>from - The source text.to - The replacement text.flag - the search modetrue if the operation was successful.public logical replace(java.lang.String from, java.lang.String to, integer flag)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>from - new item's label for COMBO-BOX/SELECTION-LIST,
the source text for EDITORto - new item's value for COMBO-BOX/SELECTION-LIST,
replacement test for editorflag - index of the item to be replaced for COMBO-BOX/SELECTION-LIST,
the search mode for EDITORtrue if the operation was successful.public logical replace(java.lang.String from, java.lang.String to, int flag)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>from - new item's label for COMBO-BOX/SELECTION-LIST,
the source text for EDITORto - new item's value for COMBO-BOX/SELECTION-LIST,
replacement test for editorflag - index of the item to be replaced for COMBO-BOX/SELECTION-LIST,
the search mode for EDITORtrue if the operation was successful.public logical replace(character newItemList, character listItem)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newItemList - new item listlistItem - old item's valuetrue if the operation was successful.public logical replace(character newItemList, java.lang.String listItem)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newItemList - new item listlistItem - old item's valuetrue if the operation was successful.public logical replace(java.lang.String newItemList, character listItem)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newItemList - new item listlistItem - old item's valuetrue if the operation was successful.public logical replace(java.lang.String newItemList, java.lang.String listItem)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newItemList - new item listlistItem - old item's valuetrue if the operation was successful.public logical replace(character newItemList, integer listIndex)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newItemList - new item listlistIndex - old item's indextrue if the operation was successful.public logical replace(character newItemList, int listIndex)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newItemList - new item listlistIndex - old item's indextrue if the operation was successful.public logical replace(java.lang.String newItemList, integer listIndex)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newItemList - new item listlistIndex - old item's indextrue if the operation was successful.public logical replace(java.lang.String newItemList, int listIndex)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newItemList - new item listlistIndex - old item's indextrue if the operation was successful.public logical replace(character newLabel, BaseDataType newValue, character oldItem)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newLabel - new item's labelnewValue - new item's valueoldItem - oldItem (old-label for the READIO-SET, and list-item for the COMBO-BOX/SELECTION-LIST)true if the operation was successful.public logical replace(character newLabel, BaseDataType newValue, integer listIndex)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newLabel - new item's labelnewValue - new item's valuelistIndex - index of the item to be replacedtrue if the operation was successful.public logical replace(java.lang.String newLabel, BaseDataType newValue, integer listIndex)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newLabel - new item's labelnewValue - new item's valuelistIndex - index of the item to be replacedtrue if the operation was successful.public logical replace(character arg0, java.lang.String arg1, integer arg2)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>arg0 - new item's label for COMBO-BOX/SELECTION-LIST,
the source text for EDITORarg1 - new item's value for COMBO-BOX/SELECTION-LIST,
replacement test for editorarg2 - index of the item to be replaced for COMBO-BOX/SELECTION-LIST,
the search mode for EDITORtrue if the operation was successful.public logical replace(character newLabel, BaseDataType newValue, int listIndex)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newLabel - new item's labelnewValue - new item's valuelistIndex - index of the item to be replacedtrue if the operation was successful.public logical replace(java.lang.String newLabel, BaseDataType newValue, int listIndex)
replace in interface ReplaceInterfacereplace in class ControlSetEntity<RadioSetConfig>newLabel - new item's labelnewValue - new item's valuelistIndex - index of the item to be replacedtrue if the operation was successful.public void setSideLabelHandle(handle label)
setSideLabelHandle in interface CommonWidgetsetSideLabelHandle in class GenericWidget<RadioSetConfig>label - The handle to the text widget to be used as the side label of this widget.public handle getSideLabelHandle()
getSideLabelHandle in interface CommonWidgetgetSideLabelHandle in class GenericWidget<RadioSetConfig>public 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 CommonWidgetgetScreenValue in class GenericWidget<RadioSetConfig>character type or the empty
string if the screen buffer value is uninitialized.protected logical setEnabled(character label, boolean enabled)
label - New label of the button to be enabled.enabled - new 'enabled' statustrue if successfulprivate character getInitialValue()
protected int width(ControlSetItem[] items)
items - list of itemsprotected boolean resetSize(ControlSetItem[] items)
items - Array of new items.private void invalidArgument(java.lang.String attribute)
attribute - The name of the attribute that is invalid (in uppercase).protected int getItemIndex(character itemId)
getItemIndex in class ControlSetEntity<RadioSetConfig>itemId - Item's label or valuecharacter getScreenValue(boolean initialized, BaseDataType bdt, java.lang.String fmt, boolean ignoreFormat)
getScreenValue in class GenericWidget<RadioSetConfig>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.protected boolean isValidScreenValue(character value)
isValidScreenValue in class ControlSetEntity<RadioSetConfig>value - The tested valueboolean validateScreenValue(character value, character unparsedValue)
validateScreenValue in class ControlSetEntity<RadioSetConfig>value - The to be validated as SCREEN-VALUE attribute.unparsedValue - The value to be set via SCREEN-VALUE attribute before suffering parse changes.true if the value is a valid screen-value.private logical missingArgs()
private logical invalid3RdArg()