Package system.windows.forms
Class TreeNodeCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.windows.forms.TreeNodeCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class TreeNodeCollection extends NetObjectEnumerable
The base .NET class managing System.Windows.Forms.TreeNodeCollection, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.TreeNodeCollection
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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.TreeNodeCollectionstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description TreeNodeCollection()TreeNodeCollection(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeNodeAdd(java.lang.String text)TreeNodeAdd(java.lang.String key, java.lang.String text)TreeNodeAdd(java.lang.String key, java.lang.String text, int imageIndex)TreeNodeAdd(java.lang.String key, java.lang.String text, int imageIndex, int selectedImageIndex)TreeNodeAdd(java.lang.String key, java.lang.String text, java.lang.String imageKey)TreeNodeAdd(java.lang.String key, java.lang.String text, java.lang.String imageKey, java.lang.String selectedImageKey)intAdd(TreeNode node)voidAddRange(TreeNode[] nodes)static TreeNodeCollectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTreeNodeCollection, a cast assert is made to check if types are compatible.voidClear()booleanContains(TreeNode node)booleanContainsKey(java.lang.String key)voidCopyTo(Array dest, int index)TreeNode[]Find(java.lang.String key, boolean searchAllChildren)intgetCount()booleangetIsReadOnly()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 objectJCTypegetJCOType()Returns the instantiated class TypeintIndexOf(TreeNode node)intIndexOfKey(java.lang.String key)TreeNodeInsert(int index, java.lang.String text)TreeNodeInsert(int index, java.lang.String key, java.lang.String text)TreeNodeInsert(int index, java.lang.String key, java.lang.String text, int imageIndex)TreeNodeInsert(int index, java.lang.String key, java.lang.String text, int imageIndex, int selectedImageIndex)TreeNodeInsert(int index, java.lang.String key, java.lang.String text, java.lang.String imageKey)TreeNodeInsert(int index, java.lang.String key, java.lang.String text, java.lang.String imageKey, java.lang.String selectedImageKey)voidInsert(int index, TreeNode node)voidRemove(TreeNode node)voidRemoveAt(int index)voidRemoveByKey(java.lang.String key)voidsetJCOInstance(JCObject instance)-
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=4.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.TreeNodeCollection- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObjectEnumerable- 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 classNetObjectEnumerable- 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 classNetObjectEnumerable- 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 classNetObjectEnumerable- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObjectEnumerable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObjectEnumerable- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TreeNodeCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTreeNodeCollection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TreeNodeCollectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Contains
public boolean Contains(TreeNode node) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
ContainsKey
public boolean ContainsKey(java.lang.String key) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
-
Add
public int Add(TreeNode node) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryException
-
IndexOf
public int IndexOf(TreeNode node) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
IndexOfKey
public int IndexOfKey(java.lang.String key) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, InvalidOperationException
-
Add
public TreeNode Add(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionWin32ExceptionOutOfMemoryException
-
Add
public TreeNode Add(java.lang.String key, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionWin32ExceptionOutOfMemoryException
-
Add
public TreeNode Add(java.lang.String key, java.lang.String text, int imageIndex) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, Win32Exception, SecurityException
-
Add
public TreeNode Add(java.lang.String key, java.lang.String text, int imageIndex, int selectedImageIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionWin32ExceptionOutOfMemoryException
-
Add
public TreeNode Add(java.lang.String key, java.lang.String text, java.lang.String imageKey) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, Win32Exception, SecurityException
-
Add
public TreeNode Add(java.lang.String key, java.lang.String text, java.lang.String imageKey, java.lang.String selectedImageKey) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, Win32Exception, SecurityException
-
Insert
public TreeNode Insert(int index, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryException
-
Insert
public TreeNode Insert(int index, java.lang.String key, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryException
-
Insert
public TreeNode Insert(int index, java.lang.String key, java.lang.String text, int imageIndex) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, Win32Exception, SecurityException
-
Insert
public TreeNode Insert(int index, java.lang.String key, java.lang.String text, int imageIndex, int selectedImageIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionWin32ExceptionOutOfMemoryException
-
Insert
public TreeNode Insert(int index, java.lang.String key, java.lang.String text, java.lang.String imageKey) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, Win32Exception, SecurityException
-
Insert
public TreeNode Insert(int index, java.lang.String key, java.lang.String text, java.lang.String imageKey, java.lang.String selectedImageKey) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, Win32Exception, SecurityException
-
Find
public TreeNode[] Find(java.lang.String key, boolean searchAllChildren) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
-
AddRange
public void AddRange(TreeNode[] nodes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, SecurityException, NullReferenceException, OutOfMemoryException, CultureNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionWin32ExceptionNotSupportedExceptionSecurityExceptionNullReferenceExceptionOutOfMemoryExceptionCultureNotFoundException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, Win32Exception, NotSupportedException, NullReferenceException, OutOfMemoryException
-
CopyTo
public void CopyTo(Array dest, int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Insert
public void Insert(int index, TreeNode node) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, Win32Exception, NullReferenceException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionWin32ExceptionNullReferenceExceptionOutOfMemoryException
-
Remove
public void Remove(TreeNode node) throws java.lang.Throwable, ObjectDisposedException, Win32Exception, OutOfMemoryException, ArgumentException, ArgumentNullException
- Throws:
java.lang.ThrowableObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, Win32Exception, OutOfMemoryException, ArgumentException, ArgumentNullException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionObjectDisposedExceptionWin32ExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullException
-
RemoveByKey
public void RemoveByKey(java.lang.String key) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCount
public int getCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-