public class TreeNode extends MarshalByRefObject implements ISerializable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.TreeNode
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.TreeNode
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TreeNode() |
TreeNode(java.lang.Object instance)
Internal constructor.
|
TreeNode(java.lang.String text) |
TreeNode(java.lang.String text,
int imageIndex,
int selectedImageIndex) |
TreeNode(java.lang.String text,
int imageIndex,
int selectedImageIndex,
TreeNode[] children) |
TreeNode(java.lang.String text,
TreeNode[] children) |
| Modifier and Type | Method and Description |
|---|---|
void |
BeginEdit() |
static TreeNode |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TreeNode, a cast assert is made to check if types are compatible. |
NetObject |
Clone() |
void |
Collapse() |
void |
Collapse(boolean ignoreChildren) |
void |
EndEdit(boolean cancel) |
void |
EnsureVisible() |
void |
Expand() |
void |
ExpandAll() |
Color |
getBackColor() |
Rectangle |
getBounds() |
boolean |
getChecked() |
ContextMenuStrip |
getContextMenuStrip() |
TreeNode |
getFirstNode() |
Color |
getForeColor() |
java.lang.String |
getFullPath() |
int |
getImageIndex() |
java.lang.String |
getImageKey() |
int |
getIndex() |
boolean |
getIsEditing() |
boolean |
getIsExpanded() |
boolean |
getIsSelected() |
boolean |
getIsVisible() |
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
|
TreeNode |
getLastNode() |
int |
getLevel() |
java.lang.String |
getName() |
TreeNode |
getNextNode() |
TreeNode |
getNextVisibleNode() |
int |
GetNodeCount(boolean includeSubTrees) |
Font |
getNodeFont() |
TreeNodeCollection |
getNodes() |
TreeNode |
getParent() |
TreeNode |
getPrevNode() |
TreeNode |
getPrevVisibleNode() |
int |
getSelectedImageIndex() |
java.lang.String |
getSelectedImageKey() |
int |
getStateImageIndex() |
java.lang.String |
getStateImageKey() |
NetObject |
getTag() |
java.lang.String |
getText() |
java.lang.String |
getToolTipText() |
TreeView |
getTreeView() |
void |
Remove() |
void |
setBackColor(Color BackColor) |
void |
setChecked(boolean Checked) |
void |
setContextMenuStrip(ContextMenuStrip ContextMenuStrip) |
void |
setForeColor(Color ForeColor) |
void |
setImageIndex(int ImageIndex) |
void |
setImageKey(java.lang.String ImageKey) |
void |
setJCOInstance(JCObject instance) |
void |
setName(java.lang.String Name) |
void |
setNodeFont(Font NodeFont) |
void |
setSelectedImageIndex(int SelectedImageIndex) |
void |
setSelectedImageKey(java.lang.String SelectedImageKey) |
void |
setStateImageIndex(int StateImageIndex) |
void |
setStateImageKey(java.lang.String StateImageKey) |
void |
setTag(NetObject Tag) |
void |
setText(java.lang.String Text) |
void |
setToolTipText(java.lang.String ToolTipText) |
void |
Toggle() |
GetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TreeNode()
throws java.lang.Throwable
java.lang.Throwablepublic TreeNode(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic TreeNode(java.lang.String text)
throws java.lang.Throwable
java.lang.Throwablepublic TreeNode(java.lang.String text,
int imageIndex,
int selectedImageIndex)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionCultureNotFoundExceptionpublic TreeNode(java.lang.String text,
int imageIndex,
int selectedImageIndex,
TreeNode[] children)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
ArgumentNullException,
NullReferenceException
public TreeNode(java.lang.String text,
TreeNode[] children)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
public void BeginEdit()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException,
InvalidCastException,
IndexOutOfRangeException,
Win32Exception,
LockRecursionException,
SynchronizationLockException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionOutOfMemoryExceptionInvalidCastExceptionIndexOutOfRangeExceptionWin32ExceptionLockRecursionExceptionSynchronizationLockExceptionpublic static TreeNode cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TreeNode, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTreeNode instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Clone() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, MissingMethodException, TargetInvocationException, OutOfMemoryException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, LockRecursionException, ObjectDisposedException, AbandonedMutexException, SynchronizationLockException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionMissingMethodExceptionTargetInvocationExceptionOutOfMemoryExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionLockRecursionExceptionObjectDisposedExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void Collapse()
throws java.lang.Throwable,
ObjectDisposedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
NotSupportedException,
ArgumentNullException,
PlatformNotSupportedException
public void Collapse(boolean ignoreChildren)
throws java.lang.Throwable,
ObjectDisposedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
NotSupportedException,
ArgumentNullException,
PlatformNotSupportedException
public void EndEdit(boolean cancel)
throws java.lang.Throwable
java.lang.Throwablepublic void EnsureVisible()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException
public void Expand()
throws java.lang.Throwable,
ObjectDisposedException,
Win32Exception,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException
public void ExpandAll()
throws java.lang.Throwable,
ObjectDisposedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
NotSupportedException
java.lang.ThrowableObjectDisposedExceptionWin32ExceptionArgumentExceptionInvalidOperationExceptionOutOfMemoryExceptionNotSupportedExceptionpublic Color getBackColor() throws java.lang.Throwable
java.lang.Throwablepublic Rectangle getBounds() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, Win32Exception, ArgumentException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException
public boolean getChecked()
throws java.lang.Throwable
java.lang.Throwablepublic ContextMenuStrip getContextMenuStrip() throws java.lang.Throwable
java.lang.Throwablepublic TreeNode getFirstNode() throws java.lang.Throwable
java.lang.Throwablepublic Color getForeColor() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getFullPath()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException
public int getImageIndex()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public java.lang.String getImageKey()
throws java.lang.Throwable
java.lang.Throwablepublic int getIndex()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsEditing()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsExpanded()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException
public boolean getIsSelected()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException
public boolean getIsVisible()
throws java.lang.Throwable,
ObjectDisposedException,
PlatformNotSupportedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class MarshalByRefObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISerializablegetJCOClassName in class MarshalByRefObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISerializablegetJCOInstance in class MarshalByRefObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISerializablegetJCOObjectName in class MarshalByRefObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISerializablegetJCOType in class MarshalByRefObjectJCType representing the CLR Type of the instantiated Classpublic TreeNode getLastNode() throws java.lang.Throwable
java.lang.Throwablepublic int getLevel()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwablepublic TreeNode getNextNode() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
public TreeNode getNextVisibleNode() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, InvalidOperationException, OutOfMemoryException, NotSupportedException, ArgumentNullException, PlatformNotSupportedException
public int GetNodeCount(boolean includeSubTrees)
throws java.lang.Throwable
java.lang.Throwablepublic Font getNodeFont() throws java.lang.Throwable
java.lang.Throwablepublic TreeNodeCollection getNodes() throws java.lang.Throwable
java.lang.Throwablepublic TreeNode getParent() throws java.lang.Throwable
java.lang.Throwablepublic TreeNode getPrevNode() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
public TreeNode getPrevVisibleNode() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, InvalidOperationException, OutOfMemoryException, NotSupportedException, ArgumentNullException, PlatformNotSupportedException
public int getSelectedImageIndex()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public java.lang.String getSelectedImageKey()
throws java.lang.Throwable
java.lang.Throwablepublic int getStateImageIndex()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public java.lang.String getStateImageKey()
throws java.lang.Throwable
java.lang.Throwablepublic NetObject getTag() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getText()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getToolTipText()
throws java.lang.Throwable
java.lang.Throwablepublic TreeView getTreeView() throws java.lang.Throwable
java.lang.Throwablepublic void Remove()
throws java.lang.Throwable,
ObjectDisposedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
NotSupportedException,
ArgumentNullException,
PlatformNotSupportedException
public void setBackColor(Color BackColor) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException
public void setChecked(boolean Checked)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionpublic void setContextMenuStrip(ContextMenuStrip ContextMenuStrip) throws java.lang.Throwable
java.lang.Throwablepublic void setForeColor(Color ForeColor) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException
public void setImageIndex(int ImageIndex)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic void setImageKey(java.lang.String ImageKey)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException
public void setJCOInstance(JCObject instance)
setJCOInstance in class MarshalByRefObjectpublic void setName(java.lang.String Name)
throws java.lang.Throwable
java.lang.Throwablepublic void setNodeFont(Font NodeFont) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotSupportedException
public void setSelectedImageIndex(int SelectedImageIndex)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic void setSelectedImageKey(java.lang.String SelectedImageKey)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException
public void setStateImageIndex(int StateImageIndex)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic void setStateImageKey(java.lang.String StateImageKey)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
ArgumentNullException,
FormatException,
ArgumentException,
InvalidOperationException,
CultureNotFoundException
public void setTag(NetObject Tag) throws java.lang.Throwable
java.lang.Throwablepublic void setText(java.lang.String Text)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
CultureNotFoundException
public void setToolTipText(java.lang.String ToolTipText)
throws java.lang.Throwable
java.lang.Throwablepublic void Toggle()
throws java.lang.Throwable,
ObjectDisposedException,
Win32Exception,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
OutOfMemoryException,
ArgumentNullException