Package system.windows.forms
Class DataGridViewColumnCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.windows.forms.BaseCollection
-
- system.windows.forms.DataGridViewColumnCollection
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class DataGridViewColumnCollection extends BaseCollection
The base .NET class managing System.Windows.Forms.DataGridViewColumnCollection, 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.DataGridViewColumnCollection
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.DataGridViewColumnCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataGridViewColumnCollection()DataGridViewColumnCollection(java.lang.Object instance)Internal constructor.DataGridViewColumnCollection(DataGridView dataGridView)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intAdd(java.lang.String columnName, java.lang.String headerText)intAdd(DataGridViewColumn dataGridViewColumn)voidaddCollectionChanged(CollectionChangeEventHandler handler)voidAddRange(DataGridViewColumn... dataGridViewColumns)static DataGridViewColumnCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataGridViewColumnCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(java.lang.String columnName)booleanContains(DataGridViewColumn dataGridViewColumn)voidCopyTo(DataGridViewColumn[] array, int index)intGetColumnCount(DataGridViewElementStates includeFilter)intGetColumnsWidth(DataGridViewElementStates includeFilter)DataGridViewColumnGetFirstColumn(DataGridViewElementStates includeFilter)DataGridViewColumnGetFirstColumn(DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter)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 TypeDataGridViewColumnGetLastColumn(DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter)DataGridViewColumnGetNextColumn(DataGridViewColumn dataGridViewColumnStart, DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter)DataGridViewColumnGetPreviousColumn(DataGridViewColumn dataGridViewColumnStart, DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter)intIndexOf(DataGridViewColumn dataGridViewColumn)voidInsert(int columnIndex, DataGridViewColumn dataGridViewColumn)voidRemove(java.lang.String columnName)voidRemove(DataGridViewColumn dataGridViewColumn)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.DataGridViewColumnCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataGridViewColumnCollection
public DataGridViewColumnCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataGridViewColumnCollection
public DataGridViewColumnCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
DataGridViewColumnCollection
public DataGridViewColumnCollection(DataGridView dataGridView) 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 DataGridViewColumnCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataGridViewColumnCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataGridViewColumnCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(java.lang.String columnName) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, CultureNotFoundException, InvalidOperationException
-
Contains
public boolean Contains(DataGridViewColumn dataGridViewColumn) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentException
-
Add
public int Add(java.lang.String columnName, java.lang.String headerText) throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, ObjectDisposedException, Win32Exception, SecurityException, NullReferenceException, OutOfMemoryException, InvalidEnumArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotImplementedExceptionObjectDisposedExceptionWin32ExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionInvalidCastException
-
Add
public int Add(DataGridViewColumn dataGridViewColumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NullReferenceException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, Win32Exception, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionWin32ExceptionInvalidCastException
-
GetColumnCount
public int GetColumnCount(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
GetColumnsWidth
public int GetColumnsWidth(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
IndexOf
public int IndexOf(DataGridViewColumn dataGridViewColumn) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentException
-
GetFirstColumn
public DataGridViewColumn GetFirstColumn(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankException
-
GetFirstColumn
public DataGridViewColumn GetFirstColumn(DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankException
-
GetLastColumn
public DataGridViewColumn GetLastColumn(DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankException
-
GetNextColumn
public DataGridViewColumn GetNextColumn(DataGridViewColumn dataGridViewColumnStart, DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankException
-
GetPreviousColumn
public DataGridViewColumn GetPreviousColumn(DataGridViewColumn dataGridViewColumnStart, DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankException
-
AddRange
public void AddRange(DataGridViewColumn... dataGridViewColumns) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, Win32Exception, InvalidEnumArgumentException, OutOfMemoryException, MulticastNotSupportedException, NullReferenceException, IndexOutOfRangeException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionWin32ExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionInvalidCastException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, InvalidCastException, OverflowException, RankException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionInvalidCastExceptionOverflowExceptionRankException
-
CopyTo
public void CopyTo(DataGridViewColumn[] array, int index) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.ThrowableArgumentException
-
Insert
public void Insert(int columnIndex, DataGridViewColumn dataGridViewColumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, ArithmeticException, RankException, OutOfMemoryException, SecurityException, KeyNotFoundException, OverflowException, InvalidEnumArgumentException, IndexOutOfRangeException, InvalidCastException, MulticastNotSupportedException, ThreadStateException, Win32Exception- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionArithmeticExceptionRankExceptionOutOfMemoryExceptionSecurityExceptionKeyNotFoundExceptionOverflowExceptionInvalidEnumArgumentExceptionIndexOutOfRangeExceptionInvalidCastExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32Exception
-
Remove
public void Remove(java.lang.String columnName) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, CultureNotFoundException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, RankException, FormatException, InvalidEnumArgumentException, InvalidCastException, SecurityException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionRankExceptionFormatExceptionInvalidEnumArgumentExceptionInvalidCastExceptionSecurityException
-
Remove
public void Remove(DataGridViewColumn dataGridViewColumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, RankException, InvalidEnumArgumentException, InvalidCastException, SecurityException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankExceptionInvalidEnumArgumentExceptionInvalidCastExceptionSecurityExceptionIndexOutOfRangeException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, RankException, Win32Exception, KeyNotFoundException, FormatException, OverflowException, InvalidEnumArgumentException, InvalidCastException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionRankExceptionWin32ExceptionKeyNotFoundExceptionFormatExceptionOverflowExceptionInvalidEnumArgumentExceptionInvalidCastExceptionMulticastNotSupportedException
-
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
-
-