Package system.componentmodel
Class ICollectionViewImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.IEnumerableImplementation
-
- system.componentmodel.ICollectionViewImplementation
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected,INotifyCollectionChanged,ICollectionView
public class ICollectionViewImplementation extends IEnumerableImplementation implements ICollectionView
The base .NET class managing System.ComponentModel.ICollectionView, WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.ICollectionView
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: WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: WindowsBasestatic java.lang.StringclassNameQualified class name: System.ComponentModel.ICollectionViewstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ICollectionViewImplementation(java.lang.Object instance)Internal constructor.
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.IEnumerableImplementation
GetEnumerator, iterator, ToIEnumerable
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
Methods inherited from interface org.mases.jcobridge.netreflection.IEnumerable
GetEnumerator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: WindowsBase- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.ICollectionView- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICollectionView- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceINotifyCollectionChanged- Overrides:
getJCOAssemblyNamein classIEnumerableImplementation- 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 interfaceICollectionView- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceINotifyCollectionChanged- Overrides:
getJCOClassNamein classIEnumerableImplementation- 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 interfaceICollectionView- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceINotifyCollectionChanged- Overrides:
getJCOObjectNamein classIEnumerableImplementation- 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 interfaceICollectionView- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceINotifyCollectionChanged- Overrides:
getJCOInstancein classIEnumerableImplementation- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICollectionView- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceINotifyCollectionChanged- Overrides:
getJCOTypein classIEnumerableImplementation- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToICollectionView
public static ICollectionView ToICollectionView(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoICollectionView, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ICollectionViewinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(NetObject item) throws java.lang.Throwable
- Specified by:
Containsin interfaceICollectionView- Throws:
java.lang.Throwable
-
MoveCurrentTo
public boolean MoveCurrentTo(NetObject item) throws java.lang.Throwable
- Specified by:
MoveCurrentToin interfaceICollectionView- Throws:
java.lang.Throwable
-
MoveCurrentToFirst
public boolean MoveCurrentToFirst() throws java.lang.Throwable- Specified by:
MoveCurrentToFirstin interfaceICollectionView- Throws:
java.lang.Throwable
-
MoveCurrentToLast
public boolean MoveCurrentToLast() throws java.lang.Throwable- Specified by:
MoveCurrentToLastin interfaceICollectionView- Throws:
java.lang.Throwable
-
MoveCurrentToNext
public boolean MoveCurrentToNext() throws java.lang.Throwable- Specified by:
MoveCurrentToNextin interfaceICollectionView- Throws:
java.lang.Throwable
-
MoveCurrentToPosition
public boolean MoveCurrentToPosition(int position) throws java.lang.Throwable- Specified by:
MoveCurrentToPositionin interfaceICollectionView- Throws:
java.lang.Throwable
-
MoveCurrentToPrevious
public boolean MoveCurrentToPrevious() throws java.lang.Throwable- Specified by:
MoveCurrentToPreviousin interfaceICollectionView- Throws:
java.lang.Throwable
-
DeferRefresh
public IDisposable DeferRefresh() throws java.lang.Throwable
- Specified by:
DeferRefreshin interfaceICollectionView- Throws:
java.lang.Throwable
-
Refresh
public void Refresh() throws java.lang.Throwable- Specified by:
Refreshin interfaceICollectionView- Throws:
java.lang.Throwable
-
getCanFilter
public boolean getCanFilter() throws java.lang.Throwable- Specified by:
getCanFilterin interfaceICollectionView- Throws:
java.lang.Throwable
-
getCanGroup
public boolean getCanGroup() throws java.lang.Throwable- Specified by:
getCanGroupin interfaceICollectionView- Throws:
java.lang.Throwable
-
getCanSort
public boolean getCanSort() throws java.lang.Throwable- Specified by:
getCanSortin interfaceICollectionView- Throws:
java.lang.Throwable
-
getIsCurrentAfterLast
public boolean getIsCurrentAfterLast() throws java.lang.Throwable- Specified by:
getIsCurrentAfterLastin interfaceICollectionView- Throws:
java.lang.Throwable
-
getIsCurrentBeforeFirst
public boolean getIsCurrentBeforeFirst() throws java.lang.Throwable- Specified by:
getIsCurrentBeforeFirstin interfaceICollectionView- Throws:
java.lang.Throwable
-
getIsEmpty
public boolean getIsEmpty() throws java.lang.Throwable- Specified by:
getIsEmptyin interfaceICollectionView- Throws:
java.lang.Throwable
-
getCurrentPosition
public int getCurrentPosition() throws java.lang.Throwable- Specified by:
getCurrentPositionin interfaceICollectionView- Throws:
java.lang.Throwable
-
getSourceCollection
public IEnumerable getSourceCollection() throws java.lang.Throwable
- Specified by:
getSourceCollectionin interfaceICollectionView- Throws:
java.lang.Throwable
-
getSortDescriptions
public SortDescriptionCollection getSortDescriptions() throws java.lang.Throwable
- Specified by:
getSortDescriptionsin interfaceICollectionView- Throws:
java.lang.Throwable
-
getCulture
public CultureInfo getCulture() throws java.lang.Throwable
- Specified by:
getCulturein interfaceICollectionView- Throws:
java.lang.Throwable
-
setCulture
public void setCulture(CultureInfo Culture) throws java.lang.Throwable
- Specified by:
setCulturein interfaceICollectionView- Throws:
java.lang.Throwable
-
getCurrentItem
public NetObject getCurrentItem() throws java.lang.Throwable
- Specified by:
getCurrentItemin interfaceICollectionView- Throws:
java.lang.Throwable
-
addCollectionChanged
public void addCollectionChanged(NotifyCollectionChangedEventHandler handler) throws java.lang.Throwable
- Specified by:
addCollectionChangedin interfaceINotifyCollectionChanged- Throws:
java.lang.Throwable
-
removeCollectionChanged
public void removeCollectionChanged(NotifyCollectionChangedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeCollectionChangedin interfaceINotifyCollectionChanged- Throws:
java.lang.Throwable
-
addCurrentChanging
public void addCurrentChanging(CurrentChangingEventHandler handler) throws java.lang.Throwable
- Specified by:
addCurrentChangingin interfaceICollectionView- Throws:
java.lang.Throwable
-
removeCurrentChanging
public void removeCurrentChanging(CurrentChangingEventHandler handler) throws java.lang.Throwable
- Specified by:
removeCurrentChangingin interfaceICollectionView- Throws:
java.lang.Throwable
-
addCurrentChanged
public void addCurrentChanged(EventHandler handler) throws java.lang.Throwable
- Specified by:
addCurrentChangedin interfaceICollectionView- Throws:
java.lang.Throwable
-
removeCurrentChanged
public void removeCurrentChanged(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeCurrentChangedin interfaceICollectionView- Throws:
java.lang.Throwable
-
-