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>
,IChoiceParameterLinksModel<T,U>
,IChoiceParametersModel
,ICustomColorPaletteModel
,IEmfListAttribute<T,O>
,IEmfListSelectionModel<T,O>
,IEmfTreeToListSelectionModel<T,O>
,IMdChoiceParameterLinksModel
,IMobileApplicationUrlsModel
,IRequiredPermissionsModel
,ITimeScaleLevelsLinkModel
,IViewModelList<E>
- All Known Implementing Classes:
AbstractBmChoiceParametersModel
,AbstractEmfChoiceParametersModel
,BmChoiceParameterLinksModel
,BmConfigurationUsePurposesModel
,BmList
,BmListIRequiredPermissionsModel
,BmListMobileApplicationUrlsModel
,BmListSelectionModel
,BmTimeScaleLevelsLinkModel
,BmTreeToListSelectionModel
,DataExchangeModel
,EmfChoiceParameterLinksModel
,EmfCustomColorPaletteModel
,EmfList
,EmfListSelectionModel
,EmfTreeToListSelectionModel
,ListModel
,ListWorkingCopy
,NavigatorTableModel
,NavigatorTreeDialogActionBarBmList
,NavigatorTreeDialogActionBarEmfList
,PojoList
,StandardObjectChoiceParameterLinksModel
,StandardObjectChoiceParametersModel
,StandardObjectSwitchingSourceList
,ViewModelList
public interface IList<E> extends IModel, List<E>
The model of a list.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListListener(IListListener<E> listener)
Adds the list listener.IList<E>
createWorkingCopy()
void
fill(Collection<E> collection)
Clears the current stored list and adds all elements of the given collection to the stored list.boolean
isEqual(List<E> other)
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 Detail
-
fill
void fill(Collection<E> collection)
Clears the current stored list and adds all elements of the given collection to the stored list.- Parameters:
collection
- the collection to add.
-
isEqual
boolean isEqual(List<E> other)
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
void addListListener(IListListener<E> listener)
Adds the list listener.- Parameters:
listener
- the listener to add.
-
removeListListener
void removeListListener(IListListener<E> listener)
Removes the list listener.- Parameters:
listener
- the listener to remove.
-
createWorkingCopy
IList<E> createWorkingCopy()
- Specified by:
createWorkingCopy
in interfaceIModel
- Returns:
- the model working copy or
null
if working copies is not supported by the model.
-
-