public class HwndSourceParameters extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Interop.HwndSourceParameters
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: PresentationCore, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Interop.HwndSourceParameters
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HwndSourceParameters() |
HwndSourceParameters(java.lang.Object instance)
Internal constructor.
|
HwndSourceParameters(java.lang.String name)
Initializes a new instance by invoking the .NET constructor.
|
HwndSourceParameters(java.lang.String name,
int width,
int height)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static HwndSourceParameters |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HwndSourceParameters, a cast assert is made to check if types are compatible. |
boolean |
Equals(HwndSourceParameters obj)
Invokes the .NET member Equals.
|
boolean |
getAcquireHwndFocusInMenuMode()
Gets the value of the .NET property AcquireHwndFocusInMenuMode.
|
boolean |
getAdjustSizingForNonClientArea()
Gets the value of the .NET property AdjustSizingForNonClientArea.
|
int |
getExtendedWindowStyle()
Gets the value of the .NET property ExtendedWindowStyle.
|
boolean |
getHasAssignedSize()
Gets the value of the .NET property HasAssignedSize.
|
int |
getHeight()
Gets the value of the .NET property Height.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getPositionX()
Gets the value of the .NET property PositionX.
|
int |
getPositionY()
Gets the value of the .NET property PositionY.
|
RestoreFocusMode |
getRestoreFocusMode()
Gets the value of the .NET property RestoreFocusMode.
|
boolean |
getTreatAncestorsAsNonClientArea()
Gets the value of the .NET property TreatAncestorsAsNonClientArea.
|
boolean |
getTreatAsInputRoot()
Gets the value of the .NET property TreatAsInputRoot.
|
boolean |
getUsesPerPixelOpacity()
Gets the value of the .NET property UsesPerPixelOpacity.
|
boolean |
getUsesPerPixelTransparency()
Gets the value of the .NET property UsesPerPixelTransparency.
|
int |
getWidth()
Gets the value of the .NET property Width.
|
int |
getWindowClassStyle()
Gets the value of the .NET property WindowClassStyle.
|
java.lang.String |
getWindowName()
Gets the value of the .NET property WindowName.
|
int |
getWindowStyle()
Gets the value of the .NET property WindowStyle.
|
void |
setAcquireHwndFocusInMenuMode(boolean AcquireHwndFocusInMenuMode)
Sets the value of the .NET property AcquireHwndFocusInMenuMode.
|
void |
setAdjustSizingForNonClientArea(boolean AdjustSizingForNonClientArea)
Sets the value of the .NET property AdjustSizingForNonClientArea.
|
void |
setExtendedWindowStyle(int ExtendedWindowStyle)
Sets the value of the .NET property ExtendedWindowStyle.
|
void |
setHeight(int Height)
Sets the value of the .NET property Height.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetPosition(int x,
int y)
Invokes the .NET member SetPosition.
|
void |
setPositionX(int PositionX)
Sets the value of the .NET property PositionX.
|
void |
setPositionY(int PositionY)
Sets the value of the .NET property PositionY.
|
void |
setRestoreFocusMode(RestoreFocusMode RestoreFocusMode)
Sets the value of the .NET property RestoreFocusMode.
|
void |
SetSize(int width,
int height)
Invokes the .NET member SetSize.
|
void |
setTreatAncestorsAsNonClientArea(boolean TreatAncestorsAsNonClientArea)
Sets the value of the .NET property TreatAncestorsAsNonClientArea.
|
void |
setTreatAsInputRoot(boolean TreatAsInputRoot)
Sets the value of the .NET property TreatAsInputRoot.
|
void |
setUsesPerPixelOpacity(boolean UsesPerPixelOpacity)
Sets the value of the .NET property UsesPerPixelOpacity.
|
void |
setUsesPerPixelTransparency(boolean UsesPerPixelTransparency)
Sets the value of the .NET property UsesPerPixelTransparency.
|
void |
setWidth(int Width)
Sets the value of the .NET property Width.
|
void |
setWindowClassStyle(int WindowClassStyle)
Sets the value of the .NET property WindowClassStyle.
|
void |
setWindowName(java.lang.String WindowName)
Sets the value of the .NET property WindowName.
|
void |
setWindowStyle(int WindowStyle)
Sets the value of the .NET property WindowStyle.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HwndSourceParameters()
throws java.lang.Throwable
java.lang.Throwablepublic HwndSourceParameters(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic HwndSourceParameters(java.lang.String name)
throws java.lang.Throwable
name - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failspublic HwndSourceParameters(java.lang.String name,
int width,
int height)
throws java.lang.Throwable
name - the argument of type java.lang.Stringwidth - the argument of type intheight - the argument of type intjava.lang.Throwable - if the .NET constructor failspublic static HwndSourceParameters cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HwndSourceParameters, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHwndSourceParameters instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(HwndSourceParameters obj) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
obj - the argument of type HwndSourceParametersjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic boolean getAcquireHwndFocusInMenuMode()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic boolean getAdjustSizingForNonClientArea()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getExtendedWindowStyle()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasAssignedSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getHeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic int getPositionX()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getPositionY()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic RestoreFocusMode getRestoreFocusMode() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic boolean getTreatAncestorsAsNonClientArea()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getTreatAsInputRoot()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUsesPerPixelOpacity()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUsesPerPixelTransparency()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getWidth()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getWindowClassStyle()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getWindowName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getWindowStyle()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAcquireHwndFocusInMenuMode(boolean AcquireHwndFocusInMenuMode)
throws java.lang.Throwable
AcquireHwndFocusInMenuMode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAdjustSizingForNonClientArea(boolean AdjustSizingForNonClientArea)
throws java.lang.Throwable
AdjustSizingForNonClientArea - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setExtendedWindowStyle(int ExtendedWindowStyle)
throws java.lang.Throwable
ExtendedWindowStyle - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setHeight(int Height)
throws java.lang.Throwable
Height - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic void SetPosition(int x,
int y)
throws java.lang.Throwable
x - the argument of type inty - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPositionX(int PositionX)
throws java.lang.Throwable
PositionX - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPositionY(int PositionY)
throws java.lang.Throwable
PositionY - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setRestoreFocusMode(RestoreFocusMode RestoreFocusMode) throws java.lang.Throwable
RestoreFocusMode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void SetSize(int width,
int height)
throws java.lang.Throwable
width - the argument of type intheight - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTreatAncestorsAsNonClientArea(boolean TreatAncestorsAsNonClientArea)
throws java.lang.Throwable
TreatAncestorsAsNonClientArea - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTreatAsInputRoot(boolean TreatAsInputRoot)
throws java.lang.Throwable
TreatAsInputRoot - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUsesPerPixelOpacity(boolean UsesPerPixelOpacity)
throws java.lang.Throwable
UsesPerPixelOpacity - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUsesPerPixelTransparency(boolean UsesPerPixelTransparency)
throws java.lang.Throwable
UsesPerPixelTransparency - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWidth(int Width)
throws java.lang.Throwable
Width - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWindowClassStyle(int WindowClassStyle)
throws java.lang.Throwable
WindowClassStyle - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWindowName(java.lang.String WindowName)
throws java.lang.Throwable
WindowName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWindowStyle(int WindowStyle)
throws java.lang.Throwable
WindowStyle - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR