public class Application extends DispatcherObject implements IQueryAmbient
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Application
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Application
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Application() |
Application(java.lang.Object instance)
Internal constructor.
|
CheckAccess, getDispatcher, VerifyAccessEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringIsAmbientPropertyAvailable, ToIQueryAmbientpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Application()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
TimeoutException,
NullReferenceException,
NotSupportedException,
FormatException,
CultureNotFoundException,
UriFormatException,
UnreachableException,
OutOfMemoryException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
XamlException,
NotImplementedException,
XamlParseException,
MulticastNotSupportedException,
SystemException,
WebException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionTimeoutExceptionNullReferenceExceptionNotSupportedExceptionFormatExceptionCultureNotFoundExceptionUriFormatExceptionUnreachableExceptionOutOfMemoryExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionXamlExceptionNotImplementedExceptionXamlParseExceptionMulticastNotSupportedExceptionSystemExceptionWebExceptionpublic Application(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addActivated(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDeactivated(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addDispatcherUnhandledException(DispatcherUnhandledExceptionEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addExit(ExitEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addFragmentNavigation(FragmentNavigationEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLoadCompleted(LoadCompletedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addNavigated(NavigatedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addNavigating(NavigatingCancelEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addNavigationFailed(NavigationFailedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addNavigationProgress(NavigationProgressEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addNavigationStopped(NavigationStoppedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addSessionEnding(SessionEndingCancelEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addStartup(StartupEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static Application cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Application, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedApplication instancejava.lang.Throwable - in case of error during cast operationpublic NetObject FindResource(NetObject resourceKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, XamlParseException, KeyNotFoundException, XamlException, NotImplementedException, XamlParseException, MulticastNotSupportedException, NullReferenceException, Win32Exception, InvalidEnumArgumentException, TimeoutException, WebException, IndexOutOfRangeException, InvalidCastException, OverflowException, AmbiguousMatchException, FileLoadException, CultureNotFoundException, SecurityException, ResourceReferenceKeyNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionXamlParseExceptionKeyNotFoundExceptionXamlExceptionNotImplementedExceptionMulticastNotSupportedExceptionNullReferenceExceptionWin32ExceptionInvalidEnumArgumentExceptionTimeoutExceptionWebExceptionIndexOutOfRangeExceptionInvalidCastExceptionOverflowExceptionAmbiguousMatchExceptionFileLoadExceptionCultureNotFoundExceptionSecurityExceptionResourceReferenceKeyNotFoundExceptionpublic static StreamResourceInfo GetContentStream(Uri uriContent) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, UriFormatException, SecurityException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionUriFormatExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionpublic static java.lang.String GetCookie(Uri uri) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, UnreachableException, PlatformNotSupportedException, OutOfMemoryException, UriFormatException, FormatException, Win32Exception
public static Application getCurrent() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IQueryAmbientgetJCOAssemblyName in class DispatcherObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IQueryAmbientgetJCOClassName in class DispatcherObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IQueryAmbientgetJCOInstance in class DispatcherObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IQueryAmbientgetJCOObjectName in class DispatcherObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IQueryAmbientgetJCOType in class DispatcherObjectJCType representing the CLR Type of the instantiated Classpublic Window getMainWindow() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionpublic IDictionary getProperties() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static StreamResourceInfo GetRemoteStream(Uri uriRemote) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, UriFormatException, CultureNotFoundException, OverflowException, SecurityException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionUriFormatExceptionCultureNotFoundExceptionOverflowExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionpublic static Assembly getResourceAssembly() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public ResourceDictionary getResources() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, SecurityException, IOException, MulticastNotSupportedException, NullReferenceException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionArgumentExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionSecurityExceptionIOExceptionMulticastNotSupportedExceptionNullReferenceExceptionpublic static StreamResourceInfo GetResourceStream(Uri uriResource) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, UriFormatException, SecurityException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionUriFormatExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionpublic ShutdownMode getShutdownMode() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionpublic Uri getStartupUri() throws java.lang.Throwable
java.lang.Throwablepublic ThemeMode getThemeMode() throws java.lang.Throwable
java.lang.Throwablepublic WindowCollection getWindows() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
public static void LoadComponent(NetObject component, Uri resourceLocator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, UnreachableException, OutOfMemoryException, UriFormatException, CultureNotFoundException, SecurityException, IOException, UnauthorizedAccessException, OverflowException, InvalidCastException, MissingMemberException, AmbiguousMatchException, NotImplementedException, XamlException, XamlParseException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionUnreachableExceptionOutOfMemoryExceptionUriFormatExceptionCultureNotFoundExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionOverflowExceptionInvalidCastExceptionMissingMemberExceptionAmbiguousMatchExceptionNotImplementedExceptionXamlExceptionXamlParseExceptionpublic static NetObject LoadComponent(Uri resourceLocator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, CultureNotFoundException, UriFormatException, OutOfMemoryException, UnreachableException, SecurityException, IOException, UnauthorizedAccessException, InvalidCastException, AmbiguousMatchException, XamlException, NotImplementedException, XamlParseException, XmlException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionUriFormatExceptionOutOfMemoryExceptionUnreachableExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionInvalidCastExceptionAmbiguousMatchExceptionXamlExceptionNotImplementedExceptionXamlParseExceptionXmlExceptionpublic void removeActivated(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDeactivated(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeDispatcherUnhandledException(DispatcherUnhandledExceptionEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeExit(ExitEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeFragmentNavigation(FragmentNavigationEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLoadCompleted(LoadCompletedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeNavigated(NavigatedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeNavigating(NavigatingCancelEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeNavigationFailed(NavigationFailedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeNavigationProgress(NavigationProgressEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeNavigationStopped(NavigationStoppedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeSessionEnding(SessionEndingCancelEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeStartup(StartupEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic int Run()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
InvalidCastException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
RankException,
ArrayTypeMismatchException,
Win32Exception,
NullReferenceException,
TimeoutException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionInvalidCastExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionRankExceptionArrayTypeMismatchExceptionWin32ExceptionNullReferenceExceptionTimeoutExceptionpublic int Run(Window window) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, InvalidCastException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, NullReferenceException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionInvalidCastExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionWin32ExceptionNullReferenceExceptionpublic static void SetCookie(Uri uri, java.lang.String value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, UriFormatException, PlatformNotSupportedException, Win32Exception
public void setJCOInstance(JCObject instance)
setJCOInstance in class DispatcherObjectpublic void setMainWindow(Window MainWindow) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionpublic static void setResourceAssembly(Assembly ResourceAssembly) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
public void setResources(ResourceDictionary Resources) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, ExternalException, SecurityException, IOException, UnauthorizedAccessException, InvalidEnumArgumentException, NullReferenceException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionArgumentExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionInvalidEnumArgumentExceptionNullReferenceExceptionpublic void setShutdownMode(ShutdownMode ShutdownMode) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException
public void setStartupUri(Uri StartupUri) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionpublic void setThemeMode(ThemeMode ThemeMode) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArrayTypeMismatchException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, MulticastNotSupportedException, UriFormatException, SecurityException, IOException, UnauthorizedAccessException, Win32Exception, UnreachableException, WebException, CookieException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionOutOfMemoryExceptionExternalExceptionArrayTypeMismatchExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionUriFormatExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionWin32ExceptionUnreachableExceptionWebExceptionCookieExceptionpublic void Shutdown()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
NotSupportedException,
NullReferenceException,
CultureNotFoundException,
EventSourceException,
Win32Exception,
TimeoutException
public void Shutdown(int exitCode)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
NotSupportedException,
RankException,
FormatException,
EventSourceException,
NullReferenceException,
Win32Exception,
InvalidEnumArgumentException,
TimeoutException
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionNotSupportedExceptionRankExceptionFormatExceptionEventSourceExceptionNullReferenceExceptionWin32ExceptionInvalidEnumArgumentExceptionTimeoutExceptionpublic NetObject TryFindResource(NetObject resourceKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, XamlParseException, KeyNotFoundException, XamlException, NotImplementedException, XamlParseException, MulticastNotSupportedException, NullReferenceException, Win32Exception, InvalidEnumArgumentException, TimeoutException, WebException, IndexOutOfRangeException, InvalidCastException, OverflowException, AmbiguousMatchException, FileLoadException, CultureNotFoundException, SecurityException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionXamlParseExceptionKeyNotFoundExceptionXamlExceptionNotImplementedExceptionMulticastNotSupportedExceptionNullReferenceExceptionWin32ExceptionInvalidEnumArgumentExceptionTimeoutExceptionWebExceptionIndexOutOfRangeExceptionInvalidCastExceptionOverflowExceptionAmbiguousMatchExceptionFileLoadExceptionCultureNotFoundExceptionSecurityException