Table of Contents

Class DefaultTreeModel

Namespace
Javax.Swing.Tree
Assembly
MASES.JNet.dll
public class DefaultTreeModel : JVMBridgeBase<DefaultTreeModel>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<DefaultTreeModel>
DefaultTreeModel
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<DefaultTreeModel>.IsAssignableFrom(IJavaType)
JVMBridgeBase<DefaultTreeModel>.IsAssignableFrom<T>()
JVMBridgeBase<DefaultTreeModel>.Execute<T>(params T[])
JVMBridgeBase<DefaultTreeModel>.DynBridgeClazz
JVMBridgeBase<DefaultTreeModel>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

arg0 TreeNode

TreeNode

DefaultTreeModel(TreeNode, bool)

public DefaultTreeModel(TreeNode arg0, bool arg1)

Parameters

arg0 TreeNode

TreeNode

arg1 bool

bool

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

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Root

public object Root { get; set; }

Property Value

object

TreeModelListeners

public TreeModelListener[] TreeModelListeners { get; }

Property Value

TreeModelListener[]

Methods

AddTreeModelListener(TreeModelListener)

public void AddTreeModelListener(TreeModelListener arg0)

Parameters

arg0 TreeModelListener

TreeModelListener

AsksAllowsChildren()

public bool AsksAllowsChildren()

Returns

bool

bool

GetChild(object, int)

public object GetChild(object arg0, int arg1)

Parameters

arg0 object

object

arg1 int

int

Returns

object

object

GetChildCount(object)

public int GetChildCount(object arg0)

Parameters

arg0 object

object

Returns

int

int

GetIndexOfChild(object, object)

public int GetIndexOfChild(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

int

int

GetListeners<T>(Class)

public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IEventListener

GetPathToRoot(TreeNode)

public TreeNode[] GetPathToRoot(TreeNode arg0)

Parameters

arg0 TreeNode

TreeNode

Returns

TreeNode[]

TreeNode

InsertNodeInto(MutableTreeNode, MutableTreeNode, int)

public void InsertNodeInto(MutableTreeNode arg0, MutableTreeNode arg1, int arg2)

Parameters

arg0 MutableTreeNode

MutableTreeNode

arg1 MutableTreeNode

MutableTreeNode

arg2 int

int

IsLeaf(object)

public bool IsLeaf(object arg0)

Parameters

arg0 object

object

Returns

bool

bool

NodeChanged(TreeNode)

public void NodeChanged(TreeNode arg0)

Parameters

arg0 TreeNode

TreeNode

NodeStructureChanged(TreeNode)

public void NodeStructureChanged(TreeNode arg0)

Parameters

arg0 TreeNode

TreeNode

NodesChanged(TreeNode, int[])

public void NodesChanged(TreeNode arg0, int[] arg1)

Parameters

arg0 TreeNode

TreeNode

arg1 int[]

int

NodesWereInserted(TreeNode, int[])

public void NodesWereInserted(TreeNode arg0, int[] arg1)

Parameters

arg0 TreeNode

TreeNode

arg1 int[]

int

NodesWereRemoved(TreeNode, int[], object[])

public void NodesWereRemoved(TreeNode arg0, int[] arg1, object[] arg2)

Parameters

arg0 TreeNode

TreeNode

arg1 int[]

int

arg2 object[]

object

Reload()

public void Reload()

Reload(TreeNode)

public void Reload(TreeNode arg0)

Parameters

arg0 TreeNode

TreeNode

RemoveNodeFromParent(MutableTreeNode)

public void RemoveNodeFromParent(MutableTreeNode arg0)

Parameters

arg0 MutableTreeNode

MutableTreeNode

RemoveTreeModelListener(TreeModelListener)

public void RemoveTreeModelListener(TreeModelListener arg0)

Parameters

arg0 TreeModelListener

TreeModelListener

SetAsksAllowsChildren(bool)

public void SetAsksAllowsChildren(bool arg0)

Parameters

arg0 bool

bool

ValueForPathChanged(TreePath, object)

public void ValueForPathChanged(TreePath arg0, object arg1)

Parameters

arg0 TreePath

TreePath

arg1 object

object

Operators

implicit operator Serializable(DefaultTreeModel)

Converter from DefaultTreeModel to Serializable

public static implicit operator Serializable(DefaultTreeModel t)

Parameters

t DefaultTreeModel

Returns

Serializable

implicit operator TreeModel(DefaultTreeModel)

Converter from DefaultTreeModel to TreeModel

public static implicit operator TreeModel(DefaultTreeModel t)

Parameters

t DefaultTreeModel

Returns

TreeModel