public class TreeNodeCollection extends NetObjectEnumerable
.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
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=10.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.TreeNodeCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
TreeNodeCollection() |
TreeNodeCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TreeNode |
Add(java.lang.String text) |
TreeNode |
Add(java.lang.String key,
java.lang.String text) |
TreeNode |
Add(java.lang.String key,
java.lang.String text,
int imageIndex) |
TreeNode |
Add(java.lang.String key,
java.lang.String text,
int imageIndex,
int selectedImageIndex) |
TreeNode |
Add(java.lang.String key,
java.lang.String text,
java.lang.String imageKey) |
TreeNode |
Add(java.lang.String key,
java.lang.String text,
java.lang.String imageKey,
java.lang.String selectedImageKey) |
int |
Add(TreeNode node) |
void |
AddRange(TreeNode... nodes) |
static TreeNodeCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TreeNodeCollection, a cast assert is made to check if types are compatible. |
void |
Clear() |
boolean |
Contains(TreeNode node) |
boolean |
ContainsKey(java.lang.String key) |
void |
CopyTo(Array dest,
int index) |
TreeNode[] |
Find(java.lang.String key,
boolean searchAllChildren) |
int |
getCount() |
boolean |
getIsReadOnly() |
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(TreeNode node) |
int |
IndexOfKey(java.lang.String key) |
TreeNode |
Insert(int index,
java.lang.String text) |
TreeNode |
Insert(int index,
java.lang.String key,
java.lang.String text) |
TreeNode |
Insert(int index,
java.lang.String key,
java.lang.String text,
int imageIndex) |
TreeNode |
Insert(int index,
java.lang.String key,
java.lang.String text,
int imageIndex,
int selectedImageIndex) |
TreeNode |
Insert(int index,
java.lang.String key,
java.lang.String text,
java.lang.String imageKey) |
TreeNode |
Insert(int index,
java.lang.String key,
java.lang.String text,
java.lang.String imageKey,
java.lang.String selectedImageKey) |
void |
Insert(int index,
TreeNode node) |
void |
Remove(TreeNode node) |
void |
RemoveAt(int index) |
void |
RemoveByKey(java.lang.String key) |
void |
setJCOInstance(JCObject instance) |
GetEnumerator, 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 TreeNodeCollection()
throws java.lang.Throwable
java.lang.Throwablepublic TreeNodeCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic TreeNode Add(java.lang.String text) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionpublic TreeNode Add(java.lang.String key, java.lang.String text) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionpublic TreeNode Add(java.lang.String key, java.lang.String text, int imageIndex) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionCultureNotFoundExceptionpublic TreeNode Add(java.lang.String key, java.lang.String text, int imageIndex, int selectedImageIndex) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, ArgumentNullException
public TreeNode Add(java.lang.String key, java.lang.String text, java.lang.String imageKey) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, InvalidOperationException, CultureNotFoundException, ArgumentNullException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentNullExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic TreeNode Add(java.lang.String key, java.lang.String text, java.lang.String imageKey, java.lang.String selectedImageKey) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, InvalidOperationException, CultureNotFoundException, ArgumentNullException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentNullExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionpublic int Add(TreeNode node) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionpublic void AddRange(TreeNode... nodes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OutOfMemoryException
public static TreeNodeCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TreeNodeCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTreeNodeCollection instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
Win32Exception,
OutOfMemoryException,
NotSupportedException,
PlatformNotSupportedException,
InvalidOperationException
java.lang.ThrowableWin32ExceptionOutOfMemoryExceptionNotSupportedExceptionPlatformNotSupportedExceptionInvalidOperationExceptionpublic boolean Contains(TreeNode node) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
public boolean ContainsKey(java.lang.String key)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionCultureNotFoundExceptionpublic void CopyTo(Array dest, int index) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, InvalidCastException
public TreeNode[] Find(java.lang.String key, boolean searchAllChildren) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException
public int getCount()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic int IndexOf(TreeNode node) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
public int IndexOfKey(java.lang.String key)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
CultureNotFoundException,
NullReferenceException,
OutOfMemoryException,
ExternalException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionpublic TreeNode Insert(int index, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, ExternalException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionExternalExceptionpublic TreeNode Insert(int index, java.lang.String key, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, ExternalException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionOutOfMemoryExceptionExternalExceptionpublic TreeNode Insert(int index, java.lang.String key, java.lang.String text, int imageIndex) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionCultureNotFoundExceptionpublic TreeNode Insert(int index, java.lang.String key, java.lang.String text, int imageIndex, int selectedImageIndex) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, ArgumentNullException
public TreeNode Insert(int index, java.lang.String key, java.lang.String text, java.lang.String imageKey) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, InvalidOperationException, CultureNotFoundException, ArgumentNullException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentNullExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic TreeNode Insert(int index, java.lang.String key, java.lang.String text, java.lang.String imageKey, java.lang.String selectedImageKey) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, InvalidOperationException, CultureNotFoundException, ArgumentNullException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionInvalidOperationExceptionCultureNotFoundExceptionArgumentNullExceptionObjectDisposedExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void Insert(int index,
TreeNode node)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException,
RankException,
ArrayTypeMismatchException,
InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic void Remove(TreeNode node) throws java.lang.Throwable, Win32Exception, OutOfMemoryException, NotSupportedException, PlatformNotSupportedException, InvalidOperationException
java.lang.ThrowableWin32ExceptionOutOfMemoryExceptionNotSupportedExceptionPlatformNotSupportedExceptionInvalidOperationExceptionpublic void RemoveAt(int index)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
Win32Exception,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionWin32ExceptionOutOfMemoryExceptionpublic void RemoveByKey(java.lang.String key)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
NullReferenceException,
OutOfMemoryException,
ExternalException,
ArgumentNullException,
CultureNotFoundException,
Win32Exception
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionArgumentNullExceptionCultureNotFoundExceptionWin32Exceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerable