public class ToolBar extends Control
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.ToolBar
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=11.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.ToolBar
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ToolBar()
Initializes a new instance by invoking the .NET constructor.
|
ToolBar(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAutoSizeChanged(EventHandler handler)
Invokes the .NET member addAutoSizeChanged.
|
void |
addBackColorChanged(EventHandler handler)
Invokes the .NET member addBackColorChanged.
|
void |
addBackgroundImageChanged(EventHandler handler)
Invokes the .NET member addBackgroundImageChanged.
|
void |
addBackgroundImageLayoutChanged(EventHandler handler)
Invokes the .NET member addBackgroundImageLayoutChanged.
|
void |
addButtonClick(ToolBarButtonClickEventHandler handler)
Invokes the .NET member addButtonClick.
|
void |
addButtonDropDown(ToolBarButtonClickEventHandler handler)
Invokes the .NET member addButtonDropDown.
|
void |
addForeColorChanged(EventHandler handler)
Invokes the .NET member addForeColorChanged.
|
void |
addImeModeChanged(EventHandler handler)
Invokes the .NET member addImeModeChanged.
|
void |
addPaint(PaintEventHandler handler)
Invokes the .NET member addPaint.
|
void |
addRightToLeftChanged(EventHandler handler)
Invokes the .NET member addRightToLeftChanged.
|
void |
addTextChanged(EventHandler handler)
Invokes the .NET member addTextChanged.
|
static ToolBar |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolBar, a cast assert is made to check if types are compatible. |
ToolBarAppearance |
getAppearance()
Gets the value of the .NET property Appearance.
|
BorderStyle |
getBorderStyle()
Gets the value of the .NET property BorderStyle.
|
Size |
getButtonSize()
Gets the value of the .NET property ButtonSize.
|
boolean |
getDivider()
Gets the value of the .NET property Divider.
|
boolean |
getDropDownArrows()
Gets the value of the .NET property DropDownArrows.
|
ImageList |
getImageList()
Gets the value of the .NET property ImageList.
|
Size |
getImageSize()
Gets the value of the .NET property ImageSize.
|
ImeMode |
getImeMode()
Gets the value of the .NET property ImeMode.
|
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. |
boolean |
getShowToolTips()
Gets the value of the .NET property ShowToolTips.
|
boolean |
getTabStop()
Gets the value of the .NET property TabStop.
|
ToolBarTextAlign |
getTextAlign()
Gets the value of the .NET property TextAlign.
|
boolean |
getWrappable()
Gets the value of the .NET property Wrappable.
|
void |
removeAutoSizeChanged(EventHandler handler)
Invokes the .NET member removeAutoSizeChanged.
|
void |
removeBackColorChanged(EventHandler handler)
Invokes the .NET member removeBackColorChanged.
|
void |
removeBackgroundImageChanged(EventHandler handler)
Invokes the .NET member removeBackgroundImageChanged.
|
void |
removeBackgroundImageLayoutChanged(EventHandler handler)
Invokes the .NET member removeBackgroundImageLayoutChanged.
|
void |
removeButtonClick(ToolBarButtonClickEventHandler handler)
Invokes the .NET member removeButtonClick.
|
void |
removeButtonDropDown(ToolBarButtonClickEventHandler handler)
Invokes the .NET member removeButtonDropDown.
|
void |
removeForeColorChanged(EventHandler handler)
Invokes the .NET member removeForeColorChanged.
|
void |
removeImeModeChanged(EventHandler handler)
Invokes the .NET member removeImeModeChanged.
|
void |
removePaint(PaintEventHandler handler)
Invokes the .NET member removePaint.
|
void |
removeRightToLeftChanged(EventHandler handler)
Invokes the .NET member removeRightToLeftChanged.
|
void |
removeTextChanged(EventHandler handler)
Invokes the .NET member removeTextChanged.
|
void |
setAppearance(ToolBarAppearance Appearance)
Sets the value of the .NET property Appearance.
|
void |
setBorderStyle(BorderStyle BorderStyle)
Sets the value of the .NET property BorderStyle.
|
void |
setButtonSize(Size ButtonSize)
Sets the value of the .NET property ButtonSize.
|
void |
setDivider(boolean Divider)
Sets the value of the .NET property Divider.
|
void |
setDropDownArrows(boolean DropDownArrows)
Sets the value of the .NET property DropDownArrows.
|
void |
setImageList(ImageList ImageList)
Sets the value of the .NET property ImageList.
|
void |
setImeMode(ImeMode ImeMode)
Sets the value of the .NET property ImeMode.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setShowToolTips(boolean ShowToolTips)
Sets the value of the .NET property ShowToolTips.
|
void |
setTabStop(boolean TabStop)
Sets the value of the .NET property TabStop.
|
void |
setTextAlign(ToolBarTextAlign TextAlign)
Sets the value of the .NET property TextAlign.
|
void |
setWrappable(boolean Wrappable)
Sets the value of the .NET property Wrappable.
|
addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, addDataContextChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addInvalidated, addKeyDown, addKeyPress, addKeyUp, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addSizeChanged, addStyleChanged, addSystemColorsChanged, addSystemVisualSettingsChanged, addTabIndexChanged, addTabStopChanged, addValidated, addValidating, addVisibleChanged, addVisualStylesModeChanged, BeginInvoke, BringToFront, Contains, CreateControl, CreateGraphics, DoDragDrop, DoDragDrop, DoDragDropAsJson, DoDragDropAsJson, 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, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getPadding, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getVisualStylesMode, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, InvokeAsync, InvokeAsync, InvokeAsync, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeDataContextChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeInvalidated, removeKeyDown, removeKeyPress, removeKeyUp, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeSystemVisualSettingsChanged, removeTabIndexChanged, removeTabStopChanged, removeValidated, removeValidating, removeVisibleChanged, removeVisualStylesModeChanged, 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, setDataContext, setDock, setEnabled, setFont, setForeColor, setHeight, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTag, setText, setTop, setUseWaitCursor, setVisible, setVisualStylesMode, setWidth, setWindowTarget, Show, SuspendLayout, UpdateaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ToolBar()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
NotSupportedException,
OutOfMemoryException,
InvalidCastException,
ObjectDisposedException,
Win32Exception
java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic ToolBar(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 void addAutoSizeChanged(EventHandler handler) throws java.lang.Throwable
addAutoSizeChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addBackColorChanged(EventHandler handler) throws java.lang.Throwable
addBackColorChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addBackgroundImageChanged(EventHandler handler) throws java.lang.Throwable
addBackgroundImageChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addBackgroundImageLayoutChanged(EventHandler handler) throws java.lang.Throwable
addBackgroundImageLayoutChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addButtonClick(ToolBarButtonClickEventHandler handler) throws java.lang.Throwable
handler - the argument of type ToolBarButtonClickEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addButtonDropDown(ToolBarButtonClickEventHandler handler) throws java.lang.Throwable
handler - the argument of type ToolBarButtonClickEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addForeColorChanged(EventHandler handler) throws java.lang.Throwable
addForeColorChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addImeModeChanged(EventHandler handler) throws java.lang.Throwable
addImeModeChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addPaint(PaintEventHandler handler) throws java.lang.Throwable
addPaint in class Controlhandler - the argument of type PaintEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addRightToLeftChanged(EventHandler handler) throws java.lang.Throwable
addRightToLeftChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addTextChanged(EventHandler handler) throws java.lang.Throwable
addTextChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static ToolBar cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolBar, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolBar instancejava.lang.Throwable - in case of error during cast operationpublic ToolBarAppearance getAppearance() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic BorderStyle getBorderStyle() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Size getButtonSize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getDivider()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getDropDownArrows()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ImageList getImageList() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Size getImageSize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ImeMode getImeMode() throws java.lang.Throwable
getImeMode in class Controljava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Controlpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Controlpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Controlnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Controlpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Controlpublic boolean getShowToolTips()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getTabStop()
throws java.lang.Throwable
getTabStop in class Controljava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ToolBarTextAlign getTextAlign() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getWrappable()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeAutoSizeChanged(EventHandler handler) throws java.lang.Throwable
removeAutoSizeChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeBackColorChanged(EventHandler handler) throws java.lang.Throwable
removeBackColorChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeBackgroundImageChanged(EventHandler handler) throws java.lang.Throwable
removeBackgroundImageChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeBackgroundImageLayoutChanged(EventHandler handler) throws java.lang.Throwable
removeBackgroundImageLayoutChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeButtonClick(ToolBarButtonClickEventHandler handler) throws java.lang.Throwable
handler - the argument of type ToolBarButtonClickEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeButtonDropDown(ToolBarButtonClickEventHandler handler) throws java.lang.Throwable
handler - the argument of type ToolBarButtonClickEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeForeColorChanged(EventHandler handler) throws java.lang.Throwable
removeForeColorChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeImeModeChanged(EventHandler handler) throws java.lang.Throwable
removeImeModeChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removePaint(PaintEventHandler handler) throws java.lang.Throwable
removePaint in class Controlhandler - the argument of type PaintEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeRightToLeftChanged(EventHandler handler) throws java.lang.Throwable
removeRightToLeftChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeTextChanged(EventHandler handler) throws java.lang.Throwable
removeTextChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAppearance(ToolBarAppearance Appearance) throws java.lang.Throwable
Appearance - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setBorderStyle(BorderStyle BorderStyle) throws java.lang.Throwable
BorderStyle - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setButtonSize(Size ButtonSize) throws java.lang.Throwable
ButtonSize - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDivider(boolean Divider)
throws java.lang.Throwable
Divider - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDropDownArrows(boolean DropDownArrows)
throws java.lang.Throwable
DropDownArrows - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setImageList(ImageList ImageList) throws java.lang.Throwable
ImageList - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setImeMode(ImeMode ImeMode) throws java.lang.Throwable
setImeMode in class ControlImeMode - 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 Controlinstance - the new underlying objectpublic void setShowToolTips(boolean ShowToolTips)
throws java.lang.Throwable
ShowToolTips - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTabStop(boolean TabStop)
throws java.lang.Throwable
setTabStop in class ControlTabStop - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTextAlign(ToolBarTextAlign TextAlign) throws java.lang.Throwable
TextAlign - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setWrappable(boolean Wrappable)
throws java.lang.Throwable
Wrappable - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR