Package system.windows.controls
Class ItemCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.data.CollectionView
-
- system.windows.controls.ItemCollection
-
- All Implemented Interfaces:
IJCOBridgeReflected,IWeakEventListener
public class ItemCollection extends CollectionView implements IWeakEventListener
The base .NET class managing System.Windows.Controls.ItemCollection, PresentationFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Controls.ItemCollection
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=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Controls.ItemCollectionstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ItemCollection()ItemCollection(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 ItemCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoItemCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(NetObject containItem)voidCopyTo(Array array, int index)IDisposableDeferRefresh()booleangetCanChangeLiveFiltering()booleangetCanChangeLiveGrouping()booleangetCanChangeLiveSorting()NetObjectGetItemAt(int index)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 item)voidInsert(int insertIndex, NetObject insertItem)booleanMoveCurrentTo(NetObject item)booleanMoveCurrentToFirst()booleanMoveCurrentToLast()booleanMoveCurrentToNext()booleanMoveCurrentToPosition(int position)booleanMoveCurrentToPrevious()booleanPassesFilter(NetObject item)voidRemove(NetObject removeItem)voidRemoveAt(int removeIndex)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)-
Methods inherited from class system.windows.data.CollectionView
addCurrentChanged, addCurrentChanging, DetachFromSourceCollection, getCanFilter, getCanGroup, getCanSort, getComparer, getCount, getCulture, getCurrentItem, getCurrentPosition, getIsCurrentAfterLast, getIsCurrentBeforeFirst, getIsEmpty, getIsInUse, getNeedsRefresh, getNewItemPlaceholder, getSortDescriptions, getSourceCollection, Refresh, removeCurrentChanged, removeCurrentChanging, setCulture
-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.windows.IWeakEventListener
ReceiveWeakEvent
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=10.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.Controls.ItemCollection- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIWeakEventListener- Overrides:
getJCOAssemblyNamein classCollectionView- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceIWeakEventListener- Overrides:
getJCOClassNamein classCollectionView- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceIWeakEventListener- Overrides:
getJCOObjectNamein classCollectionView- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceIWeakEventListener- Overrides:
getJCOInstancein classCollectionView- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classCollectionView
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIWeakEventListener- Overrides:
getJCOTypein classCollectionView- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ItemCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoItemCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ItemCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(NetObject containItem) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
Containsin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
MoveCurrentTo
public boolean MoveCurrentTo(NetObject item) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
MoveCurrentToin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
MoveCurrentToFirst
public boolean MoveCurrentToFirst() throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException- Overrides:
MoveCurrentToFirstin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
MoveCurrentToLast
public boolean MoveCurrentToLast() throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException- Overrides:
MoveCurrentToLastin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
MoveCurrentToNext
public boolean MoveCurrentToNext() throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException- Overrides:
MoveCurrentToNextin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
MoveCurrentToPosition
public boolean MoveCurrentToPosition(int position) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException- Overrides:
MoveCurrentToPositionin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
MoveCurrentToPrevious
public boolean MoveCurrentToPrevious() throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException- Overrides:
MoveCurrentToPreviousin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
PassesFilter
public boolean PassesFilter(NetObject item) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
PassesFilterin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
Add
public int Add(NetObject newItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NullReferenceException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionNullReferenceExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryException
-
IndexOf
public int IndexOf(NetObject item) throws java.lang.Throwable, PlatformNotSupportedException, InvalidOperationException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
IndexOfin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
DeferRefresh
public IDisposable DeferRefresh() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException
- Overrides:
DeferRefreshin classCollectionView- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatException
-
GetItemAt
public NetObject GetItemAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException
- Overrides:
GetItemAtin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionNullReferenceException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException, OutOfMemoryException
-
CopyTo
public void CopyTo(Array array, int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException
-
Insert
public void Insert(int insertIndex, NetObject insertItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NullReferenceException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionNullReferenceExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryException
-
Remove
public void Remove(NetObject removeItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NullReferenceException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionNullReferenceExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryException
-
RemoveAt
public void RemoveAt(int removeIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, NullReferenceException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionNullReferenceExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryException
-
getCanChangeLiveFiltering
public boolean getCanChangeLiveFiltering() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCanChangeLiveGrouping
public boolean getCanChangeLiveGrouping() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCanChangeLiveSorting
public boolean getCanChangeLiveSorting() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-