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=4.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=4.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)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
CreateObjRef, 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=4.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, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, OverflowException, Win32Exception, MulticastNotSupportedException, OutOfMemoryException, NullReferenceException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowExceptionWin32ExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionNullReferenceException
-
ErrorProvider
public ErrorProvider(IContainer container) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, IndexOutOfRangeException, Win32Exception, MulticastNotSupportedException, NullReferenceException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionIndexOutOfRangeExceptionWin32ExceptionMulticastNotSupportedExceptionNullReferenceException
-
ErrorProvider
public ErrorProvider(ContainerControl parentControl) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, IndexOutOfRangeException, Win32Exception, MulticastNotSupportedException, NullReferenceException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionOverflowExceptionIndexOutOfRangeExceptionWin32ExceptionMulticastNotSupportedExceptionNullReferenceExceptionNotSupportedException
-
-
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, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, OutOfMemoryException, AccessViolationException, MulticastNotSupportedException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionWin32ExceptionOutOfMemoryExceptionAccessViolationExceptionMulticastNotSupportedExceptionRankException
-
GetError
public java.lang.String GetError(Control control) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, OutOfMemoryException, AccessViolationException, MulticastNotSupportedException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionWin32ExceptionOutOfMemoryExceptionAccessViolationExceptionMulticastNotSupportedExceptionRankException
-
GetIconAlignment
public ErrorIconAlignment GetIconAlignment(Control control) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, OutOfMemoryException, AccessViolationException, MulticastNotSupportedException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionWin32ExceptionOutOfMemoryExceptionAccessViolationExceptionMulticastNotSupportedExceptionRankException
-
BindToDataAndErrors
public void BindToDataAndErrors(NetObject newDataSource, java.lang.String newDataMember) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, NullReferenceException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NotImplementedException, MissingManifestResourceException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, ArgumentNullException, FormatException, SecurityException, InvalidOperationException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, NullReferenceException, OutOfMemoryException, AccessViolationException, RankException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionFormatExceptionSecurityExceptionInvalidOperationExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionAccessViolationExceptionRankException
-
SetError
public void SetError(Control control, java.lang.String value) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, OutOfMemoryException, AccessViolationException, MulticastNotSupportedException, RankException, NullReferenceException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionWin32ExceptionOutOfMemoryExceptionAccessViolationExceptionMulticastNotSupportedExceptionRankExceptionNullReferenceException
-
SetIconAlignment
public void SetIconAlignment(Control control, ErrorIconAlignment value) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, OutOfMemoryException, AccessViolationException, MulticastNotSupportedException, RankException, NotImplementedException, CultureNotFoundException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionWin32ExceptionOutOfMemoryExceptionAccessViolationExceptionMulticastNotSupportedExceptionRankExceptionNotImplementedExceptionCultureNotFoundExceptionInvalidEnumArgumentException
-
SetIconPadding
public void SetIconPadding(Control control, int padding) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, Win32Exception, OutOfMemoryException, AccessViolationException, MulticastNotSupportedException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionWin32ExceptionOutOfMemoryExceptionAccessViolationExceptionMulticastNotSupportedExceptionRankException
-
UpdateBinding
public void UpdateBinding() throws java.lang.Throwable, ArgumentException, MulticastNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, InvalidOperationException, OutOfMemoryException, Win32Exception, NullReferenceException- Throws:
java.lang.ThrowableArgumentExceptionMulticastNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionWin32ExceptionNullReferenceException
-
getRightToLeft
public boolean getRightToLeft() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRightToLeft
public void setRightToLeft(boolean RightToLeft) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, Win32Exception, SecurityException, AccessViolationException, MulticastNotSupportedException, OutOfMemoryException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOverflowExceptionWin32ExceptionSecurityExceptionAccessViolationExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionNotSupportedException
-
getBlinkRate
public int getBlinkRate() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setBlinkRate
public void setBlinkRate(int BlinkRate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, Win32Exception, KeyNotFoundException, AccessViolationException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionWin32ExceptionKeyNotFoundExceptionAccessViolationException
-
getIcon
public Icon getIcon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIcon
public void setIcon(Icon Icon) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException, Win32Exception, OutOfMemoryException, SecurityException, AccessViolationException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOverflowExceptionWin32ExceptionOutOfMemoryExceptionSecurityExceptionAccessViolationExceptionMulticastNotSupportedExceptionNotSupportedException
-
getDataSource
public NetObject getDataSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataSource
public void setDataSource(NetObject DataSource) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, NullReferenceException, NotImplementedException, MissingManifestResourceException, FormatException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionNullReferenceExceptionNotImplementedExceptionMissingManifestResourceExceptionFormatExceptionMulticastNotSupportedException
-
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, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, NullReferenceException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NotImplementedException, MissingManifestResourceException, InvalidOperationException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationException
-
getContainerControl
public ContainerControl getContainerControl() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContainerControl
public void setContainerControl(ContainerControl ContainerControl) throws java.lang.Throwable, ArgumentException, MulticastNotSupportedException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, NullReferenceException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NotImplementedException, MissingManifestResourceException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentExceptionMulticastNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionNullReferenceExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionInvalidOperationException
-
getBlinkStyle
public ErrorBlinkStyle getBlinkStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBlinkStyle
public void setBlinkStyle(ErrorBlinkStyle BlinkStyle) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, NullReferenceException, OutOfMemoryException, Win32Exception, SecurityException, KeyNotFoundException, OverflowException, AccessViolationException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionNullReferenceExceptionOutOfMemoryExceptionWin32ExceptionSecurityExceptionKeyNotFoundExceptionOverflowExceptionAccessViolationExceptionMulticastNotSupportedException
-
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
-
-