Package system.windows.forms
Class DataGridViewTextBoxCell
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.DataGridViewElement
-
- system.windows.forms.DataGridViewCell
-
- system.windows.forms.DataGridViewTextBoxCell
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class DataGridViewTextBoxCell extends DataGridViewCell
The base .NET class managing System.Windows.Forms.DataGridViewTextBoxCell, System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.DataGridViewTextBoxCell
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=9.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.DataGridViewTextBoxCellstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataGridViewTextBoxCell()
DataGridViewTextBoxCell(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataGridViewTextBoxCell
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDataGridViewTextBoxCell
, a cast assert is made to check if types are compatible.NetObject
Clone()
void
DetachEditingControl()
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
getMaxInputLength()
void
InitializeEditingControl(int rowIndex, NetObject initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle)
boolean
KeyEntersEditMode(KeyEventArgs e)
void
PositionEditingControl(boolean setLocation, boolean setSize, Rectangle cellBounds, Rectangle cellClip, DataGridViewCellStyle cellStyle, boolean singleVerticalBorderAdded, boolean singleHorizontalBorderAdded, boolean isFirstDisplayedColumn, boolean isFirstDisplayedRow)
void
setJCOInstance(JCObject instance)
void
setMaxInputLength(int MaxInputLength)
-
Methods inherited from class system.windows.forms.DataGridViewCell
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, setValueType
-
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=9.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.DataGridViewTextBoxCell- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataGridViewTextBoxCell
public DataGridViewTextBoxCell(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataGridViewTextBoxCell
public DataGridViewTextBoxCell() throws java.lang.Throwable, ArgumentNullException, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
NotSupportedException
PlatformNotSupportedException
-
-
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 classDataGridViewCell
- 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 classDataGridViewCell
- 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 classDataGridViewCell
- 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 classDataGridViewCell
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDataGridViewCell
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDataGridViewCell
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataGridViewTextBoxCell cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDataGridViewTextBoxCell
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataGridViewTextBoxCell
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
KeyEntersEditMode
public boolean KeyEntersEditMode(KeyEventArgs e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
-
Clone
public 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
- Overrides:
Clone
in classDataGridViewCell
- Throws:
java.lang.Throwable
ArgumentNullException
NotSupportedException
PlatformNotSupportedException
ArgumentException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
MissingMethodException
TargetInvocationException
RankException
ArrayTypeMismatchException
InvalidCastException
InvalidEnumArgumentException
InvalidOperationException
CultureNotFoundException
Win32Exception
MulticastNotSupportedException
ThreadStateException
KeyNotFoundException
-
DetachEditingControl
public void DetachEditingControl() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException
- Overrides:
DetachEditingControl
in classDataGridViewCell
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
Win32Exception
OutOfMemoryException
-
InitializeEditingControl
public 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
- Overrides:
InitializeEditingControl
in classDataGridViewCell
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
Win32Exception
SecurityException
IOException
OverflowException
OutOfMemoryException
InvalidEnumArgumentException
-
PositionEditingControl
public 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
- Overrides:
PositionEditingControl
in classDataGridViewCell
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
Win32Exception
-
getMaxInputLength
public int getMaxInputLength() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaxInputLength
public void setMaxInputLength(int MaxInputLength) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
-