Package system.windows.data
Class CompositeCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.windows.data.CompositeCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected,ICollectionViewFactory,IWeakEventListener
public class CompositeCollection extends NetObjectEnumerable implements ICollectionViewFactory, IWeakEventListener
The base .NET class managing System.Windows.Data.CompositeCollection, PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Data.CompositeCollection
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.CompositeCollectionstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description CompositeCollection()CompositeCollection(int capacity)CompositeCollection(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intAdd(NetObject newItem)static CompositeCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoCompositeCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(NetObject containItem)voidCopyTo(Array array, int index)intgetCount()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypeintIndexOf(NetObject indexItem)voidInsert(int insertIndex, NetObject insertItem)voidRemove(NetObject removeItem)voidRemoveAt(int removeIndex)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.componentmodel.ICollectionViewFactory
CreateView
-
Methods inherited from interface system.windows.IWeakEventListener
ReceiveWeakEvent
-
-
-
-
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.CompositeCollection- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
CompositeCollection
public CompositeCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
CompositeCollection
public CompositeCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
CompositeCollection
public CompositeCollection(int capacity) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICollectionViewFactory- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIWeakEventListener- Overrides:
getJCOAssemblyNamein classNetObjectEnumerable- 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 interfaceICollectionViewFactory- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceIWeakEventListener- Overrides:
getJCOClassNamein classNetObjectEnumerable- 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 interfaceICollectionViewFactory- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceIWeakEventListener- Overrides:
getJCOObjectNamein classNetObjectEnumerable- 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 interfaceICollectionViewFactory- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceIWeakEventListener- Overrides:
getJCOInstancein classNetObjectEnumerable- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObjectEnumerable
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICollectionViewFactory- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIWeakEventListener- Overrides:
getJCOTypein classNetObjectEnumerable- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static CompositeCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoCompositeCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
CompositeCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(NetObject containItem) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
-
Add
public int Add(NetObject newItem) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, SynchronizationLockException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
IndexOf
public int IndexOf(NetObject indexItem) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, PlatformNotSupportedException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SynchronizationLockException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionFormatException
-
CopyTo
public void CopyTo(Array array, int index) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException
-
Insert
public void Insert(int insertIndex, NetObject insertItem) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, SynchronizationLockException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
Remove
public void Remove(NetObject removeItem) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, PlatformNotSupportedException
-
RemoveAt
public void RemoveAt(int removeIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SynchronizationLockException
-
getCount
public int getCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-