public class DataGridViewTextBoxCell extends DataGridViewCell
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.DataGridViewTextBoxCell
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=9.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.DataGridViewTextBoxCell
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataGridViewTextBoxCell()
Initializes a new instance by invoking the .NET constructor.
|
DataGridViewTextBoxCell(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DataGridViewTextBoxCell |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataGridViewTextBoxCell, a cast assert is made to check if types are compatible. |
NetObject |
Clone()
Invokes the .NET member Clone.
|
void |
DetachEditingControl()
Invokes the .NET member DetachEditingControl.
|
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. |
int |
getMaxInputLength()
Gets the value of the .NET property MaxInputLength.
|
void |
InitializeEditingControl(int rowIndex,
NetObject initialFormattedValue,
DataGridViewCellStyle dataGridViewCellStyle)
Invokes the .NET member InitializeEditingControl.
|
boolean |
KeyEntersEditMode(KeyEventArgs e)
Invokes the .NET member KeyEntersEditMode.
|
void |
PositionEditingControl(boolean setLocation,
boolean setSize,
Rectangle cellBounds,
Rectangle cellClip,
DataGridViewCellStyle cellStyle,
boolean singleVerticalBorderAdded,
boolean singleHorizontalBorderAdded,
boolean isFirstDisplayedColumn,
boolean isFirstDisplayedRow)
Invokes the .NET member PositionEditingControl.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMaxInputLength(int MaxInputLength)
Sets the value of the .NET property MaxInputLength.
|
AdjustCellBorderStyle, close, Dispose, getAccessibilityObject, getColumnIndex, getContentBounds, GetContentBounds, getContextMenuStrip, getDefaultNewRowValue, getDisplayed, getEditedFormattedValue, GetEditedFormattedValue, getEditType, getErrorIconBounds, getErrorText, getFormattedValue, getFormattedValueType, getFrozen, getHasStyle, GetInheritedContextMenuStrip, getInheritedState, GetInheritedState, getInheritedStyle, GetInheritedStyle, getIsInEditMode, getOwningColumn, getOwningRow, getPreferredSize, getReadOnly, getResizable, getRowIndex, getSelected, getSize, getStyle, getTag, getToolTipText, getValue, getValueType, getVisible, MeasureTextHeight, MeasureTextHeight, MeasureTextPreferredSize, MeasureTextSize, MeasureTextWidth, ParseFormattedValue, PositionEditingPanel, setContextMenuStrip, setErrorText, setOwningColumn, setOwningRow, setReadOnly, setSelected, setStyle, setTag, setToolTipText, setValue, setValueTypegetDataGridView, getState, setDataGridView, setStatepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataGridViewTextBoxCell()
throws java.lang.Throwable,
ArgumentNullException,
NotSupportedException,
PlatformNotSupportedException
java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic DataGridViewTextBoxCell(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 DataGridViewTextBoxCell cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataGridViewTextBoxCell, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataGridViewTextBoxCell instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, ArgumentNullException, NotSupportedException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException, RankException, ArrayTypeMismatchException, InvalidCastException, InvalidEnumArgumentException, InvalidOperationException, CultureNotFoundException, Win32Exception, MulticastNotSupportedException, ThreadStateException, KeyNotFoundException
Clone in class DataGridViewCelljava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itWin32Exception - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic void DetachEditingControl()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
IndexOutOfRangeException,
Win32Exception,
OutOfMemoryException
DetachEditingControl in class DataGridViewCelljava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DataGridViewCellpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DataGridViewCellpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DataGridViewCellnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DataGridViewCellpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class DataGridViewCellpublic int getMaxInputLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void InitializeEditingControl(int rowIndex,
NetObject initialFormattedValue,
DataGridViewCellStyle dataGridViewCellStyle)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
Win32Exception,
SecurityException,
IOException,
OverflowException,
OutOfMemoryException,
InvalidEnumArgumentException
InitializeEditingControl in class DataGridViewCellrowIndex - the argument of type intinitialFormattedValue - the argument of type NetObjectdataGridViewCellStyle - the argument of type DataGridViewCellStylejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itWin32Exception - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic boolean KeyEntersEditMode(KeyEventArgs e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
KeyEntersEditMode in class DataGridViewCelle - the argument of type KeyEventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void PositionEditingControl(boolean setLocation,
boolean setSize,
Rectangle cellBounds,
Rectangle cellClip,
DataGridViewCellStyle cellStyle,
boolean singleVerticalBorderAdded,
boolean singleHorizontalBorderAdded,
boolean isFirstDisplayedColumn,
boolean isFirstDisplayedRow)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
Win32Exception
PositionEditingControl in class DataGridViewCellsetLocation - the argument of type booleansetSize - the argument of type booleancellBounds - the argument of type RectanglecellClip - the argument of type RectanglecellStyle - the argument of type DataGridViewCellStylesingleVerticalBorderAdded - the argument of type booleansingleHorizontalBorderAdded - the argument of type booleanisFirstDisplayedColumn - the argument of type booleanisFirstDisplayedRow - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class DataGridViewCellinstance - the new underlying objectpublic void setMaxInputLength(int MaxInputLength)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
MaxInputLength - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises it