Package system.windows.media
Class Visual
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.DependencyObject
-
- system.windows.media.Visual
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
ContainerVisual,UIElement,Viewport3DVisual
public class Visual extends DependencyObject
The base .NET class managing System.Windows.Media.Visual, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.Visual
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: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationCorestatic java.lang.StringclassNameQualified class name: System.Windows.Media.Visualstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Visualcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoVisual, a cast assert is made to check if types are compatible.DependencyObjectFindCommonVisualAncestor(DependencyObject otherVisual)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 TypebooleanIsAncestorOf(DependencyObject descendant)booleanIsDescendantOf(DependencyObject ancestor)PointPointFromScreen(Point point)PointPointToScreen(Point point)voidsetJCOInstance(JCObject instance)GeneralTransform2DTo3DTransformToAncestor(Visual3D ancestor)GeneralTransformTransformToAncestor(Visual ancestor)GeneralTransformTransformToDescendant(Visual descendant)GeneralTransformTransformToVisual(Visual visual)-
Methods inherited from class system.windows.DependencyObject
ClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValue
-
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: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Media.Visual- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDependencyObject- 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 classDependencyObject- 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 classDependencyObject- 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 classDependencyObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDependencyObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDependencyObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Visual cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoVisual, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Visualinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IsAncestorOf
public boolean IsAncestorOf(DependencyObject descendant) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
IsDescendantOf
public boolean IsDescendantOf(DependencyObject ancestor) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
FindCommonVisualAncestor
public DependencyObject FindCommonVisualAncestor(DependencyObject otherVisual) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentException
-
TransformToAncestor
public GeneralTransform TransformToAncestor(Visual ancestor) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentException, OverflowException, Win32Exception, ArgumentOutOfRangeException, MulticastNotSupportedException, InvalidEnumArgumentException, NotSupportedException
-
TransformToDescendant
public GeneralTransform TransformToDescendant(Visual descendant) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentException, OverflowException, Win32Exception, ArgumentOutOfRangeException, MulticastNotSupportedException, InvalidEnumArgumentException, NotSupportedException
-
TransformToVisual
public GeneralTransform TransformToVisual(Visual visual) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, OverflowException, ArgumentOutOfRangeException, Win32Exception, SecurityException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException, InvalidEnumArgumentException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionOverflowExceptionArgumentOutOfRangeExceptionWin32ExceptionSecurityExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastExceptionInvalidEnumArgumentExceptionNotSupportedException
-
TransformToAncestor
public GeneralTransform2DTo3D TransformToAncestor(Visual3D ancestor) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException
-
PointFromScreen
public Point PointFromScreen(Point point) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, OverflowException
-
PointToScreen
public Point PointToScreen(Point point) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, Win32Exception
-
-