Package system.windows.shell
Class WindowChrome
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.threading.DispatcherObject
-
- system.windows.DependencyObject
-
- system.windows.Freezable
-
- system.windows.shell.WindowChrome
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class WindowChrome extends Freezable
The base .NET class managing System.Windows.Shell.WindowChrome, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Shell.WindowChrome
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.Shell.WindowChromestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description WindowChrome()WindowChrome(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowChromecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoWindowChrome, a cast assert is made to check if types are compatible.doublegetCaptionHeight()CornerRadiusgetCornerRadius()static ThicknessgetGlassFrameCompleteThickness()ThicknessgetGlassFrameThickness()static booleanGetIsHitTestVisibleInChrome(IInputElement inputElement)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 TypeNonClientFrameEdgesgetNonClientFrameEdges()ThicknessgetResizeBorderThickness()static ResizeGripDirectionGetResizeGripDirection(IInputElement inputElement)booleangetUseAeroCaptionButtons()static WindowChromeGetWindowChrome(Window window)voidsetCaptionHeight(double CaptionHeight)voidsetCornerRadius(CornerRadius CornerRadius)voidsetGlassFrameThickness(Thickness GlassFrameThickness)static voidSetIsHitTestVisibleInChrome(IInputElement inputElement, boolean hitTestVisible)voidsetJCOInstance(JCObject instance)voidsetNonClientFrameEdges(NonClientFrameEdges NonClientFrameEdges)voidsetResizeBorderThickness(Thickness ResizeBorderThickness)static voidSetResizeGripDirection(IInputElement inputElement, ResizeGripDirection direction)voidsetUseAeroCaptionButtons(boolean UseAeroCaptionButtons)static voidSetWindowChrome(Window window, WindowChrome chrome)-
Methods inherited from class system.windows.Freezable
addChanged, Clone, CloneCurrentValue, Freeze, GetAsFrozen, getCanFreeze, GetCurrentValueAsFrozen, getIsFrozen, removeChanged
-
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: 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.Shell.WindowChrome- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WindowChrome
public WindowChrome(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
WindowChrome
public WindowChrome() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, InvalidOperationException, Win32Exception, SecurityException, NotSupportedException, OutOfMemoryException, NullReferenceException, IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classFreezable- 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 classFreezable- 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 classFreezable- 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 classFreezable- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classFreezable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classFreezable- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static WindowChrome cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoWindowChrome, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
WindowChromeinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetIsHitTestVisibleInChrome
public static boolean GetIsHitTestVisibleInChrome(IInputElement inputElement) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
GetResizeGripDirection
public static ResizeGripDirection GetResizeGripDirection(IInputElement inputElement) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
GetWindowChrome
public static WindowChrome GetWindowChrome(Window window) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
SetIsHitTestVisibleInChrome
public static void SetIsHitTestVisibleInChrome(IInputElement inputElement, boolean hitTestVisible) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
SetResizeGripDirection
public static void SetResizeGripDirection(IInputElement inputElement, ResizeGripDirection direction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
SetWindowChrome
public static void SetWindowChrome(Window window, WindowChrome chrome) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
getUseAeroCaptionButtons
public boolean getUseAeroCaptionButtons() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
setUseAeroCaptionButtons
public void setUseAeroCaptionButtons(boolean UseAeroCaptionButtons) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, NotSupportedException
-
getCaptionHeight
public double getCaptionHeight() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
setCaptionHeight
public void setCaptionHeight(double CaptionHeight) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
getCornerRadius
public CornerRadius getCornerRadius() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
setCornerRadius
public void setCornerRadius(CornerRadius CornerRadius) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
getNonClientFrameEdges
public NonClientFrameEdges getNonClientFrameEdges() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
setNonClientFrameEdges
public void setNonClientFrameEdges(NonClientFrameEdges NonClientFrameEdges) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
getGlassFrameCompleteThickness
public static Thickness getGlassFrameCompleteThickness() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getGlassFrameThickness
public Thickness getGlassFrameThickness() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
setGlassFrameThickness
public void setGlassFrameThickness(Thickness GlassFrameThickness) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
getResizeBorderThickness
public Thickness getResizeBorderThickness() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
setResizeBorderThickness
public void setResizeBorderThickness(Thickness ResizeBorderThickness) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
-
-