public class ElementHost extends Control
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.Integration.ElementHost
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.ElementHost
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ElementHost() |
ElementHost(java.lang.Object instance)
Internal constructor.
|
addAutoSizeChanged, addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addCausesValidationChanged, addChangeUICues, addContextMenuChanged, addContextMenuStripChanged, addDockChanged, addDpiChangedAfterParent, addDpiChangedBeforeParent, addEnabledChanged, addHandleCreated, addHandleDestroyed, addHelpRequested, addImeModeChanged, addLocationChanged, addMarginChanged, addMove, addParentChanged, addQueryAccessibilityHelp, addRegionChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTabStopChanged, addValidated, addValidating, addVisibleChanged, BringToFront, Contains, CreateControl, CreateGraphics, DoDragDrop, DrawToBitmap, EndInvoke, FindForm, Focus, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAllowDrop, getAnchor, getAutoScrollOffset, getAutoSize, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBindingContext, getBottom, getBounds, getCanFocus, getCanSelect, getCapture, getCausesValidation, getCheckForIllegalCrossThreadCalls, GetChildAtPoint, GetChildAtPoint, getClientRectangle, getClientSize, getCompanyName, GetContainerControl, getContainsFocus, getContextMenu, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getImeMode, getInvokeRequired, getIsAccessible, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getPadding, getParent, getPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTabStop, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeAutoSizeChanged, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeCausesValidationChanged, removeChangeUICues, removeContextMenuChanged, removeContextMenuStripChanged, removeDockChanged, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeEnabledChanged, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeImeModeChanged, removeLocationChanged, removeMarginChanged, removeMove, removeParentChanged, removeQueryAccessibilityHelp, removeRegionChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTabStopChanged, removeValidated, removeValidating, removeVisibleChanged, ResetBackColor, ResetBindings, ResetCursor, ResetFont, ResetForeColor, ResetImeMode, ResetRightToLeft, ResetText, ResumeLayout, ResumeLayout, Scale, Scale, Scale, ScaleBitmapLogicalToDevice, Select, SelectNextControl, SendToBack, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAllowDrop, setAnchor, setAutoScrollOffset, setAutoSize, setBackColor, setBackgroundImage, setBackgroundImageLayout, setBindingContext, SetBounds, SetBounds, setBounds, setCapture, setCausesValidation, setCheckForIllegalCrossThreadCalls, setClientSize, setContextMenu, setContextMenuStrip, setCursor, setDock, setEnabled, setFont, setForeColor, setHeight, setImeMode, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTabStop, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, UpdateaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringOnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, ToIDropTargetpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ElementHost()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ConfigurationErrorsException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
Win32Exception,
NullReferenceException,
SecurityException,
OutOfMemoryException,
NotImplementedException,
OverflowException,
KeyNotFoundException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionWin32ExceptionNullReferenceExceptionSecurityExceptionOutOfMemoryExceptionNotImplementedExceptionOverflowExceptionKeyNotFoundExceptionpublic ElementHost(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addBindingContextChanged(EventHandler handler) throws java.lang.Throwable
addBindingContextChanged in class Controljava.lang.Throwablepublic void addClick(EventHandler handler) throws java.lang.Throwable
public void addClientSizeChanged(EventHandler handler) throws java.lang.Throwable
addClientSizeChanged in class Controljava.lang.Throwablepublic void addControlAdded(ControlEventHandler handler) throws java.lang.Throwable
addControlAdded in class Controljava.lang.Throwablepublic void addControlRemoved(ControlEventHandler handler) throws java.lang.Throwable
addControlRemoved in class Controljava.lang.Throwablepublic void addCursorChanged(EventHandler handler) throws java.lang.Throwable
addCursorChanged in class Controljava.lang.Throwablepublic void addDoubleClick(EventHandler handler) throws java.lang.Throwable
addDoubleClick in class Controljava.lang.Throwablepublic void addDragDrop(DragEventHandler handler) throws java.lang.Throwable
addDragDrop in class Controljava.lang.Throwablepublic void addDragEnter(DragEventHandler handler) throws java.lang.Throwable
addDragEnter in class Controljava.lang.Throwablepublic void addDragLeave(EventHandler handler) throws java.lang.Throwable
addDragLeave in class Controljava.lang.Throwablepublic void addDragOver(DragEventHandler handler) throws java.lang.Throwable
addDragOver in class Controljava.lang.Throwablepublic void addEnter(EventHandler handler) throws java.lang.Throwable
public void addFontChanged(EventHandler handler) throws java.lang.Throwable
addFontChanged in class Controljava.lang.Throwablepublic void addForeColorChanged(EventHandler handler) throws java.lang.Throwable
addForeColorChanged in class Controljava.lang.Throwablepublic void addGiveFeedback(GiveFeedbackEventHandler handler) throws java.lang.Throwable
addGiveFeedback in class Controljava.lang.Throwablepublic void addGotFocus(EventHandler handler) throws java.lang.Throwable
addGotFocus in class Controljava.lang.Throwablepublic void addInvalidated(InvalidateEventHandler handler) throws java.lang.Throwable
addInvalidated in class Controljava.lang.Throwablepublic void addKeyDown(KeyEventHandler handler) throws java.lang.Throwable
addKeyDown in class Controljava.lang.Throwablepublic void addKeyPress(KeyPressEventHandler handler) throws java.lang.Throwable
addKeyPress in class Controljava.lang.Throwablepublic void addKeyUp(KeyEventHandler handler) throws java.lang.Throwable
public void addLayout(LayoutEventHandler handler) throws java.lang.Throwable
public void addLeave(EventHandler handler) throws java.lang.Throwable
public void addLostFocus(EventHandler handler) throws java.lang.Throwable
addLostFocus in class Controljava.lang.Throwablepublic void addMouseCaptureChanged(EventHandler handler) throws java.lang.Throwable
addMouseCaptureChanged in class Controljava.lang.Throwablepublic void addMouseClick(MouseEventHandler handler) throws java.lang.Throwable
addMouseClick in class Controljava.lang.Throwablepublic void addMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
addMouseDoubleClick in class Controljava.lang.Throwablepublic void addMouseDown(MouseEventHandler handler) throws java.lang.Throwable
addMouseDown in class Controljava.lang.Throwablepublic void addMouseEnter(EventHandler handler) throws java.lang.Throwable
addMouseEnter in class Controljava.lang.Throwablepublic void addMouseHover(EventHandler handler) throws java.lang.Throwable
addMouseHover in class Controljava.lang.Throwablepublic void addMouseLeave(EventHandler handler) throws java.lang.Throwable
addMouseLeave in class Controljava.lang.Throwablepublic void addMouseMove(MouseEventHandler handler) throws java.lang.Throwable
addMouseMove in class Controljava.lang.Throwablepublic void addMouseUp(MouseEventHandler handler) throws java.lang.Throwable
addMouseUp in class Controljava.lang.Throwablepublic void addMouseWheel(MouseEventHandler handler) throws java.lang.Throwable
addMouseWheel in class Controljava.lang.Throwablepublic void addPaddingChanged(EventHandler handler) throws java.lang.Throwable
addPaddingChanged in class Controljava.lang.Throwablepublic void addPaint(PaintEventHandler handler) throws java.lang.Throwable
public void addPreviewKeyDown(PreviewKeyDownEventHandler handler) throws java.lang.Throwable
addPreviewKeyDown in class Controljava.lang.Throwablepublic void addQueryContinueDrag(QueryContinueDragEventHandler handler) throws java.lang.Throwable
addQueryContinueDrag in class Controljava.lang.Throwablepublic void addResize(EventHandler handler) throws java.lang.Throwable
public void addRightToLeftChanged(EventHandler handler) throws java.lang.Throwable
addRightToLeftChanged in class Controljava.lang.Throwablepublic void addSizeChanged(EventHandler handler) throws java.lang.Throwable
addSizeChanged in class Controljava.lang.Throwablepublic void addTextChanged(EventHandler handler) throws java.lang.Throwable
addTextChanged in class Controljava.lang.Throwablepublic static ElementHost cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ElementHost, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedElementHost instancejava.lang.Throwable - in case of error during cast operationpublic static void EnableModelessKeyboardInterop(Window window) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ObjectDisposedException, InvalidOperationException, RankException, MulticastNotSupportedException
public boolean getBackColorTransparent()
throws java.lang.Throwable
java.lang.Throwablepublic UIElement getChild() throws java.lang.Throwable
java.lang.Throwablepublic Panel getHostContainer() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class ControlString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDropTargetgetJCOClassName in class ControlString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDropTargetgetJCOInstance in class ControlObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDropTargetgetJCOObjectName in class ControlString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDropTargetgetJCOType in class ControlJCType representing the CLR Type of the instantiated Classpublic Size GetPreferredSize(Size proposedSize) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException, InvalidEnumArgumentException, MulticastNotSupportedException
GetPreferredSize in class Controljava.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionMulticastNotSupportedExceptionpublic PropertyMap getPropertyMap() throws java.lang.Throwable
java.lang.Throwablepublic void OnPropertyChanged(java.lang.String propertyName,
NetObject value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionpublic void removeBindingContextChanged(EventHandler handler) throws java.lang.Throwable
removeBindingContextChanged in class Controljava.lang.Throwablepublic void removeClick(EventHandler handler) throws java.lang.Throwable
removeClick in class Controljava.lang.Throwablepublic void removeClientSizeChanged(EventHandler handler) throws java.lang.Throwable
removeClientSizeChanged in class Controljava.lang.Throwablepublic void removeControlAdded(ControlEventHandler handler) throws java.lang.Throwable
removeControlAdded in class Controljava.lang.Throwablepublic void removeControlRemoved(ControlEventHandler handler) throws java.lang.Throwable
removeControlRemoved in class Controljava.lang.Throwablepublic void removeCursorChanged(EventHandler handler) throws java.lang.Throwable
removeCursorChanged in class Controljava.lang.Throwablepublic void removeDoubleClick(EventHandler handler) throws java.lang.Throwable
removeDoubleClick in class Controljava.lang.Throwablepublic void removeDragDrop(DragEventHandler handler) throws java.lang.Throwable
removeDragDrop in class Controljava.lang.Throwablepublic void removeDragEnter(DragEventHandler handler) throws java.lang.Throwable
removeDragEnter in class Controljava.lang.Throwablepublic void removeDragLeave(EventHandler handler) throws java.lang.Throwable
removeDragLeave in class Controljava.lang.Throwablepublic void removeDragOver(DragEventHandler handler) throws java.lang.Throwable
removeDragOver in class Controljava.lang.Throwablepublic void removeEnter(EventHandler handler) throws java.lang.Throwable
removeEnter in class Controljava.lang.Throwablepublic void removeFontChanged(EventHandler handler) throws java.lang.Throwable
removeFontChanged in class Controljava.lang.Throwablepublic void removeForeColorChanged(EventHandler handler) throws java.lang.Throwable
removeForeColorChanged in class Controljava.lang.Throwablepublic void removeGiveFeedback(GiveFeedbackEventHandler handler) throws java.lang.Throwable
removeGiveFeedback in class Controljava.lang.Throwablepublic void removeGotFocus(EventHandler handler) throws java.lang.Throwable
removeGotFocus in class Controljava.lang.Throwablepublic void removeInvalidated(InvalidateEventHandler handler) throws java.lang.Throwable
removeInvalidated in class Controljava.lang.Throwablepublic void removeKeyDown(KeyEventHandler handler) throws java.lang.Throwable
removeKeyDown in class Controljava.lang.Throwablepublic void removeKeyPress(KeyPressEventHandler handler) throws java.lang.Throwable
removeKeyPress in class Controljava.lang.Throwablepublic void removeKeyUp(KeyEventHandler handler) throws java.lang.Throwable
removeKeyUp in class Controljava.lang.Throwablepublic void removeLayout(LayoutEventHandler handler) throws java.lang.Throwable
removeLayout in class Controljava.lang.Throwablepublic void removeLeave(EventHandler handler) throws java.lang.Throwable
removeLeave in class Controljava.lang.Throwablepublic void removeLostFocus(EventHandler handler) throws java.lang.Throwable
removeLostFocus in class Controljava.lang.Throwablepublic void removeMouseCaptureChanged(EventHandler handler) throws java.lang.Throwable
removeMouseCaptureChanged in class Controljava.lang.Throwablepublic void removeMouseClick(MouseEventHandler handler) throws java.lang.Throwable
removeMouseClick in class Controljava.lang.Throwablepublic void removeMouseDoubleClick(MouseEventHandler handler) throws java.lang.Throwable
removeMouseDoubleClick in class Controljava.lang.Throwablepublic void removeMouseDown(MouseEventHandler handler) throws java.lang.Throwable
removeMouseDown in class Controljava.lang.Throwablepublic void removeMouseEnter(EventHandler handler) throws java.lang.Throwable
removeMouseEnter in class Controljava.lang.Throwablepublic void removeMouseHover(EventHandler handler) throws java.lang.Throwable
removeMouseHover in class Controljava.lang.Throwablepublic void removeMouseLeave(EventHandler handler) throws java.lang.Throwable
removeMouseLeave in class Controljava.lang.Throwablepublic void removeMouseMove(MouseEventHandler handler) throws java.lang.Throwable
removeMouseMove in class Controljava.lang.Throwablepublic void removeMouseUp(MouseEventHandler handler) throws java.lang.Throwable
removeMouseUp in class Controljava.lang.Throwablepublic void removeMouseWheel(MouseEventHandler handler) throws java.lang.Throwable
removeMouseWheel in class Controljava.lang.Throwablepublic void removePaddingChanged(EventHandler handler) throws java.lang.Throwable
removePaddingChanged in class Controljava.lang.Throwablepublic void removePaint(PaintEventHandler handler) throws java.lang.Throwable
removePaint in class Controljava.lang.Throwablepublic void removePreviewKeyDown(PreviewKeyDownEventHandler handler) throws java.lang.Throwable
removePreviewKeyDown in class Controljava.lang.Throwablepublic void removeQueryContinueDrag(QueryContinueDragEventHandler handler) throws java.lang.Throwable
removeQueryContinueDrag in class Controljava.lang.Throwablepublic void removeResize(EventHandler handler) throws java.lang.Throwable
removeResize in class Controljava.lang.Throwablepublic void removeRightToLeftChanged(EventHandler handler) throws java.lang.Throwable
removeRightToLeftChanged in class Controljava.lang.Throwablepublic void removeSizeChanged(EventHandler handler) throws java.lang.Throwable
removeSizeChanged in class Controljava.lang.Throwablepublic void removeTextChanged(EventHandler handler) throws java.lang.Throwable
removeTextChanged in class Controljava.lang.Throwablepublic void setBackColorTransparent(boolean BackColorTransparent)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
FormatException,
InvalidOperationException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionFormatExceptionInvalidOperationExceptionpublic void setChild(UIElement Child) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidCastException, NotSupportedException, MissingMethodException, TargetInvocationException, ObjectDisposedException, Win32Exception, OutOfMemoryException, KeyNotFoundException
public void setJCOInstance(JCObject instance)
setJCOInstance in class Control