Class DefaultMutableTreeNode
public class DefaultMutableTreeNode : JVMBridgeBase<DefaultMutableTreeNode>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<DefaultMutableTreeNode>DefaultMutableTreeNode
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<DefaultMutableTreeNode>.SExecuteWithSignatureArray<T>(string, string, params object[])JVMBridgeBase<DefaultMutableTreeNode>.IsAssignableFrom(IJavaType)JVMBridgeBase<DefaultMutableTreeNode>.IsAssignableFrom<T>()JVMBridgeBase<DefaultMutableTreeNode>.Execute<T>(params T[])JVMBridgeBase<DefaultMutableTreeNode>.DynBridgeClazzJVMBridgeBase<DefaultMutableTreeNode>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
DefaultMutableTreeNode()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public DefaultMutableTreeNode()
DefaultMutableTreeNode(object)
public DefaultMutableTreeNode(object arg0)
Parameters
DefaultMutableTreeNode(object, bool)
public DefaultMutableTreeNode(object arg0, bool arg1)
Parameters
DefaultMutableTreeNode(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public DefaultMutableTreeNode(params object[] args)
Parameters
args
object[]
Properties
AllowsChildren
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/DefaultMutableTreeNode.html#getAllowsChildren() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/DefaultMutableTreeNode.html#setAllowsChildren(boolean)
public bool AllowsChildren { get; set; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ChildCount
public int ChildCount { get; }
Property Value
Depth
public int Depth { get; }
Property Value
EMPTY_ENUMERATION
public static Enumeration EMPTY_ENUMERATION { get; }
Property Value
FirstChild
public TreeNode FirstChild { get; }
Property Value
FirstLeaf
public DefaultMutableTreeNode FirstLeaf { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
LastChild
public TreeNode LastChild { get; }
Property Value
LastLeaf
public DefaultMutableTreeNode LastLeaf { get; }
Property Value
LeafCount
public int LeafCount { get; }
Property Value
Level
public int Level { get; }
Property Value
NextLeaf
public DefaultMutableTreeNode NextLeaf { get; }
Property Value
NextNode
public DefaultMutableTreeNode NextNode { get; }
Property Value
NextSibling
public DefaultMutableTreeNode NextSibling { get; }
Property Value
Parent
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/DefaultMutableTreeNode.html#getParent() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/DefaultMutableTreeNode.html#setParent(javax.swing.tree.MutableTreeNode)
public TreeNode Parent { get; set; }
Property Value
Path
public TreeNode[] Path { get; }
Property Value
- TreeNode[]
PreviousLeaf
public DefaultMutableTreeNode PreviousLeaf { get; }
Property Value
PreviousNode
public DefaultMutableTreeNode PreviousNode { get; }
Property Value
PreviousSibling
public DefaultMutableTreeNode PreviousSibling { get; }
Property Value
Root
public TreeNode Root { get; }
Property Value
SiblingCount
public int SiblingCount { get; }
Property Value
UserObject
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/DefaultMutableTreeNode.html#getUserObject() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/DefaultMutableTreeNode.html#setUserObject(java.lang.Object)
public object UserObject { get; set; }
Property Value
UserObjectPath
public object[] UserObjectPath { get; }
Property Value
- object[]
Methods
Add(MutableTreeNode)
public void Add(MutableTreeNode arg0)
Parameters
BreadthFirstEnumerationMethod()
public Enumeration<TreeNode> BreadthFirstEnumerationMethod()
Returns
Children()
public Enumeration<TreeNode> Children()
Returns
DepthFirstEnumeration()
public Enumeration<TreeNode> DepthFirstEnumeration()
Returns
GetChildAfter(TreeNode)
public TreeNode GetChildAfter(TreeNode arg0)
Parameters
Returns
GetChildAt(int)
public TreeNode GetChildAt(int arg0)
Parameters
Returns
GetChildBefore(TreeNode)
public TreeNode GetChildBefore(TreeNode arg0)
Parameters
Returns
GetIndex(TreeNode)
public int GetIndex(TreeNode arg0)
Parameters
Returns
GetSharedAncestor(DefaultMutableTreeNode)
public TreeNode GetSharedAncestor(DefaultMutableTreeNode arg0)
Parameters
Returns
Insert(MutableTreeNode, int)
public void Insert(MutableTreeNode arg0, int arg1)
Parameters
arg0
MutableTreeNodearg1
int
IsLeaf()
public bool IsLeaf()
Returns
IsNodeAncestor(TreeNode)
public bool IsNodeAncestor(TreeNode arg0)
Parameters
Returns
IsNodeChild(TreeNode)
public bool IsNodeChild(TreeNode arg0)
Parameters
Returns
IsNodeDescendant(DefaultMutableTreeNode)
public bool IsNodeDescendant(DefaultMutableTreeNode arg0)
Parameters
Returns
IsNodeRelated(DefaultMutableTreeNode)
public bool IsNodeRelated(DefaultMutableTreeNode arg0)
Parameters
Returns
IsNodeSibling(TreeNode)
public bool IsNodeSibling(TreeNode arg0)
Parameters
Returns
IsRoot()
public bool IsRoot()
Returns
PathFromAncestorEnumeration(TreeNode)
public Enumeration<TreeNode> PathFromAncestorEnumeration(TreeNode arg0)
Parameters
Returns
PostorderEnumerationMethod()
public Enumeration<TreeNode> PostorderEnumerationMethod()
Returns
PreorderEnumerationMethod()
public Enumeration<TreeNode> PreorderEnumerationMethod()
Returns
Remove(MutableTreeNode)
public void Remove(MutableTreeNode arg0)
Parameters
Remove(int)
public void Remove(int arg0)
Parameters
RemoveAllChildren()
public void RemoveAllChildren()
RemoveFromParent()
public void RemoveFromParent()
Operators
implicit operator Serializable(DefaultMutableTreeNode)
Converter from DefaultMutableTreeNode to Serializable
public static implicit operator Serializable(DefaultMutableTreeNode t)
Parameters
Returns
implicit operator Cloneable(DefaultMutableTreeNode)
Converter from DefaultMutableTreeNode to Cloneable
public static implicit operator Cloneable(DefaultMutableTreeNode t)
Parameters
Returns
implicit operator MutableTreeNode(DefaultMutableTreeNode)
Converter from DefaultMutableTreeNode to MutableTreeNode
public static implicit operator MutableTreeNode(DefaultMutableTreeNode t)