Package com.iizix.prop
Interface ICodeItemsOwnerSelectionSupport
- All Superinterfaces:
- ICodeItemsOwner
- All Known Implementing Classes:
- EUIComboBox,- EUISpinner,- UIAbstractListChoice,- UIComboBox,- UISpinner
Interface implemented by the owner of the code items.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescriptionClear the selection.- intGets the first selected index.- default ICodeItemsOwnerSelectionSupportReturns the selection implementation if the owner supports it.- setSelection- (int index) Sets the selection as a single selected item at specified index.
- Method Details- getSelectionSupportReturns the selection implementation if the owner supports it.- Specified by:
- getSelectionSupportin interface- ICodeItemsOwner
- Returns:
- The selection instance for the owner, or null for no selection support.
 
- clearSelectionString clearSelection()Clear the selection.- Returns:
- null for success, otherwise the error message with the reason why it failed.
 
- getSelectedIndexint getSelectedIndex()Gets the first selected index.- Returns:
- The first index in the current selection, or -1 for none.
 
- setSelectionSets the selection as a single selected item at specified index.- Parameters:
- index- The single item to select at index, -1 to clear the selection.
- Returns:
- null for success, otherwise an error message why the selection failed.