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=4.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=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Data.CompositeCollectionstatic 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 objectJCTypegetJCOType()Returns the instantiated class TypeintIndexOf(NetObject indexItem)voidInsert(int insertIndex, NetObject insertItem)voidRemove(NetObject removeItem)voidRemoveAt(int removeIndex)voidsetJCOInstance(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=4.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
-
-
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, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
-
-
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(JCObject instance)
- Overrides:
setJCOInstancein classNetObjectEnumerable
-
getJCOType
public 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
- Throws:
java.lang.Throwable
-
Add
public int Add(NetObject newItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, SynchronizationLockException, OverflowException, CultureNotFoundException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionOverflowExceptionCultureNotFoundExceptionIndexOutOfRangeException
-
IndexOf
public int IndexOf(NetObject indexItem) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, SynchronizationLockException, OverflowException, InvalidOperationException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
-
CopyTo
public void CopyTo(Array array, int index) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.ThrowableArgumentException
-
Insert
public void Insert(int insertIndex, NetObject insertItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, SynchronizationLockException, OverflowException, CultureNotFoundException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionOverflowExceptionCultureNotFoundExceptionIndexOutOfRangeException
-
Remove
public void Remove(NetObject removeItem) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
-
RemoveAt
public void RemoveAt(int removeIndex) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, SynchronizationLockException, OverflowException, InvalidOperationException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
-
getCount
public int getCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-