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=4.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=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Controls.ItemCollectionstatic 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 objectJCTypegetJCOType()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(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=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.Controls.ItemCollection- 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 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(JCObject instance)
- Overrides:
setJCOInstancein classCollectionView
-
getJCOType
public 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, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException
- Overrides:
Containsin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
MoveCurrentTo
public boolean MoveCurrentTo(NetObject item) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException
- Overrides:
MoveCurrentToin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
MoveCurrentToFirst
public boolean MoveCurrentToFirst() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException- Overrides:
MoveCurrentToFirstin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
MoveCurrentToLast
public boolean MoveCurrentToLast() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException- Overrides:
MoveCurrentToLastin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
MoveCurrentToNext
public boolean MoveCurrentToNext() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException- Overrides:
MoveCurrentToNextin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
MoveCurrentToPosition
public boolean MoveCurrentToPosition(int position) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException- Overrides:
MoveCurrentToPositionin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
MoveCurrentToPrevious
public boolean MoveCurrentToPrevious() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException- Overrides:
MoveCurrentToPreviousin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
PassesFilter
public boolean PassesFilter(NetObject item) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException
- Overrides:
PassesFilterin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
Add
public int Add(NetObject newItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException
-
IndexOf
public int IndexOf(NetObject item) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException
- Overrides:
IndexOfin classCollectionView- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatException
-
DeferRefresh
public IDisposable DeferRefresh() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
- Overrides:
DeferRefreshin classCollectionView- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
GetItemAt
public NetObject GetItemAt(int index) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
GetItemAtin classCollectionView- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
CopyTo
public void CopyTo(Array array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedException
-
Insert
public void Insert(int insertIndex, NetObject insertItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException
-
Remove
public void Remove(NetObject removeItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankException
-
RemoveAt
public void RemoveAt(int removeIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionIndexOutOfRangeExceptionRankException
-
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
-
-