Class DefaultListSelectionModel
public class DefaultListSelectionModel : JVMBridgeBase<DefaultListSelectionModel>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
DefaultListSelectionModel
- Implements
- Inherited Members
-
JVMBridgeBase<DefaultListSelectionModel>.SExecute<TReturn>(Type, IJavaType, string, params object[])
- 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
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/DefaultListSelectionModel.html#getAnchorSelectionIndex() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/DefaultListSelectionModel.html#setAnchorSelectionIndex(int)
public int AnchorSelectionIndex { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
LeadSelectionIndex
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/DefaultListSelectionModel.html#getLeadSelectionIndex() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/DefaultListSelectionModel.html#setLeadSelectionIndex(int)
public int LeadSelectionIndex { get; set; }
Property Value
ListSelectionListeners
public ListSelectionListener[] ListSelectionListeners { get; }
Property Value
MaxSelectionIndex
public int MaxSelectionIndex { get; }
Property Value
MinSelectionIndex
public int MinSelectionIndex { get; }
Property Value
SelectionMode
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/DefaultListSelectionModel.html#getSelectionMode() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/DefaultListSelectionModel.html#setSelectionMode(int)
public int SelectionMode { get; set; }
Property Value
ValueIsAdjusting
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/DefaultListSelectionModel.html#getValueIsAdjusting() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/DefaultListSelectionModel.html#setValueIsAdjusting(boolean)
public bool ValueIsAdjusting { get; set; }
Property Value
Methods
AddListSelectionListener(ListSelectionListener)
public void AddListSelectionListener(ListSelectionListener arg0)
Parameters
AddSelectionInterval(int, int)
public void AddSelectionInterval(int arg0, int arg1)
Parameters
ClearSelection()
public void ClearSelection()
GetListeners<T>(Class)
public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()
Parameters
Returns
- T[]
T
Type Parameters
InsertIndexInterval(int, int, bool)
public void InsertIndexInterval(int arg0, int arg1, bool arg2)
Parameters
IsLeadAnchorNotificationEnabled()
public bool IsLeadAnchorNotificationEnabled()
Returns
IsSelectedIndex(int)
public bool IsSelectedIndex(int arg0)
Parameters
Returns
IsSelectionEmpty()
public bool IsSelectionEmpty()
Returns
MoveLeadSelectionIndex(int)
public void MoveLeadSelectionIndex(int arg0)
Parameters
RemoveIndexInterval(int, int)
public void RemoveIndexInterval(int arg0, int arg1)
Parameters
RemoveListSelectionListener(ListSelectionListener)
public void RemoveListSelectionListener(ListSelectionListener arg0)
Parameters
RemoveSelectionInterval(int, int)
public void RemoveSelectionInterval(int arg0, int arg1)
Parameters
SetLeadAnchorNotificationEnabled(bool)
public void SetLeadAnchorNotificationEnabled(bool arg0)
Parameters
SetSelectionInterval(int, int)
public void SetSelectionInterval(int arg0, int arg1)
Parameters
Operators
implicit operator Serializable(DefaultListSelectionModel)
Converter from DefaultListSelectionModel to Serializable
public static implicit operator Serializable(DefaultListSelectionModel t)
Parameters
Returns
implicit operator Cloneable(DefaultListSelectionModel)
Converter from DefaultListSelectionModel to Cloneable
public static implicit operator Cloneable(DefaultListSelectionModel t)
Parameters
Returns
implicit operator ListSelectionModel(DefaultListSelectionModel)
Converter from DefaultListSelectionModel to ListSelectionModel
public static implicit operator ListSelectionModel(DefaultListSelectionModel t)