public class WindowsFormsHost extends HwndHost
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.Integration.WindowsFormsHost
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: WindowsFormsIntegration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: WindowsFormsIntegration
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.Integration.WindowsFormsHost
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
WindowsFormsHost() |
WindowsFormsHost(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static WindowsFormsHost |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into WindowsFormsHost, a cast assert is made to check if types are compatible. |
static void |
EnableWindowsFormsInterop() |
Brush |
getBackground() |
Control |
getChild() |
FontFamily |
getFontFamily() |
double |
getFontSize() |
FontStyle |
getFontStyle() |
FontWeight |
getFontWeight() |
Brush |
getForeground() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
Thickness |
getPadding() |
PropertyMap |
getPropertyMap() |
int |
getTabIndex() |
void |
setBackground(Brush Background) |
void |
setChild(Control Child) |
void |
setFontFamily(FontFamily FontFamily) |
void |
setFontSize(double FontSize) |
void |
setFontStyle(FontStyle FontStyle) |
void |
setFontWeight(FontWeight FontWeight) |
void |
setForeground(Brush Foreground) |
void |
setJCOInstance(JCObject instance) |
void |
setPadding(Thickness Padding) |
void |
setTabIndex(int TabIndex) |
boolean |
TabInto(TraversalRequest request) |
addDpiChanged, close, Dispose, removeDpiChanged, UpdateWindowPosaddContextMenuClosing, addContextMenuOpening, addDataContextChanged, addInitialized, addLoaded, addRequestBringIntoView, addSizeChanged, addToolTipClosing, addToolTipOpening, addUnloaded, ApplyTemplate, BeginInit, BeginStoryboard, BeginStoryboard, BeginStoryboard, BringIntoView, BringIntoView, EndInit, FindName, FindResource, getActualHeight, getActualWidth, GetBindingExpression, getBindingGroup, getContextMenu, getCursor, getDataContext, getFlowDirection, GetFlowDirection, getFocusVisualStyle, getForceCursor, getHeight, getHorizontalAlignment, getInputScope, getIsInitialized, getIsLoaded, getLanguage, getLayoutTransform, getMargin, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getName, getOverridesDefaultStyle, getParent, getResources, getStyle, getTag, getTemplatedParent, getToolTip, getTriggers, getUseLayoutRounding, getVerticalAlignment, getWidth, MoveFocus, OnApplyTemplate, PredictFocus, RegisterName, removeContextMenuClosing, removeContextMenuOpening, removeDataContextChanged, removeInitialized, removeLoaded, removeRequestBringIntoView, removeSizeChanged, removeToolTipClosing, removeToolTipOpening, removeUnloaded, SetBinding, SetBinding, setBindingGroup, setContextMenu, setCursor, setDataContext, SetFlowDirection, setFlowDirection, setFocusVisualStyle, setForceCursor, setHeight, setHorizontalAlignment, setInputScope, setLanguage, setLayoutTransform, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setName, setOverridesDefaultStyle, SetResourceReference, setResources, setStyle, setTag, setToolTip, setUseLayoutRounding, setVerticalAlignment, setWidth, ShouldSerializeResources, ShouldSerializeStyle, ShouldSerializeTriggers, TryFindResource, UnregisterName, UpdateDefaultStyleaddDragEnter, addDragLeave, addDragOver, addDrop, addFocusableChanged, addGiveFeedback, addGotFocus, addGotKeyboardFocus, addGotMouseCapture, addGotStylusCapture, addIsEnabledChanged, addIsHitTestVisibleChanged, addIsKeyboardFocusedChanged, addIsKeyboardFocusWithinChanged, addIsMouseCapturedChanged, addIsMouseCaptureWithinChanged, addIsMouseDirectlyOverChanged, addIsStylusCapturedChanged, addIsStylusCaptureWithinChanged, addIsStylusDirectlyOverChanged, addIsVisibleChanged, addKeyDown, addKeyUp, addLayoutUpdated, addLostFocus, addLostKeyboardFocus, addLostMouseCapture, addLostStylusCapture, addMouseDown, addMouseEnter, addMouseLeave, addMouseLeftButtonDown, addMouseLeftButtonUp, addMouseMove, addMouseRightButtonDown, addMouseRightButtonUp, addMouseUp, addMouseWheel, addPreviewDragEnter, addPreviewDragLeave, addPreviewDragOver, addPreviewDrop, addPreviewGiveFeedback, addPreviewGotKeyboardFocus, addPreviewKeyDown, addPreviewKeyUp, addPreviewLostKeyboardFocus, addPreviewMouseDown, addPreviewMouseLeftButtonDown, addPreviewMouseLeftButtonUp, addPreviewMouseMove, addPreviewMouseRightButtonDown, addPreviewMouseRightButtonUp, addPreviewMouseUp, addPreviewMouseWheel, addPreviewQueryContinueDrag, addPreviewStylusButtonDown, addPreviewStylusButtonUp, addPreviewStylusDown, addPreviewStylusInAirMove, addPreviewStylusInRange, addPreviewStylusMove, addPreviewStylusOutOfRange, addPreviewStylusSystemGesture, addPreviewStylusUp, addPreviewTextInput, addQueryContinueDrag, addQueryCursor, addStylusButtonDown, addStylusButtonUp, addStylusDown, addStylusEnter, addStylusInAirMove, addStylusInRange, addStylusLeave, addStylusMove, addStylusOutOfRange, addStylusSystemGesture, addStylusUp, addTextInput, AddToEventRoute, ApplyAnimationClock, ApplyAnimationClock, Arrange, BeginAnimation, BeginAnimation, CaptureMouse, CaptureStylus, CaptureTouch, Focus, getAllowDrop, GetAnimationBaseValue, getAreAnyTouchesCaptured, getAreAnyTouchesCapturedWithin, getAreAnyTouchesDirectlyOver, getAreAnyTouchesOver, getBitmapEffect, getBitmapEffectInput, getCacheMode, getClip, getClipToBounds, getCommandBindings, getDesiredSize, getEffect, getFocusable, getHasAnimatedProperties, getInputBindings, getIsArrangeValid, getIsEnabled, getIsFocused, getIsHitTestVisible, getIsInputMethodEnabled, getIsKeyboardFocused, getIsKeyboardFocusWithin, getIsManipulationEnabled, getIsMeasureValid, getIsMouseCaptured, getIsMouseCaptureWithin, getIsMouseDirectlyOver, getIsMouseOver, getIsStylusCaptured, getIsStylusCaptureWithin, getIsStylusDirectlyOver, getIsStylusOver, getIsVisible, getOpacity, getOpacityMask, getPersistId, getRenderSize, getRenderTransform, getRenderTransformOrigin, getSnapsToDevicePixels, getUid, getVisibility, InputHitTest, InvalidateArrange, InvalidateMeasure, InvalidateVisual, Measure, RaiseEvent, ReleaseAllTouchCaptures, ReleaseMouseCapture, ReleaseStylusCapture, ReleaseTouchCapture, removeDragEnter, removeDragLeave, removeDragOver, removeDrop, removeFocusableChanged, removeGiveFeedback, removeGotFocus, removeGotKeyboardFocus, removeGotMouseCapture, removeGotStylusCapture, removeIsEnabledChanged, removeIsHitTestVisibleChanged, removeIsKeyboardFocusedChanged, removeIsKeyboardFocusWithinChanged, removeIsMouseCapturedChanged, removeIsMouseCaptureWithinChanged, removeIsMouseDirectlyOverChanged, removeIsStylusCapturedChanged, removeIsStylusCaptureWithinChanged, removeIsStylusDirectlyOverChanged, removeIsVisibleChanged, removeKeyDown, removeKeyUp, removeLayoutUpdated, removeLostFocus, removeLostKeyboardFocus, removeLostMouseCapture, removeLostStylusCapture, removeMouseDown, removeMouseEnter, removeMouseLeave, removeMouseLeftButtonDown, removeMouseLeftButtonUp, removeMouseMove, removeMouseRightButtonDown, removeMouseRightButtonUp, removeMouseUp, removeMouseWheel, removePreviewDragEnter, removePreviewDragLeave, removePreviewDragOver, removePreviewDrop, removePreviewGiveFeedback, removePreviewGotKeyboardFocus, removePreviewKeyDown, removePreviewKeyUp, removePreviewLostKeyboardFocus, removePreviewMouseDown, removePreviewMouseLeftButtonDown, removePreviewMouseLeftButtonUp, removePreviewMouseMove, removePreviewMouseRightButtonDown, removePreviewMouseRightButtonUp, removePreviewMouseUp, removePreviewMouseWheel, removePreviewQueryContinueDrag, removePreviewStylusButtonDown, removePreviewStylusButtonUp, removePreviewStylusDown, removePreviewStylusInAirMove, removePreviewStylusInRange, removePreviewStylusMove, removePreviewStylusOutOfRange, removePreviewStylusSystemGesture, removePreviewStylusUp, removePreviewTextInput, removeQueryContinueDrag, removeQueryCursor, removeStylusButtonDown, removeStylusButtonUp, removeStylusDown, removeStylusEnter, removeStylusInAirMove, removeStylusInRange, removeStylusLeave, removeStylusMove, removeStylusOutOfRange, removeStylusSystemGesture, removeStylusUp, removeTextInput, setAllowDrop, setBitmapEffect, setBitmapEffectInput, setCacheMode, setClip, setClipToBounds, setEffect, setFocusable, setIsEnabled, setIsHitTestVisible, setIsManipulationEnabled, setOpacity, setOpacityMask, setRenderSize, setRenderTransform, setRenderTransformOrigin, setSnapsToDevicePixels, setUid, setVisibility, ShouldSerializeCommandBindings, ShouldSerializeInputBindings, TranslatePoint, UpdateLayoutFindCommonVisualAncestor, IsAncestorOf, IsDescendantOf, PointFromScreen, PointToScreen, TransformToAncestor, TransformToAncestor, TransformToDescendant, TransformToVisualClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValueCheckAccess, getDispatcher, VerifyAccessEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringIsAmbientPropertyAvailable, ToIQueryAmbientpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public WindowsFormsHost()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
NotImplementedException,
ArgumentNullException,
InvalidOperationException,
FormatException,
ArgumentException,
InvalidEnumArgumentException,
NotSupportedException,
ObjectDisposedException,
Win32Exception,
SecurityException,
ConfigurationErrorsException,
OutOfMemoryException,
IndexOutOfRangeException,
NullReferenceException
java.lang.ThrowableArgumentOutOfRangeExceptionNotImplementedExceptionArgumentNullExceptionInvalidOperationExceptionFormatExceptionArgumentExceptionInvalidEnumArgumentExceptionNotSupportedExceptionObjectDisposedExceptionWin32ExceptionSecurityExceptionConfigurationErrorsExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNullReferenceExceptionpublic WindowsFormsHost(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static WindowsFormsHost cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into WindowsFormsHost, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedWindowsFormsHost instancejava.lang.Throwable - in case of error during cast operationpublic static void EnableWindowsFormsInterop()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidEnumArgumentException,
Win32Exception,
InvalidOperationException,
OverflowException,
IndexOutOfRangeException,
ObjectDisposedException,
OutOfMemoryException
public Brush getBackground() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public Control getChild() throws java.lang.Throwable
java.lang.Throwablepublic FontFamily getFontFamily() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public double getFontSize()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public FontStyle getFontStyle() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public FontWeight getFontWeight() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public Brush getForeground() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IQueryAmbientgetJCOAssemblyName in class HwndHostString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IQueryAmbientgetJCOClassName in class HwndHostString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IQueryAmbientgetJCOInstance in class HwndHostObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IQueryAmbientgetJCOObjectName in class HwndHostString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IQueryAmbientgetJCOType in class HwndHostJCType representing the CLR Type of the instantiated Classpublic Thickness getPadding() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public PropertyMap getPropertyMap() throws java.lang.Throwable
java.lang.Throwablepublic int getTabIndex()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setBackground(Brush Background) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setChild(Control Child) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException, NotSupportedException, SecurityException, KeyNotFoundException, RankException, InvalidEnumArgumentException, MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryExceptionNotSupportedExceptionSecurityExceptionKeyNotFoundExceptionRankExceptionInvalidEnumArgumentExceptionMulticastNotSupportedExceptionpublic void setFontFamily(FontFamily FontFamily) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setFontSize(double FontSize)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setFontStyle(FontStyle FontStyle) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setFontWeight(FontWeight FontWeight) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setForeground(Brush Foreground) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class HwndHostpublic void setPadding(Thickness Padding) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setTabIndex(int TabIndex)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public boolean TabInto(TraversalRequest request) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, Win32Exception, NotSupportedException, SecurityException, OutOfMemoryException
TabInto in class HwndHostjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionOutOfMemoryException