Class WindowsFormsApplicationBase
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.visualbasic.applicationservices.ApplicationBase
-
- microsoft.visualbasic.applicationservices.ConsoleApplicationBase
-
- microsoft.visualbasic.applicationservices.WindowsFormsApplicationBase
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class WindowsFormsApplicationBase extends ConsoleApplicationBase
The base .NET class managing Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase, Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase
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: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.VisualBasicstatic java.lang.StringclassNameQualified class name: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBasestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WindowsFormsApplicationBase()WindowsFormsApplicationBase(java.lang.Object instance)Internal constructor.WindowsFormsApplicationBase(AuthenticationMode authenticationMode)
-
Method Summary
-
Methods inherited from class microsoft.visualbasic.applicationservices.ConsoleApplicationBase
getDeployment, getIsNetworkDeployed
-
Methods inherited from class microsoft.visualbasic.applicationservices.ApplicationBase
ChangeCulture, ChangeUICulture, getCulture, GetEnvironmentVariable, getInfo, getLog, getUICulture
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.VisualBasic- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, MulticastNotSupportedException, NotSupportedException, ConfigurationErrorsException, Win32Exception- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionNullReferenceExceptionMulticastNotSupportedExceptionNotSupportedExceptionConfigurationErrorsExceptionWin32Exception
-
WindowsFormsApplicationBase
public WindowsFormsApplicationBase(AuthenticationMode authenticationMode) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, MulticastNotSupportedException, NotSupportedException, ConfigurationErrorsException, Win32Exception, OutOfMemoryException, ExternalException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionNullReferenceExceptionMulticastNotSupportedExceptionNotSupportedExceptionConfigurationErrorsExceptionWin32ExceptionOutOfMemoryExceptionExternalException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classConsoleApplicationBase- 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 classConsoleApplicationBase- 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 classConsoleApplicationBase- 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 classConsoleApplicationBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classConsoleApplicationBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classConsoleApplicationBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static WindowsFormsApplicationBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoWindowsFormsApplicationBase, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
WindowsFormsApplicationBaseinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
DoEvents
public void DoEvents() throws java.lang.Throwable, ArgumentException, ObjectDisposedException, AbandonedMutexException, ArgumentNullException, FormatException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, MulticastNotSupportedException, ConfigurationErrorsException, NotSupportedException, NullReferenceException, InvalidAsynchronousStateException, SecurityException, FileNotFoundException, InvalidEnumArgumentException, Win32Exception- Throws:
java.lang.ThrowableArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentNullExceptionFormatExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionNotSupportedExceptionNullReferenceExceptionInvalidAsynchronousStateExceptionSecurityExceptionFileNotFoundExceptionInvalidEnumArgumentExceptionWin32Exception
-
Run
public void Run(java.lang.String[] commandLine) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException, NotSupportedException, OutOfMemoryException, NetworkInformationException, CultureNotFoundException, SocketException, NoStartupFormException, InvalidAsynchronousStateException, InvalidEnumArgumentException, AccessViolationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, FormatException, InvalidCastException, TypeLoadException, RemotingException, Win32Exception, CantStartSingleInstanceException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionSecurityExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionNetworkInformationExceptionCultureNotFoundExceptionSocketExceptionNoStartupFormExceptionInvalidAsynchronousStateExceptionInvalidEnumArgumentExceptionAccessViolationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionFormatExceptionInvalidCastExceptionTypeLoadExceptionRemotingExceptionWin32ExceptionCantStartSingleInstanceException
-
Run
public void Run(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException, NotSupportedException, OutOfMemoryException, NetworkInformationException, CultureNotFoundException, SocketException, NoStartupFormException, InvalidAsynchronousStateException, InvalidEnumArgumentException, AccessViolationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, FormatException, InvalidCastException, TypeLoadException, RemotingException, Win32Exception, CantStartSingleInstanceException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionSecurityExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionNetworkInformationExceptionCultureNotFoundExceptionSocketExceptionNoStartupFormExceptionInvalidAsynchronousStateExceptionInvalidEnumArgumentExceptionAccessViolationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionFormatExceptionInvalidCastExceptionTypeLoadExceptionRemotingExceptionWin32ExceptionCantStartSingleInstanceException
-
getSaveMySettingsOnExit
public boolean getSaveMySettingsOnExit() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setSaveMySettingsOnExit
public void setSaveMySettingsOnExit(boolean SaveMySettingsOnExit) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMinimumSplashScreenDisplayTime
public int getMinimumSplashScreenDisplayTime() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMinimumSplashScreenDisplayTime
public void setMinimumSplashScreenDisplayTime(int MinimumSplashScreenDisplayTime) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getApplicationContext
public ApplicationContext getApplicationContext() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSplashScreen
public Form getSplashScreen() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSplashScreen
public void setSplashScreen(Form SplashScreen) throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexException
-
getOpenForms
public FormCollection getOpenForms() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addShutdown
public void addShutdown(ShutdownEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeShutdown
public void removeShutdown(ShutdownEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addStartup
public void addStartup(StartupEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeStartup
public void removeStartup(StartupEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addStartupNextInstance
public void addStartupNextInstance(StartupNextInstanceEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeStartupNextInstance
public void removeStartupNextInstance(StartupNextInstanceEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUnhandledException
public void addUnhandledException(UnhandledExceptionEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnhandledException
public void removeUnhandledException(UnhandledExceptionEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addNetworkAvailabilityChanged
public void addNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeNetworkAvailabilityChanged
public void removeNetworkAvailabilityChanged(NetworkAvailableEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-