A class representing a selection of items the user has selected in a
UI. The set of choices is presented as a set of IItems in a IContainer.
|
__init__(self,
*args)
Creates an empty Select with caption, that is connected to a
data-source or is filled from a collection of option values. |
source code
|
|
|
|
|
|
|
buildFilter(self,
filterString,
filteringMode)
Constructs a filter instance to use when using a IFilterable
container in the ITEM_CAPTION_MODE_PROPERTY mode. |
source code
|
|
|
|
|
|
|
|
|
|
|
adjustCurrentPage(self,
page,
needNullSelectOption,
indexToEnsureInView,
size)
Adjusts the index of the current page if necessary: make sure the
current page is not after the end of the contents, and optionally go
to the page containing a specific item. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setColumns(self,
columns)
Note, one should use more generic setWidth(String) method instead of
this. |
source code
|
|
|
|
|
addListener(self,
listener,
iface=None)
Adds a new IProperty or IItem set change listener for this
IContainer. |
source code
|
|
|
|
|
removeListener(self,
listener,
iface=None)
Removes a previously registered IProperty and IItemset change
listener. |
source code
|
|
|
|
|
|
|
|
|
setScrollToSelectedItem(self,
scrollToSelectedItem)
Sets whether to scroll the selected item visible (directly open the
page on which it is) when opening the combo box popup or not. |
source code
|
|
|
isScrollToSelectedItem(self)
Returns true if the select should find the page with the selected
item when opening the popup (single select combo box only). |
source code
|
|
Inherited from abstract_select.AbstractSelect :
__len__ ,
addContainerProperty ,
addItem ,
attach ,
containerPropertySetChange ,
containsId ,
detach ,
fireItemSetChange ,
firePropertySetChange ,
getCaptionChangeListener ,
getContainerDataSource ,
getContainerProperty ,
getContainerPropertyIds ,
getItem ,
getItemCaption ,
getItemCaptionMode ,
getItemCaptionPropertyId ,
getItemIcon ,
getItemIconPropertyId ,
getItemIds ,
getListeners ,
getNewItemHandler ,
getNullSelectionItemId ,
getType ,
getValue ,
getVisibleItemIds ,
isEmpty ,
isNewItemsAllowed ,
isNullSelectionAllowed ,
isSelected ,
paintItem ,
removeAllItems ,
removeContainerProperty ,
removeItem ,
select ,
setContainerDataSource ,
setItemCaption ,
setItemCaptionMode ,
setItemCaptionPropertyId ,
setItemIcon ,
setItemIconPropertyId ,
setNewItemHandler ,
setNewItemsAllowed ,
setNullSelectionAllowed ,
setNullSelectionItemId ,
setValue ,
size ,
unselect
Inherited from abstract_field.AbstractField :
__str__ ,
addShortcutListener ,
addValidator ,
commit ,
discard ,
fireReadOnlyStatusChange ,
fireValueChange ,
focus ,
getActionManager ,
getErrorMessage ,
getPropertyDataSource ,
getRequiredError ,
getTabIndex ,
getValidators ,
isInvalidAllowed ,
isInvalidCommitted ,
isModified ,
isReadOnly ,
isReadThrough ,
isRequired ,
isValid ,
isValidationVisible ,
isWriteThrough ,
readOnlyStatusChange ,
readValueFromProperty ,
removeShortcutListener ,
removeValidator ,
setCurrentBufferedSourceException ,
setInternalValue ,
setInvalidAllowed ,
setInvalidCommitted ,
setPropertyDataSource ,
setReadOnly ,
setReadThrough ,
setRequired ,
setRequiredError ,
setTabIndex ,
setValidationVisible ,
setWriteThrough ,
shouldHideErrors ,
validate ,
valueChange
Inherited from abstract_component.AbstractComponent :
__getstate__ ,
__setstate__ ,
addStyleName ,
childRequestedRepaint ,
fireComponentErrorEvent ,
fireComponentEvent ,
fireEvent ,
fireRequestRepaintEvent ,
getApplication ,
getCSSHeight ,
getCSSWidth ,
getCaption ,
getComponentError ,
getData ,
getDebugId ,
getDescription ,
getErrorHandler ,
getHeight ,
getHeightUnits ,
getIcon ,
getLocale ,
getParent ,
getStyle ,
getStyleName ,
getWidth ,
getWidthUnits ,
getWindow ,
handleError ,
hasListeners ,
isEnabled ,
isImmediate ,
isVisible ,
paint ,
parseStringSize ,
registerCallback ,
registerListener ,
removeStyleName ,
requestRepaintRequests ,
setCaption ,
setComponentError ,
setData ,
setDebugId ,
setDescription ,
setEnabled ,
setErrorHandler ,
setHeight ,
setHeightUnits ,
setIcon ,
setImmediate ,
setLocale ,
setParent ,
setSizeFull ,
setSizeUndefined ,
setStyle ,
setStyleName ,
setVisible ,
setWidth ,
setWidthUnits ,
withdrawCallback ,
withdrawListener
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|