public abstract class ControlSetEntity<T extends ControlSetConfig> extends ControlEntity<T> implements CommonListWidget<T>, ReplaceInterface, Hoverable
Modifier and Type | Class and Description |
---|---|
protected static interface |
ControlSetEntity.BiPredicate<T,U>
Helper interface (is standard in Java 8.
|
private static interface |
ControlSetEntity.ItemsListByOneExpander
Helper interface for appending/prepending a new single item to a list
|
private static interface |
ControlSetEntity.ItemsListExpander
Helper interface for appending/prepending multiple items to a list
|
BaseEntity.CharsPixels
Modifier and Type | Field and Description |
---|---|
protected static ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> |
COMPARE_LABEL |
protected static ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> |
COMPARE_LABEL_IGNORE_CASE |
protected ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> |
COMPARE_VALUE_IGNORE_CASE |
protected static java.util.regex.Pattern |
LTRIM
leading spaces
|
protected static java.util.regex.Pattern |
RTRIM
trailing spaces
|
ALIGN_COLON, ALIGN_LEFT, ALIGN_RIGHT
group
config, deleted, frame
name, nextSibling, prevSibling
instProc
Constructor and Description |
---|
ControlSetEntity(boolean dynamic,
T csc)
Construct an instance using the given configuration.
|
Modifier and Type | Method and Description |
---|---|
protected logical |
add(character label,
BaseDataType value,
ControlSetEntity.ItemsListByOneExpander expander)
Helper method: append/prepend item to config.items
|
protected logical |
add(java.lang.String itemList,
ControlSetEntity.ItemsListExpander expander)
Helper method: append/prepend items to config.items
|
logical |
addFirst(character itemList)
Implements the ADD-FIRST() widget method, which adds a single label
and value pair to the beginning of the list.
|
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 |
addFirst(character label,
java.lang.String value)
Implements the ADD-FIRST() widget method, which adds a single label
and value pair to the beginning of the list.
|
logical |
addFirst(java.lang.String itemList)
Implements the ADD-FIRST() widget method, which adds a single label
and value pair to the beginning of the list.
|
logical |
addFirst(java.lang.String label,
BaseDataType value)
Implements the ADD-FIRST() widget method, which adds a single label
and value pair to the beginning of the list.
|
logical |
addFirst(java.lang.String label,
java.lang.String value)
Implements the ADD-FIRST() widget method, which adds a single label
and value pair to the beginning of the list.
|
logical |
addLast(character itemList)
Implements the ADD-LAST() widget method, which adds a list of labels
to the end of the list.
|
logical |
addLast(character label,
BaseDataType value)
Implements the ADD-LAST() widget method, which adds a list of labels
to the end of the list.
|
logical |
addLast(character label,
java.lang.String value)
Implements the ADD-LAST() widget method, which adds a list of labels
to the end of the list.
|
logical |
addLast(java.lang.String itemList)
Implements the ADD-LAST() widget method, which adds a list of labels
to the end of the list.
|
logical |
addLast(java.lang.String label,
BaseDataType value)
Implements the ADD-LAST() widget method, which adds a list of labels
to the end of the list.
|
logical |
addLast(java.lang.String label,
java.lang.String value)
Implements the ADD-LAST() widget method, which adds a list of labels
to the end of the list.
|
private java.util.List<ControlSetItem> |
asList(ControlSetItem[] items)
Convert the given array to a list that is modifiable.
|
protected boolean |
checkIfNotPairs(java.lang.String attr)
Check if a label only item is acceptable
|
protected BaseDataType |
checkValue(java.lang.String attr,
character label,
BaseDataType value)
Check if a label/value item is acceptable.
|
protected ControlSetItem |
controlSetItem(character label,
BaseDataType value)
Create new ControlSetItem
|
private ControlSetItem |
controlSetItem(java.lang.String s)
Create new ControlSetItem with value == lable
|
protected logical |
delete(character itemList,
ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> checkItem,
boolean checkAll)
Helper method for 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.
|
protected logical |
delete(java.util.List<java.lang.String> itemList,
ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> checkValue,
boolean checkAll)
Helper method for the DELETE() widget method, which removes the list item
or items specified.
|
logical |
delete(long idx)
Implements the DELETE() widget method, which removes the list item at the given index.
|
protected logical |
delete(java.lang.String itemList,
ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> checkItem,
boolean checkAll)
Helper method for the DELETE() widget method, which removes the list item
or items specified.
|
character |
entry(int64 index)
Implements the ENTRY() widget method.
|
character |
entry(long index)
Implements the ENTRY() widget method.
|
character |
getDelimiter()
Gets the DELIMITER writeable attribute.
|
protected int |
getItemIndex(character itemId)
Get an item index, enumerated from 1.
|
character |
getListItemPairs()
Gets the LIST-ITEM-PAIRS writeable attribute.
|
character |
getListItems()
Gets the LIST-ITEMS writeable attribute.
|
java.lang.String |
getMousePointerImpl()
Get the MOUSE-POINTER attribute
|
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 the COMBO-BOX)
|
logical |
insert(character newItemList,
BaseDataType beforeItem)
Implements the INSERT() widget method, which inserts a set of new items before an
existing one.
|
logical |
insert(character newLabel,
BaseDataType newValue,
BaseDataType beforeItem)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(character newLabel,
BaseDataType newValue,
int64 atIndex)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(character newLabel,
BaseDataType newValue,
long atIndex)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(character newLabel,
BaseDataType newValue,
java.lang.String beforeItem)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(character newItemList,
int64 atIndex)
Implements the INSERT() widget method, which inserts a set of new items before an
existing one.
|
logical |
insert(character newItemList,
long atIndex)
Implements the INSERT() widget method, which inserts a set of new items before an
existing one.
|
logical |
insert(character newItemList,
java.lang.String beforeItem)
Implements the INSERT() widget method, which inserts a set of new items before an
existing one.
|
logical |
insert(character newLabel,
java.lang.String newValue,
BaseDataType beforeItem)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(character newLabel,
java.lang.String newValue,
int64 atIndex)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(character newLabel,
java.lang.String newValue,
long atIndex)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(character newLabel,
java.lang.String newValue,
java.lang.String beforeItem)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(java.lang.String newItemList,
BaseDataType beforeItem)
Implements the INSERT() widget method, which inserts a set of new items before an
existing one.
|
logical |
insert(java.lang.String newLabel,
BaseDataType newValue,
BaseDataType beforeItem)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(java.lang.String newLabel,
BaseDataType newValue,
int64 atIndex)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(java.lang.String newLabel,
BaseDataType newValue,
long atIndex)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(java.lang.String newLabel,
BaseDataType newValue,
java.lang.String beforeItem)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(java.lang.String newItemList,
int64 atIndex)
Implements the INSERT() widget method, which inserts a set of new items before an
existing one.
|
logical |
insert(java.lang.String newItemList,
long atIndex)
Implements the INSERT() widget method, which inserts a set of new items before an
existing one.
|
logical |
insert(java.lang.String newItemList,
java.lang.String beforeItem)
Implements the INSERT() widget method, which inserts a set of new items before an
existing one.
|
logical |
insert(java.lang.String newLabel,
java.lang.String newValue,
BaseDataType beforeItem)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(java.lang.String newLabel,
java.lang.String newValue,
int64 atIndex)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(java.lang.String newLabel,
java.lang.String newValue,
long atIndex)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
logical |
insert(java.lang.String newLabel,
java.lang.String newValue,
java.lang.String beforeItem)
Implements the INSERT() widget method, which inserts an new item before an existing one.
|
protected boolean |
invalid(character label,
BaseDataType value)
Checks if a (label,value) pair is
not acceptable for the widget
(("?","?") for the COMBO-BOX)
|
logical |
isSort()
Get SORT attribute.
|
protected int |
itemIndex(java.lang.String listItemId,
ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> checkValue)
Returns a zero based item index.
|
integer |
lookup(character text)
Implements the LOOKUP() widget method.
|
integer |
lookup(java.lang.String text)
Implements the LOOKUP() widget method.
|
protected java.lang.Boolean |
pairs()
Get type of the list
|
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 newLabel,
BaseDataType newValue,
java.lang.String 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 newItemList,
character listItem)
REPLACE(REPLACE (new-item-list, list-item )) method
(for COMBO-BOX and SELECTION-LIST)
|
logical |
replace(character from,
character to,
int flag)
.
|
logical |
replace(character from,
character to,
integer flag)
.
|
logical |
replace(character newItemList,
int listIndex)
REPLACE (new-item-list, list-index ) method
(for COMBO-BOX and SELECTION-LIST)
|
logical |
replace(character newItemList,
integer listIndex)
REPLACE (new-item-list, list-index ) method
(for COMBO-BOX and SELECTION-LIST)
|
logical |
replace(character newItemList,
java.lang.String listItem)
REPLACE(REPLACE (new-item-list, list-item )) method
(for COMBO-BOX and SELECTION-LIST)
|
logical |
replace(character newLabel,
java.lang.String 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 from,
java.lang.String to,
int flag)
.
|
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(character newLabel,
java.lang.String newValue,
java.lang.String 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(java.lang.String 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(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 newLabel,
BaseDataType newValue,
java.lang.String 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(java.lang.String newItemList,
character listItem)
REPLACE(REPLACE (new-item-list, list-item )) method
(for COMBO-BOX and SELECTION-LIST)
|
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)
|
logical |
replace(java.lang.String newItemList,
integer listIndex)
REPLACE (new-item-list, list-index ) method
(for COMBO-BOX and SELECTION-LIST)
|
logical |
replace(java.lang.String newItemList,
java.lang.String listItem)
REPLACE(REPLACE (new-item-list, list-item )) method
(for COMBO-BOX and SELECTION-LIST)
|
logical |
replace(java.lang.String newLabel,
java.lang.String 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(java.lang.String arg0,
java.lang.String arg1,
int 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 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,
java.lang.String newValue,
java.lang.String 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
|
void |
setDelimiter(character value)
Sets the DELIMITER writeable attribute.
|
void |
setDelimiter(java.lang.String value)
Sets the DELIMITER writeable attribute.
|
void |
setHonorFormat(boolean b)
Tell widget that data format should be honored.
|
void |
setItems(ControlSetItem[] items,
boolean pairs)
Store array of items into config.
|
void |
setListItemPairs(character list)
Common implementation list item pair attributes (LIST-ITEM-PAIRS and
RADIO-BUTTONS) attribute.
|
void |
setListItemPairs(java.lang.String list)
Common implementation list item pair attributes (LIST-ITEM-PAIRS and
RADIO-BUTTONS) attribute.
|
void |
setListItems(character list)
Sets the LIST-ITEMS writeable attribute.
|
void |
setListItems(java.lang.String list)
Sets the LIST-ITEMS writeable attribute.
|
void |
setMousePointerName(java.lang.String name)
Set the MOUSE-POINTER attribute
|
void |
setSort(boolean sort)
Set SORT attribute.
|
void |
setSort(logical sort)
Set SORT attribute.
|
private void |
sortItems()
Sort items according to current sort flag.
|
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.
|
protected void |
useListItemPairs(boolean getter)
Emits warning about incorrect access to the LIST-ITEMS attribute
|
protected void |
useListItems(boolean getter)
Emits warning about incorrect access to the LIST-ITEM-PAIRS attribute
|
changeFontWorker, getColon, getDataClass, getDataType, getIndex, getNextTabItem, getSideLabelHandle, getTitle, hasSideLabelHandle, isAutoResize, isDropTarget, isModified, 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
canSetPixelPositionInChui, getBgColor, getColumn, getDColor, getFgColor, getFont, getFrameColumn, getFrameRow, getFrameX, getFrameY, getHeightChars, getHeightPixels, getNextSibling, getParent, getParent, getPfColor, getPrevSibling, getRow, getTooltip, getValidParentTypes, getWidthChars, getWidthPixels, getX, getY, isMovable, isResizable, isSelected, isTabStop, prepareSizeChars, prepareSizePixels, setAlign, setBgColor, setBgColor, setBgColor, setColon, setColon, setColumn, setColumn, setColumnOrRow, setColumnOrRowWorker, setDColor, setDColor, setDColor, setFgColor, setFgColor, setFgColor, setFont, setGroup, setHeightChars, setHeightChars, setHeightPixels, setHeightPixels, 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, 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, disable, dynamic, enable, finishConfigProcessing, finishSetup, getColumnFont, getColumnLabel, getContextHelpId, getConvert3D, getCursorOffset, getDbName, getFirstTabItem, getFormat, getFrame, getFrameHandle, getHelp, getHWND, getId, getLabel, getLabelFont, getLabelStr, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNumColumns, getNumSelectedRows, getParentHandle, getPopupMenu, getPreviousTabItem, getQuery, getRetainShape, getScreenValue, getScreenValue, getStretchToFit, getTable, getTitleFont, getTransparent, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWindow, hasNameReadOnly, hasParent, hide, hide, implicitDeletion, inputValue, isChained, isChecked, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isMultiple, isNotEntered, isReadOnly, isScrollable, isSelectable, isSelected, isSelected, isSensitive, isTextSelected, 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, notSettable, notWorker, preRealizeCheck, pushScreenDefinition, readOnlyError, realize, refresh, resourceDelete, selectAll, selectFocusedRow, setAtFormatLength, setAutoReturn, setBlank, setChecked, setChecked, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setConvert3D, setConvert3D, setCursorOffset, setCursorOffset, setDbname, setDeblank, setDisableAutoZap, setFirstTabItem, setFont, setFormat, setFormat, setFrame, 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, setReadOnly, setRetainShape, setRetainShape, setScreenLock, setScreenValue, 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, validateLayout, view, widgetName
delete, firstResource, firstResource, getHead, getNextSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNextSibling, hasPrevSibling, hasPrivateData, interlink, lastResource, lastResource, 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
delete, delete
apply, apply, apply, apply, asWidgetHandle, colorDisplay, colorPrompt, deselectRows, disable, enable, getBgColor, getColumn, getColumnFont, getContextHelpId, getCursorOffset, getDColor, getFgColor, getFirstTabItem, getFont, getFrame, getFrameColumn, getFrameHandle, getFrameRow, getFrameX, getFrameY, getHelp, getHWND, getId, getLabelFont, getLabelStr, getMaxHeightChars, getMaxWidthChars, getMenuKey, getMenuMouse, getMousePointer, getMousePosition, getNextTabItem, getNumColumns, getNumSelectedRows, getParent, getParentHandle, getPfColor, getPopupMenu, getPreviousTabItem, getQuery, getRow, getScreenValue, getSideLabelHandle, getTitle, getTitleFont, getTooltip, getVirtHeight, getVirtHeightPixels, getVirtWidth, getVirtWidthPixels, getWidgetId, getWindow, hide, hide, inputValue, isAutoResize, isChecked, isEntered, isFocusedRowSelected, isHidden, isKeepFrameZOrder, isManualHighlight, isModified, isMovable, isMultiple, isNotEntered, isReadOnly, 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, setAutoReturn, setBgColor, setBlank, setChecked, setChecked, setColumn, setColumn, setColumnFont, setColumnFont, setContextHelpId, setContextHelpId, setCursorOffset, setCursorOffset, setDColor, setDColor, setDeblank, setDisableAutoZap, setFgColor, setFirstTabItem, setFont, setFont, setFormat, setFrame, 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, setReadOnly, 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
getHeightChars, getHeightPixels, getWidthChars, getWidthPixels, setHeightChars, setHeightChars, setHeightPixels, setHeightPixels, 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
protected static final ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> COMPARE_LABEL
protected static final ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> COMPARE_LABEL_IGNORE_CASE
protected final ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> COMPARE_VALUE_IGNORE_CASE
protected static final java.util.regex.Pattern RTRIM
protected static final java.util.regex.Pattern LTRIM
public ControlSetEntity(boolean dynamic, T csc)
dynamic
- Flag indicating if this is a static or dynamic resource.csc
- Source configuration.public character entry(int64 index)
entry
in interface CommonListWidget<T extends ControlSetConfig>
index
- The index of an item.unknown value
.public character entry(long index)
entry
in interface CommonListWidget<T extends ControlSetConfig>
index
- The index of an item.unknown value
.public integer lookup(character text)
lookup
in interface CommonListWidget<T extends ControlSetConfig>
text
- The text of an item.unknown value
.public integer lookup(java.lang.String text)
lookup
in interface CommonListWidget<T extends ControlSetConfig>
text
- The text of an item.unknown value
.public logical addFirst(character itemList)
addFirst
in interface CommonListWidget<T extends ControlSetConfig>
itemList
- A list of delimited items using the configured delimiter for
this widget (a comma by default) to split the items.true
if the method succeeds.public logical addFirst(java.lang.String itemList)
addFirst
in interface CommonListWidget<T extends ControlSetConfig>
itemList
- A list of delimited items using the configured delimiter for
this widget (a comma by default) to split the items.true
if the method succeeds.public logical addFirst(character label, BaseDataType value)
addFirst
in interface CommonListWidget<T extends ControlSetConfig>
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.public logical addFirst(java.lang.String label, BaseDataType value)
addFirst
in interface CommonListWidget<T extends ControlSetConfig>
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.public logical addFirst(java.lang.String label, java.lang.String value)
addFirst
in interface CommonListWidget<T extends ControlSetConfig>
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.public logical addFirst(character label, java.lang.String value)
addFirst
in interface CommonListWidget<T extends ControlSetConfig>
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.public logical addLast(character itemList)
addLast
in interface CommonListWidget<T extends ControlSetConfig>
itemList
- A list of delimited items using the configured delimiter for
this widget (a comma by default) to split the items.true
if the method succeeds.public logical addLast(java.lang.String itemList)
addLast
in interface CommonListWidget<T extends ControlSetConfig>
itemList
- A list of delimited items using the configured delimiter for
this widget (a comma by default) to split the items.true
if the method succeeds.public logical addLast(character label, BaseDataType value)
addLast
in interface CommonListWidget<T extends ControlSetConfig>
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.public logical addLast(java.lang.String label, BaseDataType value)
addLast
in interface CommonListWidget<T extends ControlSetConfig>
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.public logical addLast(character label, java.lang.String value)
addLast
in interface CommonListWidget<T extends ControlSetConfig>
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.public logical addLast(java.lang.String label, java.lang.String value)
addLast
in interface CommonListWidget<T extends ControlSetConfig>
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.public logical insert(java.lang.String newItemList, java.lang.String beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newItemList
- The list of items to be inserted. May contain a single item or a list of items
delimiter-separated.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(character newItemList, java.lang.String beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newItemList
- The list of items to be inserted. May contain a single item or a list of items
delimiter-separated.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newItemList, BaseDataType beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newItemList
- The list of items to be inserted. May contain a single item or a list of items
delimiter-separated.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(character newItemList, BaseDataType beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newItemList
- The list of items to be inserted. May contain a single item or a list of items
delimiter-separated.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newItemList, long atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newItemList
- The list of items to be inserted. May contain a single item or a list of items
delimiter-separated.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(character newItemList, long atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newItemList
- The list of items to be inserted. May contain a single item or a list of items
delimiter-separated.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newItemList, int64 atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newItemList
- The list of items to be inserted. May contain a single item or a list of items
delimiter-separated.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(character newItemList, int64 atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newItemList
- The list of items to be inserted. May contain a single item or a list of items
delimiter-separated.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newLabel, java.lang.String newValue, java.lang.String beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newLabel, java.lang.String newValue, long atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newLabel, java.lang.String newValue, BaseDataType beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newLabel, java.lang.String newValue, int64 atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newLabel, BaseDataType newValue, java.lang.String beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newLabel, BaseDataType newValue, long atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newLabel, BaseDataType newValue, BaseDataType beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(java.lang.String newLabel, BaseDataType newValue, int64 atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(character newLabel, java.lang.String newValue, java.lang.String beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(character newLabel, java.lang.String newValue, long atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(character newLabel, java.lang.String newValue, BaseDataType beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(character newLabel, java.lang.String newValue, int64 atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(character newLabel, BaseDataType newValue, java.lang.String beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(character newLabel, BaseDataType newValue, long atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical insert(character newLabel, BaseDataType newValue, BaseDataType beforeItem)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.beforeItem
- The existing item the new item is inserted before.true
if the method succeeds.public logical insert(character newLabel, BaseDataType newValue, int64 atIndex)
insert
in interface CommonListWidget<T extends ControlSetConfig>
newLabel
- The new item's label.newValue
- The new item's value.atIndex
- The index's item the new item is inserted before.true
if the method succeeds.public logical delete(int64 idx)
delete
in interface CommonListWidget<T extends ControlSetConfig>
idx
- The index of the item to delete.true
if the method succeeds.public logical delete(long idx)
delete
in interface CommonListWidget<T extends ControlSetConfig>
idx
- The index of the item to delete.true
if the method succeeds.public void setItems(ControlSetItem[] items, boolean pairs)
setItems
in interface CommonListWidget<T extends ControlSetConfig>
items
- Array of new items.pairs
- true
if LIST_ITEM_PAIRS, RADIO_BUTTONS is set false if LIST_ITEMs is set.public void setSort(logical sort)
sort
- New value for the attribute.public void setSort(boolean sort)
sort
- New value for the attribute.public logical isSort()
public void setListItems(character list)
setListItems
in interface CommonListWidget<T extends ControlSetConfig>
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.public void setListItems(java.lang.String list)
setListItems
in interface CommonListWidget<T extends ControlSetConfig>
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.public void setListItemPairs(java.lang.String list)
Example: Label1,value1,Label2,value2,...,LabelN,valueN
setListItemPairs
in interface CommonListWidget<T extends ControlSetConfig>
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.public void setListItemPairs(character list)
Example: Label1,value1,Label2,value2,...,LabelN,valueN
setListItemPairs
in interface CommonListWidget<T extends ControlSetConfig>
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.public character getListItems()
getListItems
in interface CommonListWidget<T extends ControlSetConfig>
public character getListItemPairs()
getListItemPairs
in interface CommonListWidget<T extends ControlSetConfig>
public void setHonorFormat(boolean b)
setHonorFormat
in interface CommonListWidget<T extends ControlSetConfig>
b
- If true
, the format string will be honored.public character getDelimiter()
getDelimiter
in interface CommonListWidget<T extends ControlSetConfig>
public void setDelimiter(character value)
setDelimiter
in interface CommonListWidget<T extends ControlSetConfig>
value
- The new value of DELIMITER attribute.public void setDelimiter(java.lang.String value)
setDelimiter
in interface CommonListWidget<T extends ControlSetConfig>
value
- The new value of DELIMITER attribute.public logical replace(character from, character to, integer flag)
replace
in interface ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
from
- The source text.to
- The replacement text.flag
- the search modetrue
if the operation was successful.public logical replace(java.lang.String arg0, java.lang.String arg1, integer arg2)
replace
in interface ReplaceInterface
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(java.lang.String arg0, java.lang.String arg1, int arg2)
replace
in interface ReplaceInterface
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 newItemList, character listItem)
replace
in interface ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
newItemList
- new item listlistItem
- old item's valuetrue
if the operation was successful.public logical replace(character newItemList, integer listIndex)
replace
in interface ReplaceInterface
newItemList
- new item listlistIndex
- old item's indextrue
if the operation was successful.public logical replace(character newItemList, int listIndex)
replace
in interface ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
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(java.lang.String newLabel, BaseDataType newValue, character oldItem)
replace
in interface ReplaceInterface
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, java.lang.String newValue, character oldItem)
replace
in interface ReplaceInterface
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(java.lang.String newLabel, java.lang.String newValue, character oldItem)
replace
in interface ReplaceInterface
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, java.lang.String oldItem)
replace
in interface ReplaceInterface
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(java.lang.String newLabel, BaseDataType newValue, java.lang.String oldItem)
replace
in interface ReplaceInterface
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, java.lang.String newValue, java.lang.String oldItem)
replace
in interface ReplaceInterface
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(java.lang.String newLabel, java.lang.String newValue, java.lang.String oldItem)
replace
in interface ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
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 ReplaceInterface
newLabel
- new item's labelnewValue
- new item's valuelistIndex
- index of the item to be replacedtrue
if the operation was successful.public void setMousePointerName(java.lang.String name)
setMousePointerName
in interface Hoverable
name
- the attribute valuepublic java.lang.String getMousePointerImpl()
getMousePointerImpl
in interface Hoverable
protected logical add(character label, BaseDataType value, ControlSetEntity.ItemsListByOneExpander expander)
label
- label of item to addvalue
- value of item to addexpander
- expander which will perform append/prependtrue
if the method succeeds.protected logical add(java.lang.String itemList, ControlSetEntity.ItemsListExpander expander)
itemList
- items to addexpander
- expander which will perform append/prependtrue
if the method succeeds.protected ControlSetItem controlSetItem(character label, BaseDataType value)
label
- item' labelvalue
- item's valueprotected logical delete(character itemList, ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> checkItem, boolean checkAll)
itemList
- The item or items to delete.checkItem
- The predicate for selection items to delete.checkAll
- return TRUE only if all items where foundtrue
if the method succeeds.protected logical delete(java.lang.String itemList, ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> checkItem, boolean checkAll)
itemList
- The item or items to delete.checkItem
- The predicate for selection items to delete.checkAll
- return TRUE only if all items where foundtrue
if the method succeeds.protected logical delete(java.util.List<java.lang.String> itemList, ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> checkValue, boolean checkAll)
itemList
- The List of items to delete.checkAll
- return TRUE only if all items where foundtrue
if the method succeeds.protected int itemIndex(java.lang.String listItemId, ControlSetEntity.BiPredicate<java.lang.String,ControlSetItem> checkValue)
listItemId
- Item's label or valuecheckValue
- The predicate for selecting item.protected boolean checkIfNotPairs(java.lang.String attr)
attr
- the attribute in questiontrue
if it is OK.protected BaseDataType checkValue(java.lang.String attr, character label, BaseDataType value)
attr
- the attribute in questionlabel
- item's labelvalue
- item's valuetrue
if it is OK.protected java.lang.String truncateValue(java.lang.String value)
value
- the string to be truncatedprotected BaseDataType truncateValue(BaseDataType value)
value
- the BaseDataType to be truncatedprotected ControlSetItem[] truncateValues(ControlSetItem[] items)
items
- items to be processedprotected boolean invalid(character label, BaseDataType value)
label
- label to be checkedvalue
- value to be checkedtrue
if the value should be ignoredprotected boolean ignore(java.lang.String value)
value
- value to be checkedtrue
if the value should be ignoredprotected java.lang.Boolean pairs()
protected boolean ignore(BaseDataType value)
value
- - value to be checkedtrue
if the value should be ignoredprotected void useListItemPairs(boolean getter)
getter
- specifies if it was a read accessprotected int getItemIndex(character itemId)
itemId
- Item's label or valueprotected void useListItems(boolean getter)
getter
- specifies if it was a read accessprivate ControlSetItem controlSetItem(java.lang.String s)
s
- label and value of the itemprivate java.util.List<ControlSetItem> asList(ControlSetItem[] items)
Arrays.asList()
method does NOT return a modifiable list.items
- The array to be converted.private void sortItems()