Package system.windows.annotations
Class AnnotationService
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.annotations.AnnotationService
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class AnnotationService extends DispatcherObject
The base .NET class managing System.Windows.Annotations.AnnotationService, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Annotations.AnnotationService
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: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Annotations.AnnotationServicestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description AnnotationService()AnnotationService(java.lang.Object instance)Internal constructor.AnnotationService(FlowDocumentReader viewer)AnnotationService(FlowDocumentScrollViewer viewer)AnnotationService(DocumentViewerBase viewer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnnotationServicecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoAnnotationService, a cast assert is made to check if types are compatible.voidDisable()voidEnable(AnnotationStore annotationStore)booleangetIsEnabled()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 Typestatic AnnotationServiceGetService(FlowDocumentReader reader)static AnnotationServiceGetService(FlowDocumentScrollViewer viewer)static AnnotationServiceGetService(DocumentViewerBase viewer)AnnotationStoregetStore()voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.windows.threading.DispatcherObject
CheckAccess, getDispatcher, VerifyAccess
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Annotations.AnnotationService- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AnnotationService
public AnnotationService(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
AnnotationService
public AnnotationService() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
AnnotationService
public AnnotationService(FlowDocumentReader viewer) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, IndexOutOfRangeException, OutOfMemoryException, OverflowException, TimeoutException, SecurityException, PlatformNotSupportedException, NotSupportedException, FormatException, KeyNotFoundException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionOverflowExceptionTimeoutExceptionSecurityExceptionPlatformNotSupportedExceptionNotSupportedExceptionFormatExceptionKeyNotFoundExceptionMulticastNotSupportedException
-
AnnotationService
public AnnotationService(FlowDocumentScrollViewer viewer) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, IndexOutOfRangeException, OutOfMemoryException, OverflowException, TimeoutException, SecurityException, PlatformNotSupportedException, NotSupportedException, FormatException, KeyNotFoundException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionOverflowExceptionTimeoutExceptionSecurityExceptionPlatformNotSupportedExceptionNotSupportedExceptionFormatExceptionKeyNotFoundExceptionMulticastNotSupportedException
-
AnnotationService
public AnnotationService(DocumentViewerBase viewer) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, IndexOutOfRangeException, OutOfMemoryException, OverflowException, TimeoutException, SecurityException, PlatformNotSupportedException, NotSupportedException, FormatException, KeyNotFoundException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionOverflowExceptionTimeoutExceptionSecurityExceptionPlatformNotSupportedExceptionNotSupportedExceptionFormatExceptionKeyNotFoundExceptionMulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDispatcherObject- 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 classDispatcherObject- 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 classDispatcherObject- 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 classDispatcherObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDispatcherObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDispatcherObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static AnnotationService cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoAnnotationService, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
AnnotationServiceinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetService
public static AnnotationService GetService(FlowDocumentReader reader) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
GetService
public static AnnotationService GetService(FlowDocumentScrollViewer viewer) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
GetService
public static AnnotationService GetService(DocumentViewerBase viewer) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
Disable
public void Disable() throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, InvalidCastException, SecurityException, UnauthorizedAccessException, IOException, MulticastNotSupportedException, Win32Exception, KeyNotFoundException- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotSupportedExceptionIndexOutOfRangeExceptionInvalidCastExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMulticastNotSupportedExceptionWin32ExceptionKeyNotFoundException
-
Enable
public void Enable(AnnotationStore annotationStore) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, MissingMethodException, SecurityException, ArgumentOutOfRangeException, IndexOutOfRangeException, UnauthorizedAccessException, IOException, KeyNotFoundException, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionMissingMethodExceptionSecurityExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionUnauthorizedAccessExceptionIOExceptionKeyNotFoundExceptionInvalidEnumArgumentException
-
getIsEnabled
public boolean getIsEnabled() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStore
public AnnotationStore getStore() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-