Package system.windows.media
Class VisualTreeHelper
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.media.VisualTreeHelper
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class VisualTreeHelper extends NetObject
The base .NET class managing System.Windows.Media.VisualTreeHelper, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.VisualTreeHelper
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.VisualTreeHelperstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description VisualTreeHelper()VisualTreeHelper(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VisualTreeHelpercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoVisualTreeHelper, a cast assert is made to check if types are compatible.static BitmapEffectGetBitmapEffect(Visual reference)static BitmapEffectInputGetBitmapEffectInput(Visual reference)static CacheModeGetCacheMode(Visual reference)static DependencyObjectGetChild(DependencyObject reference, int childIndex)static intGetChildrenCount(DependencyObject reference)static GeometryGetClip(Visual reference)static Rect3DGetContentBounds(Visual3D reference)static RectGetContentBounds(Visual reference)static Rect3DGetDescendantBounds(Visual3D reference)static RectGetDescendantBounds(Visual reference)static DpiScaleGetDpi(Visual visual)static DrawingGroupGetDrawing(Visual reference)static EdgeModeGetEdgeMode(Visual reference)static EffectGetEffect(Visual reference)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 VectorGetOffset(Visual reference)static doubleGetOpacity(Visual reference)static BrushGetOpacityMask(Visual reference)static DependencyObjectGetParent(DependencyObject reference)static TransformGetTransform(Visual reference)static DoubleCollectionGetXSnappingGuidelines(Visual reference)static DoubleCollectionGetYSnappingGuidelines(Visual reference)static voidHitTest(Visual3D reference, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters3D hitTestParameters)static voidHitTest(Visual reference, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters hitTestParameters)static HitTestResultHitTest(Visual reference, Point point)voidsetJCOInstance(JCObject instance)static voidSetRootDpi(Visual visual, DpiScale dpiInfo)
-
-
-
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.VisualTreeHelper- 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 classNetObject- 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 classNetObject- 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 classNetObject- 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 classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static VisualTreeHelper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoVisualTreeHelper, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
VisualTreeHelperinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetOpacity
public static double GetOpacity(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetChildrenCount
public static int GetChildrenCount(DependencyObject reference) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
GetChild
public static DependencyObject GetChild(DependencyObject reference, int childIndex) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
-
GetParent
public static DependencyObject GetParent(DependencyObject reference) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
GetDpi
public static DpiScale GetDpi(Visual visual) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, Win32Exception, ObjectDisposedException, AbandonedMutexException
-
GetOpacityMask
public static Brush GetOpacityMask(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetCacheMode
public static CacheMode GetCacheMode(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetXSnappingGuidelines
public static DoubleCollection GetXSnappingGuidelines(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetYSnappingGuidelines
public static DoubleCollection GetYSnappingGuidelines(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetDrawing
public static DrawingGroup GetDrawing(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetEdgeMode
public static EdgeMode GetEdgeMode(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetBitmapEffect
public static BitmapEffect GetBitmapEffect(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetBitmapEffectInput
public static BitmapEffectInput GetBitmapEffectInput(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetEffect
public static Effect GetEffect(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetClip
public static Geometry GetClip(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
HitTest
public static HitTestResult HitTest(Visual reference, Point point) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, OverflowException, Win32Exception, ObjectDisposedException, ArgumentOutOfRangeException, SecurityException, IOException
-
GetContentBounds
public static Rect3D GetContentBounds(Visual3D reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, OverflowException, IndexOutOfRangeException, ArgumentOutOfRangeException, Win32Exception, SecurityException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionOverflowExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionWin32ExceptionSecurityExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastException
-
GetDescendantBounds
public static Rect3D GetDescendantBounds(Visual3D reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, OverflowException, IndexOutOfRangeException, ArgumentOutOfRangeException, Win32Exception, SecurityException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionOverflowExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionWin32ExceptionSecurityExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastException
-
GetTransform
public static Transform GetTransform(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
GetContentBounds
public static Rect GetContentBounds(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, OverflowException, IndexOutOfRangeException, ArgumentOutOfRangeException, Win32Exception, SecurityException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionOverflowExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionWin32ExceptionSecurityExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastException
-
GetDescendantBounds
public static Rect GetDescendantBounds(Visual reference) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, OverflowException, IndexOutOfRangeException, ArgumentOutOfRangeException, Win32Exception, SecurityException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionOverflowExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionWin32ExceptionSecurityExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastException
-
GetOffset
public static Vector GetOffset(Visual reference) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
HitTest
public static void HitTest(Visual3D reference, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters3D hitTestParameters) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, OverflowException, IndexOutOfRangeException, ArgumentOutOfRangeException, Win32Exception, SecurityException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException, ArithmeticException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionOverflowExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionWin32ExceptionSecurityExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastExceptionArithmeticExceptionNotSupportedException
-
HitTest
public static void HitTest(Visual reference, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters hitTestParameters) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentException, OverflowException, IndexOutOfRangeException, ArgumentOutOfRangeException, Win32Exception, SecurityException, ObjectDisposedException, OutOfMemoryException, MulticastNotSupportedException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentExceptionOverflowExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionWin32ExceptionSecurityExceptionObjectDisposedExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidCastException
-
SetRootDpi
public static void SetRootDpi(Visual visual, DpiScale dpiInfo) throws java.lang.Throwable, NullReferenceException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, Win32Exception, ObjectDisposedException, AbandonedMutexException
-
-