public interface SingleSelectList extends StylerItem
Modifier and Type | Interface and Description |
---|---|
static interface |
SingleSelectList.Activate
Called when a dialog user selects an entry with a single mouse click
or presses the spacebar on an already selected item.
|
static interface |
SingleSelectList.DoubleClick
Called when a dialog user double-clicks on an option or presses Return when an item is already selected.
|
StylerItem.ItemType
Modifier and Type | Method and Description |
---|---|
void |
addActivateHandler(SingleSelectList.Activate activateevent,
boolean isDialogLaunchingEvent)
Registers activate callback.
|
void |
addDoubleClickHandler(SingleSelectList.DoubleClick doubleclickevent,
boolean isDialogLaunchingEvent)
Registers double click callback.
|
void |
append(String[] multiEntries)
Appends one or more entries to be inserted into the list
License requirements: None. |
void |
deleteSubItem(int subItemIndex)
Requests a list entry to be deleted.
|
void |
deselectSubItem(int subItemIndex)
Requests a list entry to be deselected.
|
String[] |
getListItems()
Gets an array of character strings that are used as entries in the list.
|
int |
getSelectedIndexValue()
Gets selected index
License requirements: None. |
String |
getSelectedString()
Gets selected string
License requirements: None. |
boolean |
hasSelected()
Returns whether or not an item has been selected
License requirements: None. |
void |
insertSubItem(int subitemIndex,
String[] multiEntries)
Requests one or more entries to be inserted into the list.
|
boolean |
sensitivity()
Returns the sensitivity of the single select list
License requirements: None. |
void |
setFocus()
Indicates that this dialog item is receiving keyboard focus.
|
void |
setListItems(String[] itemVal)
Specifies an array of character strings that are used as entries in the list
License requirements: None. |
void |
setSelected(int subIndex)
Specifies particular list items to be selected
License requirements: None. |
void |
setSensitivity(boolean type)
Sets the sensitivity of the single select list
License requirements: None. |
void |
setVisibility(boolean type)
Sets the visibility of the single select list
License requirements: None. |
void |
showSubItem(int subItemIndex)
Requests that a list entry be scrolled up to the first line in the list
License requirements: None. |
boolean |
visibility()
Returns the visibility of the single select list
License requirements: None. |
getItemType, initializeAttachment, isEqualTo, setAttachment
_value, dispose, printTestData, printTestData
void addActivateHandler(SingleSelectList.Activate activateevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
activateevent
- isDialogLaunchingEvent
- NXException
RemoteException
void addDoubleClickHandler(SingleSelectList.DoubleClick doubleclickevent, boolean isDialogLaunchingEvent) throws NXException, RemoteException
UIStyler.Dialog#show
or UIStyler.Dialog#registerWithUiMenu
doubleclickevent
- isDialogLaunchingEvent
- NXException
RemoteException
void setSelected(int subIndex) throws NXException, RemoteException
subIndex
- Inndex of particular list items to be selectedNXException
RemoteException
void setListItems(String[] itemVal) throws NXException, RemoteException
itemVal
- An array of string items NXException
RemoteException
String[] getListItems() throws NXException, RemoteException
NXException
RemoteException
void setSensitivity(boolean type) throws NXException, RemoteException
type
- NXException
RemoteException
boolean sensitivity() throws NXException, RemoteException
NXException
RemoteException
void setVisibility(boolean type) throws NXException, RemoteException
type
- NXException
RemoteException
boolean visibility() throws NXException, RemoteException
NXException
RemoteException
void setFocus() throws NXException, RemoteException
NXException
RemoteException
void deselectSubItem(int subItemIndex) throws NXException, RemoteException
subItemIndex
- NXException
RemoteException
void insertSubItem(int subitemIndex, String[] multiEntries) throws NXException, RemoteException
subitemIndex
- Position index where the insertion should be made. If subitem_index equals UF_STYLER_NO_SUB_INDEX, then the new list entries are added to the bottom of the list.multiEntries
- An array of entry names to be inserted into the list. This field is used only when more than one entry are to be inserted into the list. NXException
RemoteException
void append(String[] multiEntries) throws NXException, RemoteException
multiEntries
- An array of entry names to be inserted into the list. This field is used only when more than one entry are to be inserted into the list. NXException
RemoteException
void deleteSubItem(int subItemIndex) throws NXException, RemoteException
subItemIndex
- Zero-based index of a list entry to be deleted. If subitem_index equals UF_STYLER_NO_SUB_INDEX, then all list entries are deleted.NXException
RemoteException
void showSubItem(int subItemIndex) throws NXException, RemoteException
subItemIndex
- Zero-based index of a list entry to be scrolled up to the first line of the list.NXException
RemoteException
int getSelectedIndexValue() throws NXException, RemoteException
NXException
RemoteException
String getSelectedString() throws NXException, RemoteException
NXException
RemoteException
boolean hasSelected() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.