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=8.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.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.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.ErrorProviderstatic JCType
classType
The 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 void
addRightToLeftChanged(EventHandler handler)
void
BindToDataAndErrors(NetObject newDataSource, java.lang.String newDataMember)
boolean
CanExtend(NetObject extendee)
static ErrorProvider
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoErrorProvider
, a cast assert is made to check if types are compatible.void
Clear()
int
getBlinkRate()
ErrorBlinkStyle
getBlinkStyle()
ContainerControl
getContainerControl()
java.lang.String
getDataMember()
NetObject
getDataSource()
java.lang.String
GetError(Control control)
boolean
getHasErrors()
Icon
getIcon()
ErrorIconAlignment
GetIconAlignment(Control control)
int
GetIconPadding(Control control)
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 Typeboolean
getRightToLeft()
NetObject
getTag()
void
removeRightToLeftChanged(EventHandler handler)
void
setBlinkRate(int BlinkRate)
void
setBlinkStyle(ErrorBlinkStyle BlinkStyle)
void
setContainerControl(ContainerControl ContainerControl)
void
setDataMember(java.lang.String DataMember)
void
setDataSource(NetObject DataSource)
void
SetError(Control control, java.lang.String value)
void
setIcon(Icon Icon)
void
SetIconAlignment(Control control, ErrorIconAlignment value)
void
SetIconPadding(Control control, int padding)
void
setJCOInstance(JCObject instance)
void
setRightToLeft(boolean RightToLeft)
void
setTag(NetObject Tag)
void
UpdateBinding()
-
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=8.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.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
ErrorProvider
public ErrorProvider() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, FormatException, OverflowException, Win32Exception, ObjectDisposedException, MulticastNotSupportedException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentNullException
FormatException
OverflowException
Win32Exception
ObjectDisposedException
MulticastNotSupportedException
OutOfMemoryException
-
ErrorProvider
public ErrorProvider(IContainer container) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, FormatException, OverflowException, Win32Exception, ObjectDisposedException, MulticastNotSupportedException, OutOfMemoryException, RankException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentNullException
FormatException
OverflowException
Win32Exception
ObjectDisposedException
MulticastNotSupportedException
OutOfMemoryException
RankException
ArrayTypeMismatchException
-
ErrorProvider
public ErrorProvider(ContainerControl parentControl) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, FormatException, OverflowException, Win32Exception, ObjectDisposedException, MulticastNotSupportedException, OutOfMemoryException, RankException, ArrayTypeMismatchException, CultureNotFoundException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
ArgumentNullException
FormatException
OverflowException
Win32Exception
ObjectDisposedException
MulticastNotSupportedException
OutOfMemoryException
RankException
ArrayTypeMismatchException
CultureNotFoundException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISupportInitialize
- Overrides:
getJCOAssemblyName
in classComponent
- 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
- Specified by:
getJCOClassName
in interfaceISupportInitialize
- Overrides:
getJCOClassName
in classComponent
- 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
- Specified by:
getJCOObjectName
in interfaceISupportInitialize
- Overrides:
getJCOObjectName
in classComponent
- 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
- Specified by:
getJCOInstance
in interfaceISupportInitialize
- Overrides:
getJCOInstance
in classComponent
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classComponent
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISupportInitialize
- Overrides:
getJCOType
in classComponent
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ErrorProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoErrorProvider
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ErrorProvider
instance- 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, ObjectDisposedException, AccessViolationException, MulticastNotSupportedException
-
GetError
public java.lang.String GetError(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, ObjectDisposedException, AccessViolationException, MulticastNotSupportedException
-
GetIconAlignment
public ErrorIconAlignment GetIconAlignment(Control control) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, ObjectDisposedException, AccessViolationException, MulticastNotSupportedException
-
BindToDataAndErrors
public void BindToDataAndErrors(NetObject newDataSource, java.lang.String newDataMember) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, Win32Exception, FormatException, ObjectDisposedException, OutOfMemoryException, AccessViolationException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
Win32Exception
FormatException
ObjectDisposedException
OutOfMemoryException
AccessViolationException
MulticastNotSupportedException
-
SetError
public void SetError(Control control, java.lang.String value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, ObjectDisposedException, AccessViolationException, MulticastNotSupportedException
-
SetIconAlignment
public void SetIconAlignment(Control control, ErrorIconAlignment value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, ObjectDisposedException, AccessViolationException, MulticastNotSupportedException, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
Win32Exception
OutOfMemoryException
ObjectDisposedException
AccessViolationException
MulticastNotSupportedException
InvalidEnumArgumentException
-
SetIconPadding
public void SetIconPadding(Control control, int padding) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, Win32Exception, OutOfMemoryException, ObjectDisposedException, AccessViolationException, MulticastNotSupportedException
-
UpdateBinding
public void UpdateBinding() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException, RankException, ArrayTypeMismatchException, Win32Exception
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentException
MulticastNotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
OutOfMemoryException
RankException
ArrayTypeMismatchException
Win32Exception
-
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, ObjectDisposedException, PlatformNotSupportedException, InvalidOperationException, FormatException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OverflowException, AccessViolationException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ObjectDisposedException
PlatformNotSupportedException
InvalidOperationException
FormatException
ArgumentOutOfRangeException
ArrayTypeMismatchException
OverflowException
AccessViolationException
Win32Exception
OutOfMemoryException
-
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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidEnumArgumentException, OutOfMemoryException, Win32Exception, AccessViolationException, IndexOutOfRangeException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
InvalidEnumArgumentException
OutOfMemoryException
Win32Exception
AccessViolationException
IndexOutOfRangeException
NotSupportedException
MulticastNotSupportedException
-
getIcon
public Icon getIcon() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIcon
public void setIcon(Icon Icon) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, FormatException, OverflowException, AccessViolationException, OutOfMemoryException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
ObjectDisposedException
FormatException
OverflowException
AccessViolationException
OutOfMemoryException
Win32Exception
-
getDataSource
public NetObject getDataSource() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataSource
public void setDataSource(NetObject DataSource) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotSupportedException, 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, ArgumentOutOfRangeException, OutOfMemoryException, 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, ArgumentOutOfRangeException, OutOfMemoryException, CultureNotFoundException, ObjectDisposedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentException
MulticastNotSupportedException
NotSupportedException
ArgumentNullException
InvalidOperationException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
ArgumentOutOfRangeException
OutOfMemoryException
CultureNotFoundException
ObjectDisposedException
-
getBlinkStyle
public ErrorBlinkStyle getBlinkStyle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBlinkStyle
public void setBlinkStyle(ErrorBlinkStyle BlinkStyle) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, NotSupportedException, Win32Exception, OutOfMemoryException, ObjectDisposedException, OverflowException, AccessViolationException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
InvalidEnumArgumentException
NotSupportedException
Win32Exception
OutOfMemoryException
ObjectDisposedException
OverflowException
AccessViolationException
MulticastNotSupportedException
-
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
-
-