Package system.windows.data
Class CollectionView
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.data.CollectionView
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
BindingListCollectionView,ItemCollection,ListCollectionView
public class CollectionView extends DispatcherObject
The base .NET class managing System.Windows.Data.CollectionView, PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Data.CollectionView
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Data.CollectionViewstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description CollectionView()CollectionView(java.lang.Object instance)Internal constructor.CollectionView(IEnumerable collection)
-
Method Summary
-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Data.CollectionView- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CollectionView
public CollectionView(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
CollectionView
public CollectionView() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
CollectionView
public CollectionView(IEnumerable collection) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDispatcherObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDispatcherObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDispatcherObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDispatcherObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDispatcherObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDispatcherObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static CollectionView cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoCollectionView, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
CollectionViewinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(NetObject item) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SecurityException, IOException, ArgumentNullException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionSecurityExceptionIOExceptionArgumentNullExceptionPlatformNotSupportedException
-
MoveCurrentTo
public boolean MoveCurrentTo(NetObject item) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
MoveCurrentToFirst
public boolean MoveCurrentToFirst() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
MoveCurrentToLast
public boolean MoveCurrentToLast() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SecurityException, IOException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
MoveCurrentToNext
public boolean MoveCurrentToNext() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SecurityException, IOException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
MoveCurrentToPosition
public boolean MoveCurrentToPosition(int position) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SecurityException, IOException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
MoveCurrentToPrevious
public boolean MoveCurrentToPrevious() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SecurityException, IOException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
PassesFilter
public boolean PassesFilter(NetObject item) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IndexOf
public int IndexOf(NetObject item) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException
-
DeferRefresh
public IDisposable DeferRefresh() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentOutOfRangeException, FormatException
-
GetItemAt
public NetObject GetItemAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessException
-
DetachFromSourceCollection
public void DetachFromSourceCollection() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OverflowException, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionOverflowExceptionInvalidEnumArgumentException
-
Refresh
public void Refresh() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getCanFilter
public boolean getCanFilter() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCanGroup
public boolean getCanGroup() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCanSort
public boolean getCanSort() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsCurrentAfterLast
public boolean getIsCurrentAfterLast() throws java.lang.Throwable, ArgumentException, InvalidOperationException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationException
-
getIsCurrentBeforeFirst
public boolean getIsCurrentBeforeFirst() throws java.lang.Throwable, ArgumentException, InvalidOperationException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationException
-
getIsEmpty
public boolean getIsEmpty() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException
-
getIsInUse
public boolean getIsInUse() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getNeedsRefresh
public boolean getNeedsRefresh() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCount
public int getCount() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ObjectDisposedException, SecurityException, IOException, UnauthorizedAccessException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException
-
getCurrentPosition
public int getCurrentPosition() throws java.lang.Throwable, ArgumentException, InvalidOperationException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationException
-
getComparer
public IComparer getComparer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSourceCollection
public IEnumerable getSourceCollection() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSortDescriptions
public SortDescriptionCollection getSortDescriptions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCulture
public CultureInfo getCulture() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCulture
public void setCulture(CultureInfo Culture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getCurrentItem
public NetObject getCurrentItem() throws java.lang.Throwable, ArgumentException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationException
-
getNewItemPlaceholder
public static NetObject getNewItemPlaceholder() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCurrentChanging
public void addCurrentChanging(CurrentChangingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCurrentChanging
public void removeCurrentChanging(CurrentChangingEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCurrentChanged
public void addCurrentChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCurrentChanged
public void removeCurrentChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-