Package system.windows.forms
Class DataGridViewColumn
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.DataGridViewElement
-
- system.windows.forms.DataGridViewBand
-
- system.windows.forms.DataGridViewColumn
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
- Direct Known Subclasses:
DataGridViewButtonColumn
,DataGridViewCheckBoxColumn
,DataGridViewComboBoxColumn
,DataGridViewImageColumn
,DataGridViewLinkColumn
,DataGridViewTextBoxColumn
public class DataGridViewColumn extends DataGridViewBand
The base .NET class managing System.Windows.Forms.DataGridViewColumn, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.DataGridViewColumn
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: System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.DataGridViewColumnstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataGridViewColumn()
DataGridViewColumn(java.lang.Object instance)
Internal constructor.DataGridViewColumn(DataGridViewCell cellTemplate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDisposed(EventHandler handler)
static DataGridViewColumn
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDataGridViewColumn
, a cast assert is made to check if types are compatible.NetObject
Clone()
DataGridViewAutoSizeColumnMode
getAutoSizeMode()
DataGridViewCell
getCellTemplate()
NetType
getCellType()
java.lang.String
getDataPropertyName()
int
getDisplayIndex()
int
getDividerWidth()
Single
getFillWeight()
DataGridViewColumnHeaderCell
getHeaderCell()
java.lang.String
getHeaderText()
DataGridViewAutoSizeColumnMode
getInheritedAutoSizeMode()
boolean
getIsDataBound()
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
getMinimumWidth()
java.lang.String
getName()
int
GetPreferredWidth(DataGridViewAutoSizeColumnMode autoSizeColumnMode, boolean fixedHeight)
ISite
getSite()
DataGridViewColumnSortMode
getSortMode()
java.lang.String
getToolTipText()
NetType
getValueType()
int
getWidth()
void
removeDisposed(EventHandler handler)
void
setAutoSizeMode(DataGridViewAutoSizeColumnMode AutoSizeMode)
void
setCellTemplate(DataGridViewCell CellTemplate)
void
setDataPropertyName(java.lang.String DataPropertyName)
void
setDisplayIndex(int DisplayIndex)
void
setDividerWidth(int DividerWidth)
void
setFillWeight(Single FillWeight)
void
setHeaderCell(DataGridViewColumnHeaderCell HeaderCell)
void
setHeaderText(java.lang.String HeaderText)
void
setJCOInstance(JCObject instance)
void
setMinimumWidth(int MinimumWidth)
void
setName(java.lang.String Name)
void
setSite(ISite Site)
void
setSortMode(DataGridViewColumnSortMode SortMode)
void
setToolTipText(java.lang.String ToolTipText)
void
setValueType(NetType ValueType)
void
setWidth(int Width)
-
Methods inherited from class system.windows.forms.DataGridViewBand
close, Dispose, getContextMenuStrip, getDefaultCellStyle, getDefaultHeaderCellType, getDisplayed, getFrozen, getHasDefaultCellStyle, getIndex, getInheritedStyle, getReadOnly, getResizable, getSelected, getTag, getVisible, setContextMenuStrip, setDefaultCellStyle, setDefaultHeaderCellType, setDisplayed, setFrozen, setIndex, setReadOnly, setResizable, setSelected, setTag, setVisible
-
Methods inherited from class system.windows.forms.DataGridViewElement
getDataGridView, getState, setDataGridView, setState
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.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.DataGridViewColumn- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataGridViewColumn
public DataGridViewColumn(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataGridViewColumn
public DataGridViewColumn() throws java.lang.Throwable, ArgumentNullException, NotSupportedException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
NotSupportedException
PlatformNotSupportedException
ArgumentException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
IndexOutOfRangeException
FormatException
Win32Exception
OutOfMemoryException
InvalidEnumArgumentException
-
DataGridViewColumn
public DataGridViewColumn(DataGridViewCell cellTemplate) throws java.lang.Throwable, ArgumentNullException, NotSupportedException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, Win32Exception, RankException, ArrayTypeMismatchException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDataGridViewBand
- 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
- Overrides:
getJCOClassName
in classDataGridViewBand
- 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
- Overrides:
getJCOObjectName
in classDataGridViewBand
- 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
- Overrides:
getJCOInstance
in classDataGridViewBand
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDataGridViewBand
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDataGridViewBand
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataGridViewColumn cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataGridViewColumn
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataGridViewColumn
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetPreferredWidth
public int GetPreferredWidth(DataGridViewAutoSizeColumnMode autoSizeColumnMode, boolean fixedHeight) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidEnumArgumentException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, ExternalException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidEnumArgumentException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
ExternalException
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ArgumentOutOfRangeException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException, ThreadStateException, KeyNotFoundException, IndexOutOfRangeException
- Overrides:
Clone
in classDataGridViewBand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
ArgumentOutOfRangeException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
MulticastNotSupportedException
ThreadStateException
KeyNotFoundException
IndexOutOfRangeException
-
getIsDataBound
public boolean getIsDataBound() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDisplayIndex
public int getDisplayIndex() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDisplayIndex
public void setDisplayIndex(int DisplayIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, RankException, ArrayTypeMismatchException, NotSupportedException, InvalidEnumArgumentException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
RankException
ArrayTypeMismatchException
NotSupportedException
InvalidEnumArgumentException
IndexOutOfRangeException
Win32Exception
OutOfMemoryException
-
getDividerWidth
public int getDividerWidth() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDividerWidth
public void setDividerWidth(int DividerWidth) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException
-
getMinimumWidth
public int getMinimumWidth() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMinimumWidth
public void setMinimumWidth(int MinimumWidth) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException
-
getWidth
public int getWidth() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setWidth
public void setWidth(int Width) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, Win32Exception, NotSupportedException, RankException, ArrayTypeMismatchException
-
getFillWeight
public Single getFillWeight() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setFillWeight
public void setFillWeight(Single FillWeight) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, RankException, ArrayTypeMismatchException, NotSupportedException, InvalidEnumArgumentException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
RankException
ArrayTypeMismatchException
NotSupportedException
InvalidEnumArgumentException
IndexOutOfRangeException
Win32Exception
OutOfMemoryException
-
getSite
public ISite getSite() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSite
public void setSite(ISite Site) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDataPropertyName
public java.lang.String getDataPropertyName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataPropertyName
public void setDataPropertyName(java.lang.String DataPropertyName) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, RankException, ArrayTypeMismatchException, CultureNotFoundException, InvalidOperationException, TypeLoadException, ArgumentOutOfRangeException, InvalidEnumArgumentException, InvalidCastException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentNullException
RankException
ArrayTypeMismatchException
CultureNotFoundException
InvalidOperationException
TypeLoadException
ArgumentOutOfRangeException
InvalidEnumArgumentException
InvalidCastException
-
getHeaderText
public java.lang.String getHeaderText() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException, ObjectDisposedException, InvalidOperationException, FormatException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidEnumArgumentException
ObjectDisposedException
InvalidOperationException
FormatException
Win32Exception
-
setHeaderText
public void setHeaderText(java.lang.String HeaderText) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException, ObjectDisposedException, InvalidOperationException, Win32Exception, TypeLoadException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidEnumArgumentException
ObjectDisposedException
InvalidOperationException
Win32Exception
TypeLoadException
-
getName
public java.lang.String getName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable, NotSupportedException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, InvalidEnumArgumentException, FormatException, Win32Exception
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
OutOfMemoryException
ExternalException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
InvalidEnumArgumentException
FormatException
Win32Exception
-
getToolTipText
public java.lang.String getToolTipText() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException, ObjectDisposedException, InvalidOperationException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidEnumArgumentException
ObjectDisposedException
InvalidOperationException
Win32Exception
OutOfMemoryException
-
setToolTipText
public void setToolTipText(java.lang.String ToolTipText) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotSupportedException, PlatformNotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException, InvalidOperationException, FormatException, CultureNotFoundException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotSupportedException
PlatformNotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidEnumArgumentException
InvalidOperationException
FormatException
CultureNotFoundException
OutOfMemoryException
-
getCellType
public NetType getCellType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValueType
public NetType getValueType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValueType
public void setValueType(NetType ValueType) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException
-
getAutoSizeMode
public DataGridViewAutoSizeColumnMode getAutoSizeMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutoSizeMode
public void setAutoSizeMode(DataGridViewAutoSizeColumnMode AutoSizeMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
-
getInheritedAutoSizeMode
public DataGridViewAutoSizeColumnMode getInheritedAutoSizeMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCellTemplate
public DataGridViewCell getCellTemplate() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCellTemplate
public void setCellTemplate(DataGridViewCell CellTemplate) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHeaderCell
public DataGridViewColumnHeaderCell getHeaderCell() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException, InvalidOperationException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
RankException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidEnumArgumentException
InvalidOperationException
CultureNotFoundException
-
setHeaderCell
public void setHeaderCell(DataGridViewColumnHeaderCell HeaderCell) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException
-
getSortMode
public DataGridViewColumnSortMode getSortMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSortMode
public void setSortMode(DataGridViewColumnSortMode SortMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidEnumArgumentException
-
addDisposed
public void addDisposed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDisposed
public void removeDisposed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-