public class ToolStripControlHost extends ToolStripItem
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripControlHost
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: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.ToolStripControlHost
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolStripControlHost() |
ToolStripControlHost(Control c) |
ToolStripControlHost(Control c,
java.lang.String name) |
ToolStripControlHost(java.lang.Object instance)
Internal constructor.
|
addAvailableChanged, addBackColorChanged, addClick, addDoubleClick, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addForeColorChanged, addGiveFeedback, addLocationChanged, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addOwnerChanged, addPaint, addQueryAccessibilityHelp, addQueryContinueDrag, addRightToLeftChanged, addTextChanged, addVisibleChanged, DoDragDrop, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAlignment, getAllowDrop, getAnchor, getAutoSize, getAutoToolTip, getAvailable, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBounds, getCanSelect, getContentRectangle, GetCurrentParent, getDock, getEnabled, getFont, getForeColor, getHeight, getImage, getImageIndex, getImageKey, getIsDisposed, getIsOnDropDown, getIsOnOverflow, getMargin, getMergeAction, getMergeIndex, getName, getOverflow, getOwner, getOwnerItem, getPadding, getPlacement, getPressed, getRightToLeft, getSelected, getSize, getTag, getText, getTextDirection, getToolTipText, getVisible, getWidth, Invalidate, Invalidate, PerformClick, removeAvailableChanged, removeBackColorChanged, removeClick, removeDoubleClick, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeForeColorChanged, removeGiveFeedback, removeLocationChanged, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeOwnerChanged, removePaint, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRightToLeftChanged, removeTextChanged, removeVisibleChanged, ResetDisplayStyle, ResetFont, ResetImage, ResetMargin, ResetPadding, ResetRightToLeft, ResetTextDirection, Select, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAlignment, setAllowDrop, setAnchor, setAutoSize, setAutoToolTip, setAvailable, setBackColor, setBackgroundImage, setBackgroundImageLayout, setDock, setEnabled, setFont, setForeColor, setHeight, setImage, setImageIndex, setImageKey, setMargin, setMergeAction, setMergeIndex, setName, setOverflow, setOwner, setPadding, setRightToLeft, setSize, setTag, setText, setTextDirection, setToolTipText, setVisible, setWidthaddDisposed, 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 ToolStripControlHost()
throws java.lang.Throwable
java.lang.Throwablepublic ToolStripControlHost(Control c) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ConfigurationErrorsException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, SecurityException, InvalidEnumArgumentException, ObjectDisposedException, Win32Exception, OutOfMemoryException, MulticastNotSupportedException, InvalidAsynchronousStateException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionConfigurationErrorsExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionSecurityExceptionInvalidEnumArgumentExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionMulticastNotSupportedExceptionInvalidAsynchronousStateExceptionKeyNotFoundExceptionpublic ToolStripControlHost(Control c, java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, SecurityException, InvalidEnumArgumentException, RankException, MulticastNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, Win32Exception
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionObjectDisposedExceptionSecurityExceptionInvalidEnumArgumentExceptionRankExceptionMulticastNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionWin32Exceptionpublic ToolStripControlHost(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addDisplayStyleChanged(EventHandler handler) throws java.lang.Throwable
addDisplayStyleChanged in class ToolStripItemjava.lang.Throwablepublic void addEnter(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addGotFocus(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addKeyDown(KeyEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addKeyPress(KeyPressEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addKeyUp(KeyEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLeave(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addLostFocus(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addValidated(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addValidating(CancelEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static ToolStripControlHost cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolStripControlHost, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolStripControlHost instancejava.lang.Throwable - in case of error during cast operationpublic void Focus()
throws java.lang.Throwable,
ArgumentNullException,
FormatException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
Win32Exception,
NotSupportedException,
SecurityException,
NullReferenceException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionpublic boolean getCausesValidation()
throws java.lang.Throwable
java.lang.Throwablepublic Control getControl() throws java.lang.Throwable
java.lang.Throwablepublic ContentAlignment getControlAlign() throws java.lang.Throwable
java.lang.Throwablepublic ToolStripItemDisplayStyle getDisplayStyle() throws java.lang.Throwable
getDisplayStyle in class ToolStripItemjava.lang.Throwablepublic boolean getDoubleClickEnabled()
throws java.lang.Throwable
getDoubleClickEnabled in class ToolStripItemjava.lang.Throwablepublic boolean getFocused()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
Win32Exception,
NotSupportedException,
SecurityException,
NullReferenceException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionpublic ContentAlignment getImageAlign() throws java.lang.Throwable
getImageAlign in class ToolStripItemjava.lang.Throwablepublic ToolStripItemImageScaling getImageScaling() throws java.lang.Throwable
getImageScaling in class ToolStripItemjava.lang.Throwablepublic Color getImageTransparentColor() throws java.lang.Throwable
getImageTransparentColor in class ToolStripItemjava.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDropTargetgetJCOAssemblyName in class ToolStripItemString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDropTargetgetJCOClassName in class ToolStripItemString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDropTargetgetJCOInstance in class ToolStripItemObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDropTargetgetJCOObjectName in class ToolStripItemString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDropTargetgetJCOType in class ToolStripItemJCType representing the CLR Type of the instantiated Classpublic Size GetPreferredSize(Size constrainingSize) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException
GetPreferredSize in class ToolStripItemjava.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionpublic boolean getRightToLeftAutoMirrorImage()
throws java.lang.Throwable
getRightToLeftAutoMirrorImage in class ToolStripItemjava.lang.Throwablepublic ContentAlignment getTextAlign() throws java.lang.Throwable
getTextAlign in class ToolStripItemjava.lang.Throwablepublic TextImageRelation getTextImageRelation() throws java.lang.Throwable
getTextImageRelation in class ToolStripItemjava.lang.Throwablepublic void removeDisplayStyleChanged(EventHandler handler) throws java.lang.Throwable
removeDisplayStyleChanged in class ToolStripItemjava.lang.Throwablepublic void removeEnter(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeGotFocus(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeKeyDown(KeyEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeKeyPress(KeyPressEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeKeyUp(KeyEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLeave(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeLostFocus(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeValidated(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeValidating(CancelEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void ResetBackColor()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
SecurityException,
Win32Exception,
OutOfMemoryException
ResetBackColor in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionSecurityExceptionWin32ExceptionOutOfMemoryExceptionpublic void ResetForeColor()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
SecurityException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
Win32Exception,
OutOfMemoryException
ResetForeColor in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionSecurityExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryExceptionpublic void setCausesValidation(boolean CausesValidation)
throws java.lang.Throwable
java.lang.Throwablepublic void setControlAlign(ContentAlignment ControlAlign) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setDisplayStyle(ToolStripItemDisplayStyle DisplayStyle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException
setDisplayStyle in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionpublic void setDoubleClickEnabled(boolean DoubleClickEnabled)
throws java.lang.Throwable
setDoubleClickEnabled in class ToolStripItemjava.lang.Throwablepublic void setImageAlign(ContentAlignment ImageAlign) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException
setImageAlign in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionpublic void setImageScaling(ToolStripItemImageScaling ImageScaling) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException
setImageScaling in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionpublic void setImageTransparentColor(Color ImageTransparentColor) throws java.lang.Throwable, NullReferenceException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, FormatException, SecurityException, OverflowException, OutOfMemoryException, MissingMethodException, TargetInvocationException, ObjectDisposedException, Win32Exception
setImageTransparentColor in class ToolStripItemjava.lang.ThrowableNullReferenceExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionSecurityExceptionOverflowExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionWin32Exceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ToolStripItempublic void setRightToLeftAutoMirrorImage(boolean RightToLeftAutoMirrorImage)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
Win32Exception,
NotSupportedException,
NullReferenceException,
OutOfMemoryException
setRightToLeftAutoMirrorImage in class ToolStripItemjava.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionpublic void setTextAlign(ContentAlignment TextAlign) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException
setTextAlign in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionpublic void setTextImageRelation(TextImageRelation TextImageRelation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException
setTextImageRelation in class ToolStripItemjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryException