Class DefaultTreeModel
public class DefaultTreeModel : JVMBridgeBase<DefaultTreeModel>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<DefaultTreeModel>DefaultTreeModel
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<DefaultTreeModel>.IsAssignableFrom(IJavaType)JVMBridgeBase<DefaultTreeModel>.IsAssignableFrom<T>()JVMBridgeBase<DefaultTreeModel>.Execute<T>(params T[])JVMBridgeBase<DefaultTreeModel>.DynBridgeClazzJVMBridgeBase<DefaultTreeModel>.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
DefaultTreeModel()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public DefaultTreeModel()
DefaultTreeModel(TreeNode)
public DefaultTreeModel(TreeNode arg0)
Parameters
DefaultTreeModel(TreeNode, bool)
public DefaultTreeModel(TreeNode arg0, bool arg1)
Parameters
DefaultTreeModel(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 DefaultTreeModel(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { 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
Root
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/DefaultTreeModel.html#getRoot() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/DefaultTreeModel.html#setRoot(javax.swing.tree.TreeNode)
public object Root { get; set; }
Property Value
TreeModelListeners
public TreeModelListener[] TreeModelListeners { get; }
Property Value
Methods
AddTreeModelListener(TreeModelListener)
public void AddTreeModelListener(TreeModelListener arg0)
Parameters
AsksAllowsChildren()
public bool AsksAllowsChildren()
Returns
GetChild(object, int)
public object GetChild(object arg0, int arg1)
Parameters
Returns
GetChildCount(object)
public int GetChildCount(object arg0)
Parameters
Returns
GetIndexOfChild(object, object)
public int GetIndexOfChild(object arg0, object arg1)
Parameters
Returns
GetListeners<T>(Class)
public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()
Parameters
Returns
- T[]
T
Type Parameters
GetPathToRoot(TreeNode)
public TreeNode[] GetPathToRoot(TreeNode arg0)
Parameters
Returns
InsertNodeInto(MutableTreeNode, MutableTreeNode, int)
public void InsertNodeInto(MutableTreeNode arg0, MutableTreeNode arg1, int arg2)
Parameters
arg0
MutableTreeNodearg1
MutableTreeNodearg2
int
IsLeaf(object)
public bool IsLeaf(object arg0)
Parameters
Returns
NodeChanged(TreeNode)
public void NodeChanged(TreeNode arg0)
Parameters
NodeStructureChanged(TreeNode)
public void NodeStructureChanged(TreeNode arg0)
Parameters
NodesChanged(TreeNode, int[])
public void NodesChanged(TreeNode arg0, int[] arg1)
Parameters
NodesWereInserted(TreeNode, int[])
public void NodesWereInserted(TreeNode arg0, int[] arg1)
Parameters
NodesWereRemoved(TreeNode, int[], object[])
public void NodesWereRemoved(TreeNode arg0, int[] arg1, object[] arg2)
Parameters
Reload()
public void Reload()
Reload(TreeNode)
public void Reload(TreeNode arg0)
Parameters
RemoveNodeFromParent(MutableTreeNode)
public void RemoveNodeFromParent(MutableTreeNode arg0)
Parameters
RemoveTreeModelListener(TreeModelListener)
public void RemoveTreeModelListener(TreeModelListener arg0)
Parameters
SetAsksAllowsChildren(bool)
public void SetAsksAllowsChildren(bool arg0)
Parameters
ValueForPathChanged(TreePath, object)
public void ValueForPathChanged(TreePath arg0, object arg1)
Parameters
Operators
implicit operator Serializable(DefaultTreeModel)
Converter from DefaultTreeModel to Serializable
public static implicit operator Serializable(DefaultTreeModel t)
Parameters
Returns
implicit operator TreeModel(DefaultTreeModel)
Converter from DefaultTreeModel to TreeModel
public static implicit operator TreeModel(DefaultTreeModel t)