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.String
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationFrameworkstatic java.lang.String
className
Qualified class name: System.Windows.Data.CollectionViewstatic JCType
classType
The 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.Throwable
Internal 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.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
OutOfMemoryException
MulticastNotSupportedException
NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDispatcherObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDispatcherObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDispatcherObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDispatcherObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDispatcherObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDispatcherObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static CollectionView cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoCollectionView
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
CollectionView
instance- 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.Throwable
ArgumentException
InvalidOperationException
SecurityException
IOException
ArgumentNullException
PlatformNotSupportedException
-
MoveCurrentTo
public boolean MoveCurrentTo(NetObject item) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
MoveCurrentToFirst
public boolean MoveCurrentToFirst() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
SecurityException
IOException
UnauthorizedAccessException
-
DetachFromSourceCollection
public void DetachFromSourceCollection() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, OverflowException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
OverflowException
InvalidEnumArgumentException
-
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.Throwable
ArgumentException
InvalidOperationException
-
getIsCurrentBeforeFirst
public boolean getIsCurrentBeforeFirst() throws java.lang.Throwable, ArgumentException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
-
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.Throwable
ArgumentException
InvalidOperationException
-
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.Throwable
ArgumentException
InvalidOperationException
-
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
-
-