Package system.windows.forms
Class TreeNode
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.windows.forms.TreeNode
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ISerializable
public class TreeNode extends MarshalByRefObject implements ISerializable
The base .NET class managing System.Windows.Forms.TreeNode, System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- 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=8.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.TreeNodestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
BeginEdit()
static TreeNode
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTreeNode
, 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 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 TypeTreeNode
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()
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.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.TreeNode- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TreeNode
public TreeNode(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
TreeNode
public TreeNode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
TreeNode
public TreeNode(java.lang.String text, int imageIndex, int selectedImageIndex, TreeNode[] children) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException, RankException
-
TreeNode
public TreeNode(java.lang.String text, int imageIndex, int selectedImageIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException
-
TreeNode
public TreeNode(java.lang.String text, TreeNode[] children) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OutOfMemoryException, ExternalException, CultureNotFoundException
-
TreeNode
public TreeNode(java.lang.String text) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Overrides:
getJCOAssemblyName
in classMarshalByRefObject
- 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
- Specified by:
getJCOClassName
in interfaceISerializable
- Overrides:
getJCOClassName
in classMarshalByRefObject
- 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
- Specified by:
getJCOObjectName
in interfaceISerializable
- Overrides:
getJCOObjectName
in classMarshalByRefObject
- 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
- Specified by:
getJCOInstance
in interfaceISerializable
- Overrides:
getJCOInstance
in classMarshalByRefObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classMarshalByRefObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Overrides:
getJCOType
in classMarshalByRefObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TreeNode cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTreeNode
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TreeNode
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetNodeCount
public int GetNodeCount(boolean includeSubTrees) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ArrayTypeMismatchException
InvalidOperationException
IndexOutOfRangeException
FormatException
OutOfMemoryException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
-
BeginEdit
public void BeginEdit() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, Win32Exception, NotSupportedException, OutOfMemoryException
-
Collapse
public void Collapse() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ObjectDisposedException
Win32Exception
ArgumentException
InvalidOperationException
OutOfMemoryException
PlatformNotSupportedException
-
Collapse
public void Collapse(boolean ignoreChildren) throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ObjectDisposedException
Win32Exception
ArgumentException
InvalidOperationException
OutOfMemoryException
PlatformNotSupportedException
-
EndEdit
public void EndEdit(boolean cancel) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
EnsureVisible
public void EnsureVisible() throws java.lang.Throwable, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, Win32Exception, NotSupportedException, OutOfMemoryException, MulticastNotSupportedException
-
Expand
public void Expand() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException
-
ExpandAll
public void ExpandAll() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, InvalidOperationException, OutOfMemoryException
- Throws:
java.lang.Throwable
ObjectDisposedException
Win32Exception
ArgumentException
InvalidOperationException
OutOfMemoryException
-
Remove
public void Remove() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, InvalidOperationException, OutOfMemoryException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
Toggle
public void Toggle() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException
-
getChecked
public boolean getChecked() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setChecked
public void setChecked(boolean Checked) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
-
getIsEditing
public boolean getIsEditing() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsExpanded
public boolean getIsExpanded() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, Win32Exception, ArgumentException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException
-
getIsSelected
public boolean getIsSelected() throws java.lang.Throwable, ObjectDisposedException, PlatformNotSupportedException, Win32Exception, ArgumentException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException
-
getIsVisible
public boolean getIsVisible() throws java.lang.Throwable, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, Win32Exception, NotSupportedException, OutOfMemoryException, MulticastNotSupportedException
-
getImageIndex
public int getImageIndex() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
-
setImageIndex
public void setImageIndex(int ImageIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException
-
getIndex
public int getIndex() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLevel
public int getLevel() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSelectedImageIndex
public int getSelectedImageIndex() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
-
setSelectedImageIndex
public void setSelectedImageIndex(int SelectedImageIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException
-
getStateImageIndex
public int getStateImageIndex() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
-
setStateImageIndex
public void setStateImageIndex(int StateImageIndex) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException
-
getBackColor
public Color getBackColor() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBackColor
public void setBackColor(Color BackColor) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException
-
getForeColor
public Color getForeColor() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setForeColor
public void setForeColor(Color ForeColor) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException
-
getNodeFont
public Font getNodeFont() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNodeFont
public void setNodeFont(Font NodeFont) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException
-
getBounds
public Rectangle getBounds() throws java.lang.Throwable, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, Win32Exception, NotSupportedException, OutOfMemoryException, MulticastNotSupportedException
-
getTag
public NetObject getTag() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTag
public void setTag(NetObject Tag) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFullPath
public java.lang.String getFullPath() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException
-
getImageKey
public java.lang.String getImageKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setImageKey
public void setImageKey(java.lang.String ImageKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentNullException, CultureNotFoundException
-
getName
public java.lang.String getName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSelectedImageKey
public java.lang.String getSelectedImageKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSelectedImageKey
public void setSelectedImageKey(java.lang.String SelectedImageKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentNullException, CultureNotFoundException
-
getStateImageKey
public java.lang.String getStateImageKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStateImageKey
public void setStateImageKey(java.lang.String StateImageKey) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, InvalidOperationException, ArgumentNullException, CultureNotFoundException
-
getText
public java.lang.String getText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setText
public void setText(java.lang.String Text) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentNullException, CultureNotFoundException
-
getToolTipText
public java.lang.String getToolTipText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setToolTipText
public void setToolTipText(java.lang.String ToolTipText) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getContextMenuStrip
public ContextMenuStrip getContextMenuStrip() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContextMenuStrip
public void setContextMenuStrip(ContextMenuStrip ContextMenuStrip) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFirstNode
public TreeNode getFirstNode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLastNode
public TreeNode getLastNode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNextNode
public TreeNode getNextNode() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
getNextVisibleNode
public TreeNode getNextVisibleNode() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException
-
getParent
public TreeNode getParent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPrevNode
public TreeNode getPrevNode() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
getPrevVisibleNode
public TreeNode getPrevVisibleNode() throws java.lang.Throwable, ObjectDisposedException, Win32Exception, ArgumentException, PlatformNotSupportedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException
-
getNodes
public TreeNodeCollection getNodes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTreeView
public TreeView getTreeView() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-