public class NotifyCollectionChangedEventArgs extends EventArgs
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Collections.Specialized.NotifyCollectionChangedEventArgs
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ObjectModel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ObjectModel
|
static java.lang.String |
className
Qualified class name: System.Collections.Specialized.NotifyCollectionChangedEventArgs
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
NotifyCollectionChangedEventArgs() |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
IList changedItems)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
IList newItems,
IList oldItems)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
IList newItems,
IList oldItems,
int startingIndex)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
IList changedItems,
int startingIndex)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
IList changedItems,
int index,
int oldIndex)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
NetObject changedItem)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
NetObject changedItem,
int index)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
NetObject changedItem,
int index,
int oldIndex)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
NetObject newItem,
NetObject oldItem)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action,
NetObject newItem,
NetObject oldItem,
int index)
Initializes a new instance by invoking the .NET constructor.
|
NotifyCollectionChangedEventArgs(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static NotifyCollectionChangedEventArgs |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into NotifyCollectionChangedEventArgs, a cast assert is made to check if types are compatible. |
NotifyCollectionChangedAction |
getAction()
Gets the value of the .NET property Action.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
IList |
getNewItems()
Gets the value of the .NET property NewItems.
|
int |
getNewStartingIndex()
Gets the value of the .NET property NewStartingIndex.
|
IList |
getOldItems()
Gets the value of the .NET property OldItems.
|
int |
getOldStartingIndex()
Gets the value of the .NET property OldStartingIndex.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public NotifyCollectionChangedEventArgs()
throws java.lang.Throwable
java.lang.Throwablepublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
action - the argument of type NotifyCollectionChangedActionjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList changedItems) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
action - the argument of type NotifyCollectionChangedActionchangedItems - the argument of type IListjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
action - the argument of type NotifyCollectionChangedActionnewItems - the argument of type IListoldItems - the argument of type IListjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems, int startingIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
action - the argument of type NotifyCollectionChangedActionnewItems - the argument of type IListoldItems - the argument of type IListstartingIndex - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList changedItems, int startingIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
action - the argument of type NotifyCollectionChangedActionchangedItems - the argument of type IListstartingIndex - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, IList changedItems, int index, int oldIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
action - the argument of type NotifyCollectionChangedActionchangedItems - the argument of type IListindex - the argument of type intoldIndex - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, NetObject changedItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
action - the argument of type NotifyCollectionChangedActionchangedItem - the argument of type NetObjectjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, NetObject changedItem, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
action - the argument of type NotifyCollectionChangedActionchangedItem - the argument of type NetObjectindex - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, NetObject changedItem, int index, int oldIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
action - the argument of type NotifyCollectionChangedActionchangedItem - the argument of type NetObjectindex - the argument of type intoldIndex - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, NetObject newItem, NetObject oldItem) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
action - the argument of type NotifyCollectionChangedActionnewItem - the argument of type NetObjectoldItem - the argument of type NetObjectjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction action, NetObject newItem, NetObject oldItem, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
action - the argument of type NotifyCollectionChangedActionnewItem - the argument of type NetObjectoldItem - the argument of type NetObjectindex - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic NotifyCollectionChangedEventArgs(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static NotifyCollectionChangedEventArgs cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into NotifyCollectionChangedEventArgs, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedNotifyCollectionChangedEventArgs instancejava.lang.Throwable - in case of error during cast operationpublic NotifyCollectionChangedAction getAction() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class EventArgspublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class EventArgspublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class EventArgsnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class EventArgspublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class EventArgspublic IList getNewItems() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getNewStartingIndex()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IList getOldItems() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getOldStartingIndex()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class EventArgsinstance - the new underlying object