public class CollectionView extends DispatcherObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Data.CollectionView
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Data.CollectionView
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CollectionView() |
CollectionView(IEnumerable collection)
Initializes a new instance by invoking the .NET constructor.
|
CollectionView(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCurrentChanged(EventHandler handler)
Invokes the .NET member addCurrentChanged.
|
void |
addCurrentChanging(CurrentChangingEventHandler handler)
Invokes the .NET member addCurrentChanging.
|
static CollectionView |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CollectionView, a cast assert is made to check if types are compatible. |
boolean |
Contains(NetObject item)
Invokes the .NET member Contains.
|
IDisposable |
DeferRefresh()
Invokes the .NET member DeferRefresh.
|
void |
DetachFromSourceCollection()
Invokes the .NET member DetachFromSourceCollection.
|
boolean |
getCanFilter()
Gets the value of the .NET property CanFilter.
|
boolean |
getCanGroup()
Gets the value of the .NET property CanGroup.
|
boolean |
getCanSort()
Gets the value of the .NET property CanSort.
|
IComparer |
getComparer()
Gets the value of the .NET property Comparer.
|
int |
getCount()
Gets the value of the .NET property Count.
|
CultureInfo |
getCulture()
Gets the value of the .NET property Culture.
|
NetObject |
getCurrentItem()
Gets the value of the .NET property CurrentItem.
|
int |
getCurrentPosition()
Gets the value of the .NET property CurrentPosition.
|
Predicate_1 |
getFilter()
Gets the value of the .NET property Filter.
|
ObservableCollection_1 |
getGroupDescriptions()
Gets the value of the .NET property GroupDescriptions.
|
ReadOnlyObservableCollection_1 |
getGroups()
Gets the value of the .NET property Groups.
|
boolean |
getIsCurrentAfterLast()
Gets the value of the .NET property IsCurrentAfterLast.
|
boolean |
getIsCurrentBeforeFirst()
Gets the value of the .NET property IsCurrentBeforeFirst.
|
boolean |
getIsEmpty()
Gets the value of the .NET property IsEmpty.
|
boolean |
getIsInUse()
Gets the value of the .NET property IsInUse.
|
NetObject |
GetItemAt(int index)
Invokes the .NET member GetItemAt.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getNeedsRefresh()
Gets the value of the .NET property NeedsRefresh.
|
static NetObject |
getNewItemPlaceholder()
Gets the value of the .NET property NewItemPlaceholder.
|
SortDescriptionCollection |
getSortDescriptions()
Gets the value of the .NET property SortDescriptions.
|
IEnumerable |
getSourceCollection()
Gets the value of the .NET property SourceCollection.
|
int |
IndexOf(NetObject item)
Invokes the .NET member IndexOf.
|
boolean |
MoveCurrentTo(NetObject item)
Invokes the .NET member MoveCurrentTo.
|
boolean |
MoveCurrentToFirst()
Invokes the .NET member MoveCurrentToFirst.
|
boolean |
MoveCurrentToLast()
Invokes the .NET member MoveCurrentToLast.
|
boolean |
MoveCurrentToNext()
Invokes the .NET member MoveCurrentToNext.
|
boolean |
MoveCurrentToPosition(int position)
Invokes the .NET member MoveCurrentToPosition.
|
boolean |
MoveCurrentToPrevious()
Invokes the .NET member MoveCurrentToPrevious.
|
boolean |
PassesFilter(NetObject item)
Invokes the .NET member PassesFilter.
|
void |
Refresh()
Invokes the .NET member Refresh.
|
void |
removeCurrentChanged(EventHandler handler)
Invokes the .NET member removeCurrentChanged.
|
void |
removeCurrentChanging(CurrentChangingEventHandler handler)
Invokes the .NET member removeCurrentChanging.
|
void |
setCulture(CultureInfo Culture)
Sets the value of the .NET property Culture.
|
void |
setFilter(Predicate_1 Filter)
Sets the value of the .NET property Filter.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
CheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CollectionView()
throws java.lang.Throwable
java.lang.Throwablepublic CollectionView(IEnumerable collection) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, OutOfMemoryException, MulticastNotSupportedException
collection - the argument of type IEnumerablejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic CollectionView(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addCurrentChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addCurrentChanging(CurrentChangingEventHandler handler) throws java.lang.Throwable
handler - the argument of type CurrentChangingEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static CollectionView cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CollectionView, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCollectionView instancejava.lang.Throwable - in case of error during cast operationpublic boolean Contains(NetObject item) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SecurityException, IOException, PlatformNotSupportedException, NullReferenceException, NotSupportedException
item - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic IDisposable DeferRefresh() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentOutOfRangeException, NotSupportedException, FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void DetachFromSourceCollection()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
NullReferenceException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidCastException,
OverflowException,
InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic boolean getCanFilter()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCanGroup()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCanSort()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IComparer getComparer() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getCount()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NullReferenceException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic CultureInfo getCulture() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getCurrentItem() throws java.lang.Throwable, ArgumentException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic int getCurrentPosition()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Predicate_1 getFilter() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ObservableCollection_1 getGroupDescriptions() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ReadOnlyObservableCollection_1 getGroups() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsCurrentAfterLast()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getIsCurrentBeforeFirst()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getIsEmpty()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NullReferenceException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean getIsInUse()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject GetItemAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SecurityException, IOException, UnauthorizedAccessException, NullReferenceException
index - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DispatcherObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DispatcherObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DispatcherObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DispatcherObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class DispatcherObjectpublic boolean getNeedsRefresh()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static NetObject getNewItemPlaceholder() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SortDescriptionCollection getSortDescriptions() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable getSourceCollection() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int IndexOf(NetObject item) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, PlatformNotSupportedException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException
item - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean MoveCurrentTo(NetObject item) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
item - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean MoveCurrentToFirst()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
NullReferenceException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean MoveCurrentToLast()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
SecurityException,
IOException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean MoveCurrentToNext()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
SecurityException,
IOException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean MoveCurrentToPosition(int position)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
SecurityException,
IOException,
NullReferenceException
position - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic boolean MoveCurrentToPrevious()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
SecurityException,
IOException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean PassesFilter(NetObject item) throws java.lang.Throwable
item - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Refresh()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void removeCurrentChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeCurrentChanging(CurrentChangingEventHandler handler) throws java.lang.Throwable
handler - the argument of type CurrentChangingEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCulture(CultureInfo Culture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
Culture - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void setFilter(Predicate_1 Filter) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException
Filter - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DispatcherObjectinstance - the new underlying object