Table of Contents

Class DefaultListSelectionModel

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class DefaultListSelectionModel : JVMBridgeBase<DefaultListSelectionModel>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
DefaultListSelectionModel
Implements
Inherited Members
Extension Methods

Constructors

DefaultListSelectionModel()

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

public DefaultListSelectionModel()

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

Parameters

args object[]

Properties

AnchorSelectionIndex

public int AnchorSelectionIndex { get; set; }

Property Value

int

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

LeadSelectionIndex

public int LeadSelectionIndex { get; set; }

Property Value

int

ListSelectionListeners

public ListSelectionListener[] ListSelectionListeners { get; }

Property Value

ListSelectionListener[]

MaxSelectionIndex

public int MaxSelectionIndex { get; }

Property Value

int

MinSelectionIndex

public int MinSelectionIndex { get; }

Property Value

int

SelectionMode

public int SelectionMode { get; set; }

Property Value

int

ValueIsAdjusting

public bool ValueIsAdjusting { get; set; }

Property Value

bool

Methods

AddListSelectionListener(ListSelectionListener)

public void AddListSelectionListener(ListSelectionListener arg0)

Parameters

arg0 ListSelectionListener

ListSelectionListener

AddSelectionInterval(int, int)

public void AddSelectionInterval(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

ClearSelection()

public void ClearSelection()

GetListeners<T>(Class)

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

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IEventListener

InsertIndexInterval(int, int, bool)

public void InsertIndexInterval(int arg0, int arg1, bool arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 bool

bool

IsLeadAnchorNotificationEnabled()

public bool IsLeadAnchorNotificationEnabled()

Returns

bool

bool

IsSelectedIndex(int)

public bool IsSelectedIndex(int arg0)

Parameters

arg0 int

int

Returns

bool

bool

IsSelectionEmpty()

public bool IsSelectionEmpty()

Returns

bool

bool

MoveLeadSelectionIndex(int)

public void MoveLeadSelectionIndex(int arg0)

Parameters

arg0 int

int

RemoveIndexInterval(int, int)

public void RemoveIndexInterval(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

RemoveListSelectionListener(ListSelectionListener)

public void RemoveListSelectionListener(ListSelectionListener arg0)

Parameters

arg0 ListSelectionListener

ListSelectionListener

RemoveSelectionInterval(int, int)

public void RemoveSelectionInterval(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

SetLeadAnchorNotificationEnabled(bool)

public void SetLeadAnchorNotificationEnabled(bool arg0)

Parameters

arg0 bool

bool

SetSelectionInterval(int, int)

public void SetSelectionInterval(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Operators

implicit operator Serializable(DefaultListSelectionModel)

public static implicit operator Serializable(DefaultListSelectionModel t)

Parameters

t DefaultListSelectionModel

Returns

Serializable

implicit operator Cloneable(DefaultListSelectionModel)

public static implicit operator Cloneable(DefaultListSelectionModel t)

Parameters

t DefaultListSelectionModel

Returns

Cloneable

implicit operator ListSelectionModel(DefaultListSelectionModel)

public static implicit operator ListSelectionModel(DefaultListSelectionModel t)

Parameters

t DefaultListSelectionModel

Returns

ListSelectionModel