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=9.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.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.TreeNodeCollectionstatic JCType
classType
The 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 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 theIJCOBridgeReflected
instance intoTreeNodeCollection
, 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 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(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)
-
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.TreeNodeCollection- See Also:
- Constant Field Values
-
-
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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObjectEnumerable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObjectEnumerable
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TreeNodeCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTreeNodeCollection
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TreeNodeCollection
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Contains
public boolean Contains(TreeNode node) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException
-
ContainsKey
public boolean ContainsKey(java.lang.String key) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
NullReferenceException
OutOfMemoryException
ExternalException
ArgumentNullException
CultureNotFoundException
-
Add
public int Add(TreeNode node) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
NullReferenceException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
IndexOf
public int IndexOf(TreeNode node) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
IndexOfKey
public int IndexOfKey(java.lang.String key) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
CultureNotFoundException
NullReferenceException
OutOfMemoryException
ExternalException
ArgumentNullException
-
Add
public 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
-
Add
public TreeNode Add(java.lang.String key, java.lang.String text, int imageIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
OutOfMemoryException
CultureNotFoundException
-
Add
public 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, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
Add
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, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
Add
public 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
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
FormatException
RankException
ArrayTypeMismatchException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
Add
public TreeNode Add(java.lang.String text) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, OutOfMemoryException, ExternalException, CultureNotFoundException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
InvalidOperationException
IndexOutOfRangeException
FormatException
RankException
ArrayTypeMismatchException
OutOfMemoryException
ExternalException
CultureNotFoundException
-
Insert
public 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
-
Insert
public TreeNode Insert(int index, java.lang.String key, java.lang.String text, int imageIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
OutOfMemoryException
CultureNotFoundException
-
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, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, InvalidOperationException, CultureNotFoundException, ArgumentNullException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
ArgumentException
InvalidOperationException
CultureNotFoundException
ArgumentNullException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
-
Insert
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, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
ArgumentException
InvalidOperationException
CultureNotFoundException
ArgumentNullException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
-
Insert
public TreeNode Insert(int index, java.lang.String key, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
OutOfMemoryException
ExternalException
-
Insert
public TreeNode Insert(int index, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
OutOfMemoryException
ExternalException
-
Find
public TreeNode[] Find(java.lang.String key, boolean searchAllChildren) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, ExternalException
-
AddRange
public void AddRange(TreeNode... nodes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException
-
Clear
public void Clear() throws java.lang.Throwable, Win32Exception, OutOfMemoryException, NotSupportedException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, ArgumentException
-
CopyTo
public void CopyTo(Array dest, int index) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, RankException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException, InvalidCastException
-
Insert
public void Insert(int index, TreeNode node) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
RankException
ArrayTypeMismatchException
InvalidCastException
-
Remove
public void Remove(TreeNode node) throws java.lang.Throwable, Win32Exception, OutOfMemoryException, NotSupportedException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, ArgumentException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, Win32Exception, OutOfMemoryException
-
RemoveByKey
public void RemoveByKey(java.lang.String key) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, OutOfMemoryException, ExternalException, ArgumentNullException, CultureNotFoundException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
NullReferenceException
OutOfMemoryException
ExternalException
ArgumentNullException
CultureNotFoundException
Win32Exception
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCount
public int getCount() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-