Package system.windows.forms
Class ToolStripItemCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.windows.forms.layout.ArrangedElementCollection
-
- system.windows.forms.ToolStripItemCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class ToolStripItemCollection extends ArrangedElementCollection
The base .NET class managing System.Windows.Forms.ToolStripItemCollection, System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- 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=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.ToolStripItemCollectionstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description ToolStripItemCollection()ToolStripItemCollection(java.lang.Object instance)Internal constructor.ToolStripItemCollection(ToolStrip owner, ToolStripItem[] value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ToolStripItemAdd(java.lang.String text)ToolStripItemAdd(java.lang.String text, Image image)ToolStripItemAdd(java.lang.String text, Image image, EventHandler onClick)ToolStripItemAdd(Image image)intAdd(ToolStripItem value)voidAddRange(ToolStripItem... toolStripItems)voidAddRange(ToolStripItemCollection toolStripItems)static ToolStripItemCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoToolStripItemCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(ToolStripItem value)booleanContainsKey(java.lang.String key)voidCopyTo(ToolStripItem[] array, int index)ToolStripItem[]Find(java.lang.String key, boolean searchAllChildren)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypeintIndexOf(ToolStripItem value)intIndexOfKey(java.lang.String key)voidInsert(int index, ToolStripItem value)voidRemove(ToolStripItem value)voidRemoveAt(int index)voidRemoveByKey(java.lang.String key)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)-
Methods inherited from class system.windows.forms.layout.ArrangedElementCollection
CopyTo, getCount, getIsReadOnly
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=10.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.ToolStripItemCollection- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
ToolStripItemCollection
public ToolStripItemCollection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ToolStripItemCollection
public ToolStripItemCollection() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ToolStripItemCollection
public ToolStripItemCollection(ToolStrip owner, ToolStripItem[] value) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, CultureNotFoundException, NotSupportedException, InvalidOperationException, InvalidCastException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionInvalidCastExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionMulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classArrangedElementCollection- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classArrangedElementCollection- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classArrangedElementCollection- 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 interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classArrangedElementCollection- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classArrangedElementCollection
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classArrangedElementCollection- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ToolStripItemCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoToolStripItemCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ToolStripItemCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(ToolStripItem value) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException
-
ContainsKey
public boolean ContainsKey(java.lang.String key) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, InvalidCastException, NullReferenceException, ExternalException, CultureNotFoundException
-
Add
public int Add(ToolStripItem value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidCastException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, Win32Exception
-
IndexOf
public int IndexOf(ToolStripItem value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
-
IndexOfKey
public int IndexOfKey(java.lang.String key) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, OutOfMemoryException, InvalidCastException, CultureNotFoundException, NullReferenceException, ExternalException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionInvalidCastExceptionCultureNotFoundExceptionNullReferenceExceptionExternalException
-
Add
public ToolStripItem Add(Image image) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidEnumArgumentException, InvalidCastException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, MulticastNotSupportedException, RankException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionInvalidEnumArgumentExceptionInvalidCastExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMulticastNotSupportedExceptionRankExceptionIndexOutOfRangeExceptionArgumentExceptionArrayTypeMismatchException
-
Add
public ToolStripItem Add(java.lang.String text, Image image, EventHandler onClick) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, SynchronizationLockException, InvalidEnumArgumentException, InvalidOperationException, ArgumentOutOfRangeException, ThreadStateException, MulticastNotSupportedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, Win32Exception
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentNullExceptionArgumentExceptionSynchronizationLockExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionThreadStateExceptionMulticastNotSupportedExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionWin32Exception
-
Add
public ToolStripItem Add(java.lang.String text, Image image) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidEnumArgumentException, InvalidCastException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, MulticastNotSupportedException, RankException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionInvalidEnumArgumentExceptionInvalidCastExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMulticastNotSupportedExceptionRankExceptionIndexOutOfRangeExceptionArgumentExceptionArrayTypeMismatchException
-
Add
public ToolStripItem Add(java.lang.String text) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, InvalidEnumArgumentException, InvalidCastException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, MulticastNotSupportedException, RankException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionInvalidEnumArgumentExceptionInvalidCastExceptionArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMulticastNotSupportedExceptionRankExceptionIndexOutOfRangeExceptionArgumentExceptionArrayTypeMismatchException
-
Find
public ToolStripItem[] Find(java.lang.String key, boolean searchAllChildren) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, InvalidCastException, ExternalException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionInvalidCastExceptionExternalExceptionMulticastNotSupportedException
-
AddRange
public void AddRange(ToolStripItem... toolStripItems) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidCastException, MulticastNotSupportedException, ThreadStateException, Win32Exception
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidCastExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32Exception
-
AddRange
public void AddRange(ToolStripItemCollection toolStripItems) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidCastException, MulticastNotSupportedException, ThreadStateException, Win32Exception
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidCastExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32Exception
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, InvalidCastException, MulticastNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionWin32ExceptionInvalidCastExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchException
-
CopyTo
public void CopyTo(ToolStripItem[] array, int index) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
-
Insert
public void Insert(int index, ToolStripItem value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, InvalidCastException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, Win32Exception
-
Remove
public void Remove(ToolStripItem value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, LockRecursionException, AbandonedMutexException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, OverflowException, Win32Exception, InvalidEnumArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionMulticastNotSupportedExceptionThreadStateExceptionOverflowExceptionWin32ExceptionInvalidEnumArgumentException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, LockRecursionException, AbandonedMutexException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, OverflowException, Win32Exception, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionMulticastNotSupportedExceptionThreadStateExceptionOverflowExceptionWin32ExceptionInvalidEnumArgumentException
-
RemoveByKey
public void RemoveByKey(java.lang.String key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, InvalidCastException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, LockRecursionException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, Win32Exception, InvalidEnumArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionInvalidCastExceptionExternalExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionLockRecursionExceptionSynchronizationLockExceptionMulticastNotSupportedExceptionThreadStateExceptionWin32ExceptionInvalidEnumArgumentException
-
-