public class DataGridViewColumnCollection extends BaseCollection
.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
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.DataGridViewColumnCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataGridViewColumnCollection() |
DataGridViewColumnCollection(DataGridView dataGridView) |
DataGridViewColumnCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add(DataGridViewColumn dataGridViewColumn) |
int |
Add(java.lang.String columnName,
java.lang.String headerText) |
void |
addCollectionChanged(CollectionChangeEventHandler handler) |
void |
AddRange(DataGridViewColumn... dataGridViewColumns) |
static DataGridViewColumnCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataGridViewColumnCollection, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
Contains(DataGridViewColumn dataGridViewColumn) |
boolean |
Contains(java.lang.String columnName) |
void |
CopyTo(DataGridViewColumn[] array,
int index) |
int |
GetColumnCount(DataGridViewElementStates includeFilter) |
int |
GetColumnsWidth(DataGridViewElementStates includeFilter) |
DataGridViewColumn |
GetFirstColumn(DataGridViewElementStates includeFilter) |
DataGridViewColumn |
GetFirstColumn(DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
DataGridViewColumn |
GetLastColumn(DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter) |
DataGridViewColumn |
GetNextColumn(DataGridViewColumn dataGridViewColumnStart,
DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter) |
DataGridViewColumn |
GetPreviousColumn(DataGridViewColumn dataGridViewColumnStart,
DataGridViewElementStates includeFilter,
DataGridViewElementStates excludeFilter) |
int |
IndexOf(DataGridViewColumn dataGridViewColumn) |
void |
Insert(int columnIndex,
DataGridViewColumn dataGridViewColumn) |
void |
Remove(DataGridViewColumn dataGridViewColumn) |
void |
Remove(java.lang.String columnName) |
void |
RemoveAt(int index) |
void |
removeCollectionChanged(CollectionChangeEventHandler handler) |
void |
setJCOInstance(JCObject instance) |
CopyTo, getCount, getIsReadOnly, getIsSynchronized, getSyncRootCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataGridViewColumnCollection()
throws java.lang.Throwable
java.lang.Throwablepublic DataGridViewColumnCollection(DataGridView dataGridView) throws java.lang.Throwable
java.lang.Throwablepublic DataGridViewColumnCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionWin32ExceptionInvalidCastExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotImplementedExceptionObjectDisposedExceptionWin32ExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionInvalidCastExceptionpublic void addCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionWin32ExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionInvalidCastExceptionpublic static DataGridViewColumnCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataGridViewColumnCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataGridViewColumnCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
InvalidEnumArgumentException,
InvalidCastException,
OverflowException,
RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionInvalidCastExceptionOverflowExceptionRankExceptionpublic boolean Contains(DataGridViewColumn dataGridViewColumn) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic boolean Contains(java.lang.String columnName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ArgumentException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
NotSupportedException,
CultureNotFoundException,
InvalidOperationException
public void CopyTo(DataGridViewColumn[] array, int index) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic int GetColumnCount(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic int GetColumnsWidth(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic DataGridViewColumn GetFirstColumn(DataGridViewElementStates includeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankExceptionpublic DataGridViewColumn GetFirstColumn(DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class BaseCollectionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class BaseCollectionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class BaseCollectionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class BaseCollectionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class BaseCollectionJCType representing the CLR Type of the instantiated Classpublic DataGridViewColumn GetLastColumn(DataGridViewElementStates includeFilter, DataGridViewElementStates excludeFilter) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankExceptionpublic int IndexOf(DataGridViewColumn dataGridViewColumn) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionArithmeticExceptionRankExceptionOutOfMemoryExceptionSecurityExceptionKeyNotFoundExceptionOverflowExceptionInvalidEnumArgumentExceptionIndexOutOfRangeExceptionInvalidCastExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32Exceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionRankExceptionInvalidEnumArgumentExceptionInvalidCastExceptionSecurityExceptionIndexOutOfRangeExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionCultureNotFoundExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionRankExceptionFormatExceptionInvalidEnumArgumentExceptionInvalidCastExceptionSecurityExceptionpublic 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
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionRankExceptionWin32ExceptionKeyNotFoundExceptionFormatExceptionOverflowExceptionInvalidEnumArgumentExceptionInvalidCastExceptionMulticastNotSupportedExceptionpublic void removeCollectionChanged(CollectionChangeEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class BaseCollection