| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
util.IEventListener --+
|
terminal.paintable.IPaintable --+
|
object --+ |
| |
terminal.variable_owner.IVariableOwner --+
|
object --+ |
| |
terminal.sizeable.ISizeable --+
|
component.IComponent --+
|
object --+ |
| |
event.method_event_source.IMethodEventSource --+
|
abstract_component.AbstractComponent --+
|
object --+ |
| |
data.buffered.IBuffered --+ |
| |
object --+ | |
| | |
data.validatable.IValidatable --+ |
| |
data.buffered.IBufferedValidatable --+ |
| |
object --+ | |
| | |
data.property.IValueChangeNotifier --+ |
| |
object --+ | |
| | |
data.property.IValueChangeListener --+ |
| |
object --+ | |
| | |
data.property.IViewer --+ | |
| | |
data.property.IEditor --+ |
| |
object --+ | |
| | |
util.IEventListener --+ | |
| | |
terminal.paintable.IPaintable --+ | |
| | |
object --+ | | |
| | | |
terminal.variable_owner.IVariableOwner --+ | |
| | |
object --+ | | |
| | | |
terminal.sizeable.ISizeable --+ | |
| | |
component.IComponent --+ | |
| | |
component.IFocusable --+ |
| |
field.IField --+
|
object --+ |
| |
event.action.IShortcutNotifier --+
|
object --+ |
| |
data.property.IReadOnlyStatusChangeNotifier --+
|
object --+ |
| |
data.property.IReadOnlyStatusChangeListener --+
|
abstract_field.AbstractField --+
|
object --+ |
| |
data.container.IContainer --+
|
object --+ |
| |
data.container.IViewer --+
|
object --+ |
| |
data.container.IPropertySetChangeListener --+
|
object --+ |
| |
data.container.IPropertySetChangeNotifier --+
|
object --+ |
| |
data.container.IItemSetChangeNotifier --+
|
object --+ |
| |
data.container.IItemSetChangeListener --+
|
abstract_select.AbstractSelect --+
|
object --+ |
| |
abstract_select.IFiltering --+
|
object --+ |
| |
event.field_events.IBlurNotifier --+
|
object --+ |
| |
event.field_events.IFocusNotifier --+
|
Select
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.
A Select component may be in single- or multiselect mode.
Multiselect mode means that more than one item can be selected
simultaneously.
Version: 1.1.2
|
|||
|
Inherited from |
|||
|
|||
CLIENT_WIDGET = Nonehash(x) |
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Creates an empty Select with caption, that is connected to a data-source or is filled from a collection of option values.
|
Paints the content of this component.
|
Returns the filtered options for the current page using a container filter. As a size effect, The current container must be IFilterable and IIndexed, and the filtering mode must be suitable for
container filtering (tested with Use getFilteredOptions and sanitetizeList if this is not the case.
|
Constructs a filter instance to use when using a IFilterable container
in the Note that the client side implementation expects the filter string to apply to the item caption string it sees, so changing the behavior of this method can cause problems. |
Lets the listener know a Containers IItem set has changed.
|
Makes correct sublist of given list of options. If paint is not an option request (affected by page or filter change), page will be the one where possible selection exists. Detects proper first and last item in list to return right page of options. Also, if the current page is beyond the end of the list, it will be adjusted.
|
Returns the index of the first item on the current page. The index is to the underlying (possibly filtered) contents. The null item, if any, does not have an index but takes up a slot on the first page.
|
Returns the index of the last item on the current page. The index is to the underlying (possibly filtered) contents. If needNullSelectOption is true, the null item takes up the first slot on the first page, effectively reducing the first page size by one.
|
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. There are no side effects but the adjusted page index is returned.
|
Filters the options in memory and returns the full filtered list. This can be less efficient than using container filters, so use getOptionsWithFilter if possible (filterable container and suitable item caption mode etc.). |
Invoked when the value of a variable has changed.
See Also:
|
Requests that the paintable should be repainted as soon as possible.
|
Sets the option filtering mode.
|
Gets the current filtering mode.
|
Note, one should use more generic setWidth(String) method instead of this. This now days actually converts columns to width with em css unit. Sets the number of columns in the editor. If the number of columns is set 0, the actual number of displayed columns is determined implicitly by the adapter.
Deprecated: |
Deprecated: see setter function |
Adds a new IProperty or IItem set change listener for this IContainer.
|
|
Removes a previously registered IProperty and IItemset change listener.
|
|
Sets the multiselect mode. Setting multiselect mode false may loose selection information: if selected items set contains one or more selected items, only one of the selected items is kept as selected.
Deprecated: use ListSelect, OptionGroup or TwinColSelect instead See Also: AbstractSelect.setMultiSelect |
Is the select in multiselect mode? In multiselect mode
Deprecated: use ListSelect, OptionGroup or TwinColSelect instead See Also: AbstractSelect.isMultiSelect |
Sets whether to scroll the selected item visible (directly open the page on which it is) when opening the combo box popup or not. Only applies to single select mode. This requires finding the index of the item, which can be expensive in many large lazy loading containers.
|
Returns true if the select should find the page with the selected item when opening the popup (single select combo box only).
See Also: setScrollToSelectedItem |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Jul 6 19:32:58 2013 | http://epydoc.sourceforge.net |