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=9.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.String
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: WindowsBasestatic java.lang.String
className
Qualified class name: System.ComponentModel.ICollectionViewstatic JCType
classType
The 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=9.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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceICollectionView
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceINotifyCollectionChanged
- Overrides:
getJCOAssemblyName
in classIEnumerableImplementation
- 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 interfaceICollectionView
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceINotifyCollectionChanged
- Overrides:
getJCOClassName
in classIEnumerableImplementation
- 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 interfaceICollectionView
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceINotifyCollectionChanged
- Overrides:
getJCOObjectName
in classIEnumerableImplementation
- 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 interfaceICollectionView
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceINotifyCollectionChanged
- Overrides:
getJCOInstance
in classIEnumerableImplementation
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceICollectionView
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceINotifyCollectionChanged
- Overrides:
getJCOType
in classIEnumerableImplementation
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToICollectionView
public static ICollectionView ToICollectionView(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoICollectionView
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ICollectionView
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Contains
public boolean Contains(NetObject item) throws java.lang.Throwable
- Specified by:
Contains
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
MoveCurrentTo
public boolean MoveCurrentTo(NetObject item) throws java.lang.Throwable
- Specified by:
MoveCurrentTo
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
MoveCurrentToFirst
public boolean MoveCurrentToFirst() throws java.lang.Throwable
- Specified by:
MoveCurrentToFirst
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
MoveCurrentToLast
public boolean MoveCurrentToLast() throws java.lang.Throwable
- Specified by:
MoveCurrentToLast
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
MoveCurrentToNext
public boolean MoveCurrentToNext() throws java.lang.Throwable
- Specified by:
MoveCurrentToNext
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
MoveCurrentToPosition
public boolean MoveCurrentToPosition(int position) throws java.lang.Throwable
- Specified by:
MoveCurrentToPosition
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
MoveCurrentToPrevious
public boolean MoveCurrentToPrevious() throws java.lang.Throwable
- Specified by:
MoveCurrentToPrevious
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
DeferRefresh
public IDisposable DeferRefresh() throws java.lang.Throwable
- Specified by:
DeferRefresh
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
Refresh
public void Refresh() throws java.lang.Throwable
- Specified by:
Refresh
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getCanFilter
public boolean getCanFilter() throws java.lang.Throwable
- Specified by:
getCanFilter
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getCanGroup
public boolean getCanGroup() throws java.lang.Throwable
- Specified by:
getCanGroup
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getCanSort
public boolean getCanSort() throws java.lang.Throwable
- Specified by:
getCanSort
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getIsCurrentAfterLast
public boolean getIsCurrentAfterLast() throws java.lang.Throwable
- Specified by:
getIsCurrentAfterLast
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getIsCurrentBeforeFirst
public boolean getIsCurrentBeforeFirst() throws java.lang.Throwable
- Specified by:
getIsCurrentBeforeFirst
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getIsEmpty
public boolean getIsEmpty() throws java.lang.Throwable
- Specified by:
getIsEmpty
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getCurrentPosition
public int getCurrentPosition() throws java.lang.Throwable
- Specified by:
getCurrentPosition
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getSourceCollection
public IEnumerable getSourceCollection() throws java.lang.Throwable
- Specified by:
getSourceCollection
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getSortDescriptions
public SortDescriptionCollection getSortDescriptions() throws java.lang.Throwable
- Specified by:
getSortDescriptions
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getCulture
public CultureInfo getCulture() throws java.lang.Throwable
- Specified by:
getCulture
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
setCulture
public void setCulture(CultureInfo Culture) throws java.lang.Throwable
- Specified by:
setCulture
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
getCurrentItem
public NetObject getCurrentItem() throws java.lang.Throwable
- Specified by:
getCurrentItem
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
addCollectionChanged
public void addCollectionChanged(NotifyCollectionChangedEventHandler handler) throws java.lang.Throwable
- Specified by:
addCollectionChanged
in interfaceINotifyCollectionChanged
- Throws:
java.lang.Throwable
-
removeCollectionChanged
public void removeCollectionChanged(NotifyCollectionChangedEventHandler handler) throws java.lang.Throwable
- Specified by:
removeCollectionChanged
in interfaceINotifyCollectionChanged
- Throws:
java.lang.Throwable
-
addCurrentChanging
public void addCurrentChanging(CurrentChangingEventHandler handler) throws java.lang.Throwable
- Specified by:
addCurrentChanging
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
removeCurrentChanging
public void removeCurrentChanging(CurrentChangingEventHandler handler) throws java.lang.Throwable
- Specified by:
removeCurrentChanging
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
addCurrentChanged
public void addCurrentChanged(EventHandler handler) throws java.lang.Throwable
- Specified by:
addCurrentChanged
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
removeCurrentChanged
public void removeCurrentChanged(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeCurrentChanged
in interfaceICollectionView
- Throws:
java.lang.Throwable
-
-