Package system.windows.forms
Class ToolStripSplitButton
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,IDropTarget
public class ToolStripSplitButton extends ToolStripDropDownItem
The base .NET class managing System.Windows.Forms.ToolStripSplitButton, System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripSplitButton
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.ToolStripSplitButtonstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ToolStripSplitButton()ToolStripSplitButton(java.lang.Object instance)Internal constructor.ToolStripSplitButton(java.lang.String text)ToolStripSplitButton(java.lang.String text, Image image)ToolStripSplitButton(java.lang.String text, Image image, EventHandler onClick)ToolStripSplitButton(java.lang.String text, Image image, EventHandler onClick, java.lang.String name)ToolStripSplitButton(java.lang.String text, Image image, ToolStripItem... dropDownItems)ToolStripSplitButton(Image image)
-
Method Summary
-
Methods inherited from class system.windows.forms.ToolStripDropDownItem
addDropDownClosed, addDropDownItemClicked, addDropDownOpened, addDropDownOpening, getDropDown, getDropDownDirection, getDropDownItems, getHasDropDown, getHasDropDownItems, HideDropDown, removeDropDownClosed, removeDropDownItemClicked, removeDropDownOpened, removeDropDownOpening, setDropDown, setDropDownDirection, ShowDropDown
-
Methods inherited from class system.windows.forms.ToolStripItem
addAvailableChanged, addBackColorChanged, addClick, addCommandCanExecuteChanged, addCommandChanged, addCommandParameterChanged, addDisplayStyleChanged, addDoubleClick, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addForeColorChanged, addGiveFeedback, addLocationChanged, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addOwnerChanged, addPaint, addQueryAccessibilityHelp, addQueryContinueDrag, addRightToLeftChanged, addSelectedChanged, addTextChanged, addVisibleChanged, DoDragDrop, DoDragDrop, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAlignment, getAllowDrop, getAnchor, getAutoSize, getAvailable, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBounds, getCanSelect, getCommand, getCommandParameter, getContentRectangle, GetCurrentParent, getDisplayStyle, getDock, getDoubleClickEnabled, getEnabled, getFont, getForeColor, getHeight, getImage, getImageAlign, getImageIndex, getImageKey, getImageScaling, getImageTransparentColor, getIsDisposed, getIsOnDropDown, getIsOnOverflow, getMargin, getMergeAction, getMergeIndex, getName, getOverflow, getOwner, getOwnerItem, getPadding, getPlacement, getPressed, getRightToLeft, getRightToLeftAutoMirrorImage, getSelected, getSize, getTag, getText, getTextAlign, getTextDirection, getTextImageRelation, getToolTipText, getVisible, getWidth, Invalidate, Invalidate, PerformClick, removeAvailableChanged, removeBackColorChanged, removeClick, removeCommandCanExecuteChanged, removeCommandChanged, removeCommandParameterChanged, removeDisplayStyleChanged, removeDoubleClick, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeForeColorChanged, removeGiveFeedback, removeLocationChanged, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeOwnerChanged, removePaint, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRightToLeftChanged, removeSelectedChanged, removeTextChanged, removeVisibleChanged, ResetBackColor, ResetDisplayStyle, ResetFont, ResetForeColor, ResetImage, ResetMargin, ResetPadding, ResetRightToLeft, ResetTextDirection, Select, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAlignment, setAllowDrop, setAnchor, setAutoSize, setAvailable, setBackColor, setBackgroundImage, setBackgroundImageLayout, setCommand, setCommandParameter, setDisplayStyle, setDock, setDoubleClickEnabled, setEnabled, setFont, setForeColor, setHeight, setImage, setImageAlign, setImageIndex, setImageKey, setImageScaling, setImageTransparentColor, setMargin, setMergeAction, setMergeIndex, setName, setOverflow, setOwner, setPadding, setRightToLeft, setRightToLeftAutoMirrorImage, setSize, setTag, setText, setTextAlign, setTextDirection, setTextImageRelation, setToolTipText, setVisible, setWidth
-
Methods inherited from class system.windows.forms.BindableComponent
addBindingContextChanged, getBindingContext, getDataBindings, removeBindingContextChanged, setBindingContext
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.windows.forms.IDropTarget
OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.ToolStripSplitButton- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolStripSplitButton
public ToolStripSplitButton(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ToolStripSplitButton
public ToolStripSplitButton() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, LockRecursionException, NotSupportedException, OutOfMemoryException, AbandonedMutexException, SynchronizationLockException, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionArgumentNullExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionLockRecursionExceptionNotSupportedExceptionOutOfMemoryExceptionAbandonedMutexExceptionSynchronizationLockExceptionInvalidEnumArgumentException
-
ToolStripSplitButton
public ToolStripSplitButton(Image image) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException, MulticastNotSupportedException
-
ToolStripSplitButton
public ToolStripSplitButton(java.lang.String text, Image image, EventHandler onClick, java.lang.String name) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, LockRecursionException, AbandonedMutexException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, OverflowException, InvalidOperationException, InvalidAsynchronousStateException, MulticastNotSupportedException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionInvalidEnumArgumentExceptionArgumentOutOfRangeExceptionOverflowExceptionInvalidOperationExceptionInvalidAsynchronousStateExceptionMulticastNotSupportedException
-
ToolStripSplitButton
public ToolStripSplitButton(java.lang.String text, Image image, EventHandler onClick) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException, MulticastNotSupportedException
-
ToolStripSplitButton
public ToolStripSplitButton(java.lang.String text, Image image, ToolStripItem... dropDownItems) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SynchronizationLockException, InvalidEnumArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, MulticastNotSupportedException, CultureNotFoundException, NotSupportedException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionSynchronizationLockExceptionInvalidEnumArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMulticastNotSupportedExceptionCultureNotFoundExceptionNotSupportedExceptionObjectDisposedException
-
ToolStripSplitButton
public ToolStripSplitButton(java.lang.String text, Image image) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException, MulticastNotSupportedException
-
ToolStripSplitButton
public ToolStripSplitButton(java.lang.String text) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException, MulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIDropTarget- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classToolStripDropDownItem- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIDropTarget- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classToolStripDropDownItem- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIDropTarget- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classToolStripDropDownItem- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIDropTarget- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classToolStripDropDownItem- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classToolStripDropDownItem
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIDropTarget- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classToolStripDropDownItem- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ToolStripSplitButton cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoToolStripSplitButton, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ToolStripSplitButtoninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetPreferredSize
public Size GetPreferredSize(Size constrainingSize) throws java.lang.Throwable, ArgumentNullException, InvalidEnumArgumentException, ArgumentOutOfRangeException, OverflowException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException
- Overrides:
GetPreferredSizein classToolStripItem- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidEnumArgumentExceptionArgumentOutOfRangeExceptionOverflowExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionNotSupportedException
-
OnButtonDoubleClick
public void OnButtonDoubleClick(EventArgs e) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, RankException, ArrayTypeMismatchException, InvalidAsynchronousStateException, ArgumentNullException, OverflowException, IndexOutOfRangeException, NotSupportedException, Win32Exception, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionInvalidAsynchronousStateExceptionArgumentNullExceptionOverflowExceptionIndexOutOfRangeExceptionNotSupportedExceptionWin32ExceptionKeyNotFoundException
-
PerformButtonClick
public void PerformButtonClick() throws java.lang.Throwable, InvalidOperationException, OverflowException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, Win32Exception, MulticastNotSupportedException
-
ResetDropDownButtonWidth
public void ResetDropDownButtonWidth() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, ArgumentNullException
-
getAutoToolTip
public boolean getAutoToolTip() throws java.lang.Throwable- Overrides:
getAutoToolTipin classToolStripItem- Throws:
java.lang.Throwable
-
setAutoToolTip
public void setAutoToolTip(boolean AutoToolTip) throws java.lang.Throwable- Overrides:
setAutoToolTipin classToolStripItem- Throws:
java.lang.Throwable
-
getButtonPressed
public boolean getButtonPressed() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException, NotSupportedException, OutOfMemoryException, InvalidAsynchronousStateException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionLockRecursionExceptionSynchronizationLockExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOverflowExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidAsynchronousStateException
-
getButtonSelected
public boolean getButtonSelected() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException, NotSupportedException, OutOfMemoryException, InvalidAsynchronousStateException, Win32Exception, MulticastNotSupportedException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionLockRecursionExceptionSynchronizationLockExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOverflowExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidAsynchronousStateExceptionWin32ExceptionMulticastNotSupportedException
-
getDropDownButtonPressed
public boolean getDropDownButtonPressed() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, Win32Exception, NotSupportedException, PlatformNotSupportedException, MulticastNotSupportedException
-
getDropDownButtonSelected
public boolean getDropDownButtonSelected() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDropDownButtonWidth
public int getDropDownButtonWidth() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDropDownButtonWidth
public void setDropDownButtonWidth(int DropDownButtonWidth) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, InvalidEnumArgumentException, OverflowException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionOverflowException
-
getButtonBounds
public Rectangle getButtonBounds() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException, NotSupportedException, OutOfMemoryException, InvalidAsynchronousStateException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentNullExceptionArgumentExceptionLockRecursionExceptionSynchronizationLockExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOverflowExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidAsynchronousStateException
-
getDropDownButtonBounds
public Rectangle getDropDownButtonBounds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSplitterBounds
public Rectangle getSplitterBounds() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDefaultItem
public ToolStripItem getDefaultItem() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultItem
public void setDefaultItem(ToolStripItem DefaultItem) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, NotSupportedException
-
addButtonClick
public void addButtonClick(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeButtonClick
public void removeButtonClick(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addButtonDoubleClick
public void addButtonDoubleClick(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeButtonDoubleClick
public void removeButtonDoubleClick(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addDefaultItemChanged
public void addDefaultItemChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeDefaultItemChanged
public void removeDefaultItemChanged(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-