public interface CommonListWidget<T extends ControlSetConfig> extends CommonWidget
Modifier and Type | Method and Description |
---|---|
logical |
addFirst(character itemList)
Implements the ADD-FIRST() widget method, which adds a list of labels
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 list of labels
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 single label
and value pair to the end of the list.
|
logical |
addLast(character label,
java.lang.String value)
Implements the ADD-LAST() widget method, which adds a single label
and value pair 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 single label
and value pair 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 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.
|
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.
|
character |
getListItemPairs()
Gets the LIST-ITEM-PAIRS writeable attribute.
|
character |
getListItems()
Gets the LIST-ITEMS writeable attribute.
|
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 a new item before an existing one.
|
logical |
insert(character newLabel,
BaseDataType newValue,
int64 atIndex)
Implements the INSERT() widget method, which inserts a new item before an existing one.
|
logical |
insert(character newLabel,
BaseDataType newValue,
long atIndex)
Implements the INSERT() widget method, which inserts a new item before an existing one.
|
logical |
insert(character newLabel,
BaseDataType newValue,
java.lang.String beforeItem)
Implements the INSERT() widget method, which inserts a 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 a new item before an existing one.
|
logical |
insert(character newLabel,
java.lang.String newValue,
int64 atIndex)
Implements the INSERT() widget method, which inserts a new item before an existing one.
|
logical |
insert(character newLabel,
java.lang.String newValue,
long atIndex)
Implements the INSERT() widget method, which inserts a 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 a 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 a new item before an existing one.
|
logical |
insert(java.lang.String newLabel,
BaseDataType newValue,
int64 atIndex)
Implements the INSERT() widget method, which inserts a new item before an existing one.
|
logical |
insert(java.lang.String newLabel,
BaseDataType newValue,
long atIndex)
Implements the INSERT() widget method, which inserts a 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 a 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 a 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 a 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 a 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 a new item before an existing one.
|
integer |
lookup(character text)
Implements the LOOKUP() widget method.
|
integer |
lookup(java.lang.String text)
Implements the LOOKUP() widget method.
|
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)
Setter for the LIST-ITEMS writeable attribute.
|
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
character entry(int64 index)
index
- The index of an item.unknown value
.character entry(long index)
index
- The index of an item.unknown value
.integer lookup(character text)
text
- The text of an item.unknown value
.integer lookup(java.lang.String text)
text
- The text of an item.unknown value
.logical addFirst(character itemList)
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.logical addFirst(java.lang.String itemList)
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.logical addFirst(character label, BaseDataType value)
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.logical addFirst(java.lang.String label, BaseDataType value)
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.logical addFirst(character label, java.lang.String value)
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.logical addFirst(java.lang.String label, java.lang.String value)
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.logical addLast(character itemList)
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.logical addLast(java.lang.String itemList)
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.logical addLast(character label, BaseDataType value)
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.logical addLast(java.lang.String label, BaseDataType value)
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.logical addLast(character label, java.lang.String value)
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.logical addLast(java.lang.String label, java.lang.String value)
label
- The label of the item to add.value
- The value of the item to add.true
if the method succeeds.logical delete(character item)
item
- The item or items to delete.true
if the method succeeds.logical delete(java.lang.String item)
item
- The item or items to delete.true
if the method succeeds.logical delete(int64 idx)
idx
- The index of the item to delete.true
if the method succeeds.logical delete(long idx)
idx
- The index of the item to delete.true
if the method succeeds.logical insert(java.lang.String newItemList, java.lang.String beforeItem)
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.logical insert(character newItemList, java.lang.String beforeItem)
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.logical insert(java.lang.String newItemList, BaseDataType beforeItem)
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.logical insert(character newItemList, BaseDataType beforeItem)
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.logical insert(java.lang.String newItemList, long atIndex)
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.logical insert(character newItemList, long atIndex)
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.logical insert(java.lang.String newItemList, int64 atIndex)
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.logical insert(character newItemList, int64 atIndex)
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.logical insert(java.lang.String newLabel, java.lang.String newValue, java.lang.String beforeItem)
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.logical insert(java.lang.String newLabel, java.lang.String newValue, long atIndex)
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.logical insert(java.lang.String newLabel, java.lang.String newValue, BaseDataType beforeItem)
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.logical insert(java.lang.String newLabel, java.lang.String newValue, int64 atIndex)
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.logical insert(java.lang.String newLabel, BaseDataType newValue, java.lang.String beforeItem)
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.logical insert(java.lang.String newLabel, BaseDataType newValue, long atIndex)
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.logical insert(java.lang.String newLabel, BaseDataType newValue, BaseDataType beforeItem)
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.logical insert(java.lang.String newLabel, BaseDataType newValue, int64 atIndex)
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.logical insert(character newLabel, java.lang.String newValue, java.lang.String beforeItem)
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.logical insert(character newLabel, java.lang.String newValue, long atIndex)
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.logical insert(character newLabel, java.lang.String newValue, BaseDataType beforeItem)
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.logical insert(character newLabel, java.lang.String newValue, int64 atIndex)
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.logical insert(character newLabel, BaseDataType newValue, java.lang.String beforeItem)
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.logical insert(character newLabel, BaseDataType newValue, long atIndex)
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.logical insert(character newLabel, BaseDataType newValue, BaseDataType beforeItem)
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.logical insert(character newLabel, BaseDataType newValue, int64 atIndex)
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.void setItems(ControlSetItem[] items, boolean pairs)
items
- Array of new items.pairs
- true if LIST_ITEM_PAIRS, RADIO_BUTTONS is set
false if LIST_ITEMs IS setvoid setListItems(character list)
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.void setListItems(java.lang.String list)
list
- The new value for the LIST-ITEMS.void setListItemPairs(character list)
Example: Label1,value1,Label2,value2,...,LabelN,valueN
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.void setListItemPairs(java.lang.String list)
Example: Label1,value1,Label2,value2,...,LabelN,valueN
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.character getListItems()
character getListItemPairs()
character getDelimiter()
void setDelimiter(character value)
value
- The new value of DELIMITER attribute.void setDelimiter(java.lang.String value)
value
- The new value of DELIMITER attribute.void setHonorFormat(boolean b)
b
- If true
, the format string will be honored.