Package system.windows.forms
Class ErrorProvider
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.windows.forms.ErrorProvider
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,ISupportInitialize
public class ErrorProvider extends Component implements ISupportInitialize
The base .NET class managing System.Windows.Forms.ErrorProvider, 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.ErrorProvider
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=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.ErrorProviderstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ErrorProvider()ErrorProvider(java.lang.Object instance)Internal constructor.ErrorProvider(IContainer container)ErrorProvider(ContainerControl parentControl)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRightToLeftChanged(EventHandler handler)voidBindToDataAndErrors(NetObject newDataSource, java.lang.String newDataMember)booleanCanExtend(NetObject extendee)static ErrorProvidercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoErrorProvider, a cast assert is made to check if types are compatible.voidClear()intgetBlinkRate()ErrorBlinkStylegetBlinkStyle()ContainerControlgetContainerControl()java.lang.StringgetDataMember()NetObjectgetDataSource()java.lang.StringGetError(Control control)booleangetHasErrors()IcongetIcon()ErrorIconAlignmentGetIconAlignment(Control control)intGetIconPadding(Control control)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 TypebooleangetRightToLeft()NetObjectgetTag()voidremoveRightToLeftChanged(EventHandler handler)voidsetBlinkRate(int BlinkRate)voidsetBlinkStyle(ErrorBlinkStyle BlinkStyle)voidsetContainerControl(ContainerControl ContainerControl)voidsetDataMember(java.lang.String DataMember)voidsetDataSource(NetObject DataSource)voidSetError(Control control, java.lang.String value)voidsetIcon(Icon Icon)voidSetIconAlignment(Control control, ErrorIconAlignment value)voidSetIconPadding(Control control, int padding)voidsetJCOInstance(JCObject instance)voidsetRightToLeft(boolean RightToLeft)voidsetTag(NetObject Tag)voidUpdateBinding()-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.componentmodel.ISupportInitialize
BeginInit, EndInit
-
-
-
-
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.ErrorProvider- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ErrorProvider
public ErrorProvider(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ErrorProvider
public ErrorProvider() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, OutOfMemoryException, Win32Exception
-
ErrorProvider
public ErrorProvider(IContainer container) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, OutOfMemoryException, RankException, ArrayTypeMismatchException
-
ErrorProvider
public ErrorProvider(ContainerControl parentControl) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, OutOfMemoryException, RankException, ArrayTypeMismatchException, CultureNotFoundException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceISupportInitialize- Overrides:
getJCOAssemblyNamein classComponent- 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- Specified by:
getJCOClassNamein interfaceISupportInitialize- Overrides:
getJCOClassNamein classComponent- 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- Specified by:
getJCOObjectNamein interfaceISupportInitialize- Overrides:
getJCOObjectNamein classComponent- 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- Specified by:
getJCOInstancein interfaceISupportInitialize- Overrides:
getJCOInstancein classComponent- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceISupportInitialize- Overrides:
getJCOTypein classComponent- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ErrorProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoErrorProvider, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ErrorProviderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CanExtend
public boolean CanExtend(NetObject extendee) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetIconPadding
public int GetIconPadding(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException
-
GetError
public java.lang.String GetError(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException
-
GetIconAlignment
public ErrorIconAlignment GetIconAlignment(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException
-
BindToDataAndErrors
public void BindToDataAndErrors(NetObject newDataSource, java.lang.String newDataMember) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, ArgumentOutOfRangeException, CultureNotFoundException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, IndexOutOfRangeException, FormatException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionWin32ExceptionIndexOutOfRangeExceptionFormatExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedException
-
SetError
public void SetError(Control control, java.lang.String value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException
-
SetIconAlignment
public void SetIconAlignment(Control control, ErrorIconAlignment value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException, InvalidEnumArgumentException
-
SetIconPadding
public void SetIconPadding(Control control, int padding) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException
-
UpdateBinding
public void UpdateBinding() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, RankException, ArrayTypeMismatchException, InvalidCastException, Win32Exception- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionWin32Exception
-
getHasErrors
public boolean getHasErrors() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRightToLeft
public boolean getRightToLeft() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRightToLeft
public void setRightToLeft(boolean RightToLeft) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, OverflowException, Win32Exception, ArgumentOutOfRangeException, ArrayTypeMismatchException, ObjectDisposedException, OutOfMemoryException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOverflowExceptionWin32ExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionObjectDisposedExceptionOutOfMemoryException
-
getBlinkRate
public int getBlinkRate() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setBlinkRate
public void setBlinkRate(int BlinkRate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, InvalidEnumArgumentException, OutOfMemoryException, Win32Exception, IndexOutOfRangeException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionWin32ExceptionIndexOutOfRangeExceptionMulticastNotSupportedException
-
getIcon
public Icon getIcon() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OverflowException, Win32Exception
-
setIcon
public void setIcon(Icon Icon) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException, Win32Exception, ObjectDisposedException, OutOfMemoryException
-
getDataSource
public NetObject getDataSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataSource
public void setDataSource(NetObject DataSource) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ObjectDisposedException, MulticastNotSupportedException, OutOfMemoryException
-
getTag
public NetObject getTag() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTag
public void setTag(NetObject Tag) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDataMember
public java.lang.String getDataMember() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDataMember
public void setDataMember(java.lang.String DataMember) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, ArgumentOutOfRangeException, CultureNotFoundException
-
getContainerControl
public ContainerControl getContainerControl() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContainerControl
public void setContainerControl(ContainerControl ContainerControl) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, MulticastNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionMulticastNotSupportedExceptionNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedException
-
getBlinkStyle
public ErrorBlinkStyle getBlinkStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBlinkStyle
public void setBlinkStyle(ErrorBlinkStyle BlinkStyle) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, NotSupportedException, Win32Exception, OutOfMemoryException, ObjectDisposedException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionArgumentNullExceptionNotSupportedExceptionWin32ExceptionOutOfMemoryExceptionObjectDisposedExceptionMulticastNotSupportedException
-
addRightToLeftChanged
public void addRightToLeftChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeRightToLeftChanged
public void removeRightToLeftChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-