Package system.windows.forms
Class DataGridViewCellCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.windows.forms.BaseCollection
-
- system.windows.forms.DataGridViewCellCollection
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class DataGridViewCellCollection extends BaseCollection
The base .NET class managing System.Windows.Forms.DataGridViewCellCollection, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.DataGridViewCellCollection
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: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.DataGridViewCellCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataGridViewCellCollection()DataGridViewCellCollection(java.lang.Object instance)Internal constructor.DataGridViewCellCollection(DataGridViewRow dataGridViewRow)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intAdd(DataGridViewCell dataGridViewCell)voidaddCollectionChanged(CollectionChangeEventHandler handler)voidAddRange(DataGridViewCell... dataGridViewCells)static DataGridViewCellCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataGridViewCellCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(DataGridViewCell dataGridViewCell)voidCopyTo(DataGridViewCell[] array, 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(DataGridViewCell dataGridViewCell)voidInsert(int index, DataGridViewCell dataGridViewCell)voidRemove(DataGridViewCell cell)voidRemoveAt(int index)voidremoveCollectionChanged(CollectionChangeEventHandler handler)voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.windows.forms.BaseCollection
CopyTo, getCount, getIsReadOnly, getIsSynchronized, getSyncRoot
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.DataGridViewCellCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataGridViewCellCollection
public DataGridViewCellCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataGridViewCellCollection
public DataGridViewCellCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
DataGridViewCellCollection
public DataGridViewCellCollection(DataGridViewRow dataGridViewRow) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classBaseCollection- 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- Overrides:
getJCOClassNamein classBaseCollection- 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- Overrides:
getJCOObjectNamein classBaseCollection- 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- Overrides:
getJCOInstancein classBaseCollection- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classBaseCollection
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classBaseCollection- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataGridViewCellCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataGridViewCellCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataGridViewCellCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(DataGridViewCell dataGridViewCell) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentException
-
Add
public int Add(DataGridViewCell dataGridViewCell) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
IndexOf
public int IndexOf(DataGridViewCell dataGridViewCell) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentException
-
AddRange
public void AddRange(DataGridViewCell... dataGridViewCells) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
CopyTo
public void CopyTo(DataGridViewCell[] array, int index) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.ThrowableArgumentException
-
Insert
public void Insert(int index, DataGridViewCell dataGridViewCell) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
Remove
public void Remove(DataGridViewCell cell) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, InvalidCastException, SecurityException, Win32Exception
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionInvalidCastExceptionSecurityExceptionWin32Exception
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, KeyNotFoundException, FormatException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionKeyNotFoundExceptionFormatExceptionInvalidCastException
-
addCollectionChanged
public void addCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCollectionChanged
public void removeCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-