public class ToolStripItemCollection extends ArrangedElementCollection
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.ToolStripItemCollection
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.ToolStripItemCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ToolStripItemCollection() |
ToolStripItemCollection(java.lang.Object instance)
Internal constructor.
|
ToolStripItemCollection(ToolStrip owner,
ToolStripItem[] value) |
| Modifier and Type | Method and Description |
|---|---|
ToolStripItem |
Add(Image image) |
ToolStripItem |
Add(java.lang.String text) |
ToolStripItem |
Add(java.lang.String text,
Image image) |
ToolStripItem |
Add(java.lang.String text,
Image image,
EventHandler onClick) |
int |
Add(ToolStripItem value) |
void |
AddRange(ToolStripItem[] toolStripItems) |
void |
AddRange(ToolStripItemCollection toolStripItems) |
static ToolStripItemCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ToolStripItemCollection, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
Contains(ToolStripItem value) |
boolean |
ContainsKey(java.lang.String key) |
void |
CopyTo(ToolStripItem[] array,
int index) |
ToolStripItem[] |
Find(java.lang.String key,
boolean searchAllChildren) |
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
|
int |
IndexOf(ToolStripItem value) |
int |
IndexOfKey(java.lang.String key) |
void |
Insert(int index,
ToolStripItem value) |
void |
Remove(ToolStripItem value) |
void |
RemoveAt(int index) |
void |
RemoveByKey(java.lang.String key) |
void |
setJCOInstance(JCObject instance) |
CopyTo, getCount, getIsReadOnlyGetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ToolStripItemCollection()
throws java.lang.Throwable
java.lang.Throwablepublic ToolStripItemCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ToolStripItemCollection(ToolStrip owner, ToolStripItem[] value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, Win32Exception, OutOfMemoryException, RankException, MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionNotSupportedExceptionWin32ExceptionOutOfMemoryExceptionRankExceptionMulticastNotSupportedExceptionpublic ToolStripItem Add(Image image) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, NullReferenceException, MulticastNotSupportedException, RankException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionRankExceptionpublic ToolStripItem Add(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, NullReferenceException, MulticastNotSupportedException, RankException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionRankExceptionpublic ToolStripItem Add(java.lang.String text, Image image) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, NullReferenceException, MulticastNotSupportedException, RankException
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionRankExceptionpublic ToolStripItem Add(java.lang.String text, Image image, EventHandler onClick) throws java.lang.Throwable, ArgumentNullException, ConfigurationErrorsException, ArgumentException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, SecurityException, IndexOutOfRangeException, InvalidEnumArgumentException, NullReferenceException, MulticastNotSupportedException, RankException, ThreadStateException, Win32Exception, ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionConfigurationErrorsExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionSecurityExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionNullReferenceExceptionMulticastNotSupportedExceptionRankExceptionThreadStateExceptionWin32ExceptionObjectDisposedExceptionpublic int Add(ToolStripItem value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, RankException, MulticastNotSupportedException, ThreadStateException, Win32Exception, OutOfMemoryException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionRankExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionpublic void AddRange(ToolStripItem[] toolStripItems) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, Win32Exception, OutOfMemoryException, RankException, MulticastNotSupportedException, ThreadStateException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionRankExceptionMulticastNotSupportedExceptionThreadStateExceptionInvalidEnumArgumentExceptionpublic void AddRange(ToolStripItemCollection toolStripItems) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, Win32Exception, OutOfMemoryException, RankException, MulticastNotSupportedException, ThreadStateException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionRankExceptionMulticastNotSupportedExceptionThreadStateExceptionInvalidEnumArgumentExceptionpublic static ToolStripItemCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ToolStripItemCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedToolStripItemCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidEnumArgumentException,
MulticastNotSupportedException
Clear in class ArrangedElementCollectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionMulticastNotSupportedExceptionpublic boolean Contains(ToolStripItem value) throws java.lang.Throwable
java.lang.Throwablepublic boolean ContainsKey(java.lang.String key)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
IndexOutOfRangeException,
ObjectDisposedException,
CultureNotFoundException,
InvalidOperationException
public void CopyTo(ToolStripItem[] array, int index) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic ToolStripItem[] Find(java.lang.String key, boolean searchAllChildren) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionMulticastNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ArrangedElementCollectionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ArrangedElementCollectionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ArrangedElementCollectionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ArrangedElementCollectionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ArrangedElementCollectionJCType representing the CLR Type of the instantiated Classpublic int IndexOf(ToolStripItem value) throws java.lang.Throwable, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArgumentException
java.lang.ThrowableArgumentNullExceptionRankExceptionArgumentOutOfRangeExceptionArgumentExceptionpublic int IndexOfKey(java.lang.String key)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
OutOfMemoryException,
ArgumentException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
CultureNotFoundException,
InvalidOperationException
public void Insert(int index,
ToolStripItem value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
NotSupportedException,
RankException,
MulticastNotSupportedException,
ThreadStateException,
Win32Exception,
OutOfMemoryException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionRankExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionOutOfMemoryExceptionInvalidEnumArgumentExceptionpublic void Remove(ToolStripItem value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, RankException, ConfigurationErrorsException, MulticastNotSupportedException, ThreadStateException, Win32Exception, OutOfMemoryException, KeyNotFoundException, OverflowException, IndexOutOfRangeException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionRankExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionOutOfMemoryExceptionKeyNotFoundExceptionOverflowExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionpublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ConfigurationErrorsException,
MulticastNotSupportedException,
ThreadStateException,
Win32Exception,
OutOfMemoryException,
KeyNotFoundException,
OverflowException,
IndexOutOfRangeException,
InvalidEnumArgumentException
RemoveAt in class ArrangedElementCollectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionOutOfMemoryExceptionKeyNotFoundExceptionOverflowExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionpublic void RemoveByKey(java.lang.String key)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
ConfigurationErrorsException,
MulticastNotSupportedException,
ThreadStateException,
Win32Exception,
OutOfMemoryException,
IndexOutOfRangeException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ArrangedElementCollection