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=9.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.String
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationFrameworkstatic java.lang.String
className
Qualified class name: System.Windows.Controls.ItemCollectionstatic JCType
classType
The 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 int
Add(NetObject newItem)
static ItemCollection
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoItemCollection
, a cast assert is made to check if types are compatible.void
Clear()
boolean
Contains(NetObject containItem)
void
CopyTo(Array array, int index)
IDisposable
DeferRefresh()
boolean
getCanChangeLiveFiltering()
boolean
getCanChangeLiveGrouping()
boolean
getCanChangeLiveSorting()
NetObject
GetItemAt(int index)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
IndexOf(NetObject item)
void
Insert(int insertIndex, NetObject insertItem)
boolean
MoveCurrentTo(NetObject item)
boolean
MoveCurrentToFirst()
boolean
MoveCurrentToLast()
boolean
MoveCurrentToNext()
boolean
MoveCurrentToPosition(int position)
boolean
MoveCurrentToPrevious()
boolean
PassesFilter(NetObject item)
void
Remove(NetObject removeItem)
void
RemoveAt(int removeIndex)
void
setJCOInstance(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=9.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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIWeakEventListener
- Overrides:
getJCOAssemblyName
in classCollectionView
- 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 interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIWeakEventListener
- Overrides:
getJCOClassName
in classCollectionView
- 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 interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIWeakEventListener
- Overrides:
getJCOObjectName
in classCollectionView
- 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 interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIWeakEventListener
- Overrides:
getJCOInstance
in classCollectionView
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classCollectionView
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIWeakEventListener
- Overrides:
getJCOType
in classCollectionView
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ItemCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoItemCollection
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ItemCollection
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Contains
public boolean Contains(NetObject containItem) throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
Contains
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
MoveCurrentTo
public boolean MoveCurrentTo(NetObject item) throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
MoveCurrentTo
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
MoveCurrentToFirst
public boolean MoveCurrentToFirst() throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
MoveCurrentToFirst
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
MoveCurrentToLast
public boolean MoveCurrentToLast() throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
MoveCurrentToLast
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
MoveCurrentToNext
public boolean MoveCurrentToNext() throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
MoveCurrentToNext
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
MoveCurrentToPosition
public boolean MoveCurrentToPosition(int position) throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
MoveCurrentToPosition
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
MoveCurrentToPrevious
public boolean MoveCurrentToPrevious() throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
MoveCurrentToPrevious
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
PassesFilter
public boolean PassesFilter(NetObject item) throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
PassesFilter
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
Add
public int Add(NetObject newItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NullReferenceException, OutOfMemoryException
-
IndexOf
public int IndexOf(NetObject item) throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Overrides:
IndexOf
in classCollectionView
- Throws:
java.lang.Throwable
InvalidOperationException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
-
DeferRefresh
public IDisposable DeferRefresh() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, FormatException
- Overrides:
DeferRefresh
in classCollectionView
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
FormatException
-
GetItemAt
public NetObject GetItemAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException
- Overrides:
GetItemAt
in classCollectionView
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, 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, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NullReferenceException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
NullReferenceException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
OutOfMemoryException
-
Remove
public void Remove(NetObject removeItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NullReferenceException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
NullReferenceException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidCastException
OutOfMemoryException
-
RemoveAt
public void RemoveAt(int removeIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NullReferenceException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
InvalidOperationException
ObjectDisposedException
NullReferenceException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidCastException
OutOfMemoryException
-
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
-
-