Table of Contents

Class TreeWillExpandListener

Namespace
Javax.Swing.Event
Assembly
MASES.JNet.dll
public class TreeWillExpandListener : EventListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEventListener, ITreeWillExpandListener
Inheritance
TreeWillExpandListener
Implements
Derived
Inherited Members
Extension Methods

Constructors

TreeWillExpandListener()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public TreeWillExpandListener()

TreeWillExpandListener(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 TreeWillExpandListener(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnTreeWillCollapse

public Action<TreeExpansionEvent> OnTreeWillCollapse { get; set; }

Property Value

Action<TreeExpansionEvent>

Remarks

If OnTreeWillCollapse has a value it takes precedence over corresponding class method

OnTreeWillExpand

public Action<TreeExpansionEvent> OnTreeWillExpand { get; set; }

Property Value

Action<TreeExpansionEvent>

Remarks

If OnTreeWillExpand has a value it takes precedence over corresponding class method

Methods

InitializeHandlers()

Handlers initializer for TreeWillExpandListener

protected virtual void InitializeHandlers()

TreeWillCollapse(TreeExpansionEvent)

public virtual void TreeWillCollapse(TreeExpansionEvent arg0)

Parameters

arg0 TreeExpansionEvent

TreeExpansionEvent

Exceptions

ExpandVetoException

TreeWillExpand(TreeExpansionEvent)

public virtual void TreeWillExpand(TreeExpansionEvent arg0)

Parameters

arg0 TreeExpansionEvent

TreeExpansionEvent

Exceptions

ExpandVetoException