Package system.windows.forms
Class DataGridViewRowPrePaintEventArgs
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.EventArgs
-
- system.componentmodel.HandledEventArgs
-
- system.windows.forms.DataGridViewRowPrePaintEventArgs
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class DataGridViewRowPrePaintEventArgs extends HandledEventArgs
The base .NET class managing System.Windows.Forms.DataGridViewRowPrePaintEventArgs, System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.DataGridViewRowPrePaintEventArgs
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=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.DataGridViewRowPrePaintEventArgsstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataGridViewRowPrePaintEventArgs()DataGridViewRowPrePaintEventArgs(java.lang.Object instance)Internal constructor.DataGridViewRowPrePaintEventArgs(DataGridView dataGridView, Graphics graphics, Rectangle clipBounds, Rectangle rowBounds, int rowIndex, DataGridViewElementStates rowState, java.lang.String errorText, DataGridViewCellStyle inheritedRowStyle, boolean isFirstDisplayedRow, boolean isLastVisibleRow)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataGridViewRowPrePaintEventArgscast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDataGridViewRowPrePaintEventArgs, a cast assert is made to check if types are compatible.voidDrawFocus(Rectangle bounds, boolean cellsPaintSelectionBackground)RectanglegetClipBounds()java.lang.StringgetErrorText()GraphicsgetGraphics()DataGridViewCellStylegetInheritedRowStyle()booleangetIsFirstDisplayedRow()booleangetIsLastVisibleRow()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 TypeDataGridViewPaintPartsgetPaintParts()RectanglegetRowBounds()intgetRowIndex()DataGridViewElementStatesgetState()voidPaintCells(Rectangle clipBounds, DataGridViewPaintParts paintParts)voidPaintCellsBackground(Rectangle clipBounds, boolean cellsPaintSelectionBackground)voidPaintCellsContent(Rectangle clipBounds)voidPaintHeader(boolean paintSelectionBackground)voidPaintHeader(DataGridViewPaintParts paintParts)voidsetClipBounds(Rectangle ClipBounds)voidsetErrorText(java.lang.String ErrorText)voidsetGraphics(Graphics Graphics)voidsetInheritedRowStyle(DataGridViewCellStyle InheritedRowStyle)voidsetIsFirstDisplayedRow(boolean IsFirstDisplayedRow)voidsetIsLastVisibleRow(boolean IsLastVisibleRow)voidsetJCOInstance(JCObject instance)voidsetPaintParts(DataGridViewPaintParts PaintParts)voidsetRowBounds(Rectangle RowBounds)voidsetRowIndex(int RowIndex)voidsetState(DataGridViewElementStates State)-
Methods inherited from class system.componentmodel.HandledEventArgs
getHandled, setHandled
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=6.0.2.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.DataGridViewRowPrePaintEventArgs- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataGridViewRowPrePaintEventArgs
public DataGridViewRowPrePaintEventArgs(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
DataGridViewRowPrePaintEventArgs
public DataGridViewRowPrePaintEventArgs() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
DataGridViewRowPrePaintEventArgs
public DataGridViewRowPrePaintEventArgs(DataGridView dataGridView, Graphics graphics, Rectangle clipBounds, Rectangle rowBounds, int rowIndex, DataGridViewElementStates rowState, java.lang.String errorText, DataGridViewCellStyle inheritedRowStyle, boolean isFirstDisplayedRow, boolean isLastVisibleRow) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classHandledEventArgs- 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 classHandledEventArgs- 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 classHandledEventArgs- 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 classHandledEventArgs- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classHandledEventArgs
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classHandledEventArgs- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DataGridViewRowPrePaintEventArgs cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDataGridViewRowPrePaintEventArgs, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DataGridViewRowPrePaintEventArgsinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
DrawFocus
public void DrawFocus(Rectangle bounds, boolean cellsPaintSelectionBackground) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, InvalidEnumArgumentException
-
PaintCells
public void PaintCells(Rectangle clipBounds, DataGridViewPaintParts paintParts) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, FormatException, Win32Exception, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionFormatExceptionWin32ExceptionInvalidCastException
-
PaintCellsBackground
public void PaintCellsBackground(Rectangle clipBounds, boolean cellsPaintSelectionBackground) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, FormatException, Win32Exception, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionFormatExceptionWin32ExceptionInvalidCastException
-
PaintCellsContent
public void PaintCellsContent(Rectangle clipBounds) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, FormatException, Win32Exception, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionFormatExceptionWin32ExceptionInvalidCastException
-
PaintHeader
public void PaintHeader(boolean paintSelectionBackground) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, InvalidEnumArgumentException, MissingMethodException, TargetInvocationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, Win32Exception, InvalidCastException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionInvalidEnumArgumentExceptionMissingMethodExceptionTargetInvocationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionNotSupportedExceptionWin32ExceptionInvalidCastExceptionFormatException
-
PaintHeader
public void PaintHeader(DataGridViewPaintParts paintParts) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, InvalidEnumArgumentException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, FormatException, Win32Exception, InvalidCastException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionInvalidEnumArgumentExceptionMethodAccessExceptionMissingMethodExceptionMemberAccessExceptionTargetInvocationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionWin32ExceptionInvalidCastException
-
getIsFirstDisplayedRow
public boolean getIsFirstDisplayedRow() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsFirstDisplayedRow
public void setIsFirstDisplayedRow(boolean IsFirstDisplayedRow) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsLastVisibleRow
public boolean getIsLastVisibleRow() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsLastVisibleRow
public void setIsLastVisibleRow(boolean IsLastVisibleRow) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRowIndex
public int getRowIndex() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRowIndex
public void setRowIndex(int RowIndex) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getGraphics
public Graphics getGraphics() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setGraphics
public void setGraphics(Graphics Graphics) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getClipBounds
public Rectangle getClipBounds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setClipBounds
public void setClipBounds(Rectangle ClipBounds) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRowBounds
public Rectangle getRowBounds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRowBounds
public void setRowBounds(Rectangle RowBounds) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getErrorText
public java.lang.String getErrorText() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setErrorText
public void setErrorText(java.lang.String ErrorText) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getInheritedRowStyle
public DataGridViewCellStyle getInheritedRowStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInheritedRowStyle
public void setInheritedRowStyle(DataGridViewCellStyle InheritedRowStyle) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getState
public DataGridViewElementStates getState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setState
public void setState(DataGridViewElementStates State) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPaintParts
public DataGridViewPaintParts getPaintParts() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPaintParts
public void setPaintParts(DataGridViewPaintParts PaintParts) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundException
-
-