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=9.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.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.ToolStripItemCollectionstatic JCType
classType
The 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 ToolStripItem
Add(java.lang.String text)
ToolStripItem
Add(java.lang.String text, Image image)
ToolStripItem
Add(java.lang.String text, Image image, EventHandler onClick)
ToolStripItem
Add(Image image)
int
Add(ToolStripItem value)
void
AddRange(ToolStripItem... toolStripItems)
void
AddRange(ToolStripItemCollection toolStripItems)
static ToolStripItemCollection
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoToolStripItemCollection
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
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)
-
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=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.ToolStripItemCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToolStripItemCollection
public ToolStripItemCollection(java.lang.Object instance) throws java.lang.Throwable
Internal 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, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, MulticastNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classArrangedElementCollection
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classArrangedElementCollection
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classArrangedElementCollection
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classArrangedElementCollection
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classArrangedElementCollection
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classArrangedElementCollection
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ToolStripItemCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoToolStripItemCollection
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ToolStripItemCollection
instance- 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, PlatformNotSupportedException, NullReferenceException, NotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, ArgumentException
-
Add
public int Add(ToolStripItem value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, 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, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, InvalidOperationException
-
Add
public ToolStripItem Add(Image image) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, MulticastNotSupportedException, InvalidOperationException
-
Add
public ToolStripItem Add(java.lang.String text, Image image, EventHandler onClick) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, LockRecursionException, AbandonedMutexException, SynchronizationLockException, InvalidEnumArgumentException, InvalidOperationException, ArgumentOutOfRangeException, MulticastNotSupportedException, ThreadStateException, Win32Exception
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
ArgumentException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
LockRecursionException
AbandonedMutexException
SynchronizationLockException
InvalidEnumArgumentException
InvalidOperationException
ArgumentOutOfRangeException
MulticastNotSupportedException
ThreadStateException
Win32Exception
-
Add
public ToolStripItem Add(java.lang.String text, Image image) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, MulticastNotSupportedException, InvalidOperationException
-
Add
public ToolStripItem Add(java.lang.String text) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, LockRecursionException, SynchronizationLockException, InvalidEnumArgumentException, ArgumentOutOfRangeException, MulticastNotSupportedException, InvalidOperationException
-
Find
public ToolStripItem[] Find(java.lang.String key, boolean searchAllChildren) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, MulticastNotSupportedException
-
AddRange
public void AddRange(ToolStripItem... toolStripItems) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MulticastNotSupportedException, ThreadStateException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MulticastNotSupportedException
ThreadStateException
Win32Exception
-
AddRange
public void AddRange(ToolStripItemCollection toolStripItems) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, MulticastNotSupportedException, ThreadStateException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
MulticastNotSupportedException
ThreadStateException
Win32Exception
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, RankException, ArrayTypeMismatchException, MulticastNotSupportedException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
Win32Exception
RankException
ArrayTypeMismatchException
MulticastNotSupportedException
IndexOutOfRangeException
-
CopyTo
public void CopyTo(ToolStripItem[] array, int index) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, RankException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException
-
Insert
public void Insert(int index, ToolStripItem value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, Win32Exception
-
Remove
public void Remove(ToolStripItem value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, LockRecursionException, AbandonedMutexException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, OverflowException, Win32Exception, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
InvalidCastException
LockRecursionException
AbandonedMutexException
SynchronizationLockException
MulticastNotSupportedException
ThreadStateException
OverflowException
Win32Exception
InvalidEnumArgumentException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, LockRecursionException, AbandonedMutexException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, OverflowException, Win32Exception, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
LockRecursionException
AbandonedMutexException
SynchronizationLockException
MulticastNotSupportedException
ThreadStateException
OverflowException
Win32Exception
InvalidEnumArgumentException
-
RemoveByKey
public void RemoveByKey(java.lang.String key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, LockRecursionException, SynchronizationLockException, MulticastNotSupportedException, ThreadStateException, Win32Exception, InvalidEnumArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
OutOfMemoryException
ExternalException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
LockRecursionException
SynchronizationLockException
MulticastNotSupportedException
ThreadStateException
Win32Exception
InvalidEnumArgumentException
-
-