Package com._1c.g5.aef2.models.list
Interface IList<E>
- All Superinterfaces:
Collection<E>
,IModel
,Iterable<E>
,IValidable
,List<E>
- All Known Subinterfaces:
IAbstractMobileApplicationUrlsModel<T>
,IAllowedIncomingShareRequestTypesModel
,ICharacteristicsTableModel
,IChoiceParameterLinksModel<T,
,U> IChoiceParametersModel
,ICustomColorPaletteModel
,IEmfListAttribute<T,
,O> IEmfListSelectionModel<T,
,O> IEmfTreeToListSelectionModel<T,
,O> IFormChoiceListModel
,IFormChoiceParameterLinksModel
,IFormCommandSetModel
,IFormList<T>
,IFormMobileCommandsSetModel
,IMdChoiceParameterLinksModel
,IMobileApplicationUrlsModel
,IPlannerDimensionsLinkModel
,IPredefinedAccountAccountingFlagsModel
,IPredefinedAccountExtDimensionTypesModel
,IPredefinedAccountPartModel<T>
,IRequiredPermissionsModel
,IStringKeyAndValuesModel
,IStyleModel
,ITimeScaleLabelSelectionModel
,ITimeScaleLevelsLinkModel
,IViewModelList<E>
- All Known Implementing Classes:
AbstractBmChoiceParametersModel
,AbstractDynamicTableModel
,AbstractEmfChoiceParametersModel
,BmCharacteristicsTableModel
,BmChoiceParameterLinksModel
,BmConfigurationUsePurposesModel
,BmFormCommandSetModel
,BmFunctionalOptionsListModel
,BmList
,BmListAllowedIncomingShareRequestTypesModel
,BmListIRequiredPermissionsModel
,BmListMobileApplicationUrlsModel
,BmListSelectionModel
,BmListStringKeyAndValuesModel
,BmPlannerDimensionsLinkModel
,BmStyleModel
,BmTimeScaleLabelSelectionModel
,BmTimeScaleLevelsLinkModel
,BmTreeToListSelectionModel
,CommonAttributesDataModel
,DataExchangeModel
,DataSeparatorSettingsModel
,EmfChoiceParameterLinksModel
,EmfCustomColorPaletteModel
,EmfList
,EmfListSelectionModel
,EmfTimeScaleLabelSelectionModel
,EmfTreeToListSelectionModel
,FormBmChoiceListModel
,FormBmChoiceParameterLinksModel
,FormBmList
,FormBmMobileCommandsSetModel
,FunctionalOptionsListGroupModel
,HttpServicesModel
,ListModel
,ListWorkingCopy
,NavigatorTableModel
,NavigatorTreeDialogActionBarBmList
,NavigatorTreeDialogActionBarEmfList
,PojoList
,PredefinedAccountAccountingFlagsModel
,PredefinedAccountExtDimensionTypesModel
,ReturnToModel
,StandardObjectChoiceParameterLinksModel
,StandardObjectChoiceParametersModel
,StandardObjectSwitchingSourceList
,ViewModelList
,WebServicesModel
The model of a list.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListListener
(IListListener<E> listener) Adds the list listener.void
fill
(Collection<E> collection) Clears the current stored list and adds all elements of the given collection to the stored list.boolean
Checks the list for equality with the current stored list.void
removeListListener
(IListListener<E> listener) Removes the list listener.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
fill
Clears the current stored list and adds all elements of the given collection to the stored list.- Parameters:
collection
- the collection to add.
-
isEqual
Checks the list for equality with the current stored list.- Parameters:
other
- the other list to check.- Returns:
true
if other list is equal to this list,false
otherwise.
-
addListListener
Adds the list listener.- Parameters:
listener
- the listener to add.
-
removeListListener
Removes the list listener.- Parameters:
listener
- the listener to remove.
-
createWorkingCopy
- Specified by:
createWorkingCopy
in interfaceIModel
- Returns:
- the model working copy or
null
if working copies is not supported by the model.
-