Class TreeSelectionModel
public class TreeSelectionModel : JVMBridgeBase<TreeSelectionModel>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ITreeSelectionModel
- Inheritance
-
TreeSelectionModel
- Implements
- Inherited Members
- Extension Methods
Constructors
TreeSelectionModel()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("TreeSelectionModel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TreeSelectionModel()
TreeSelectionModel(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
[Obsolete("TreeSelectionModel class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public TreeSelectionModel(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CONTIGUOUS_TREE_SELECTION
public static int CONTIGUOUS_TREE_SELECTION { get; }
Property Value
DISCONTIGUOUS_TREE_SELECTION
public static int DISCONTIGUOUS_TREE_SELECTION { 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
LeadSelectionPath
public TreePath LeadSelectionPath { get; }
Property Value
LeadSelectionRow
public int LeadSelectionRow { get; }
Property Value
MaxSelectionRow
public int MaxSelectionRow { get; }
Property Value
MinSelectionRow
public int MinSelectionRow { get; }
Property Value
RowMapper
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/TreeSelectionModel.html#getRowMapper() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/TreeSelectionModel.html#setRowMapper(javax.swing.tree.RowMapper)
public RowMapper RowMapper { get; set; }
Property Value
SINGLE_TREE_SELECTION
public static int SINGLE_TREE_SELECTION { get; }
Property Value
SelectionCount
public int SelectionCount { get; }
Property Value
SelectionMode
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/TreeSelectionModel.html#getSelectionMode() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/TreeSelectionModel.html#setSelectionMode(int)
public int SelectionMode { get; set; }
Property Value
SelectionPath
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/TreeSelectionModel.html#getSelectionPath() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/TreeSelectionModel.html#setSelectionPath(javax.swing.tree.TreePath)
public TreePath SelectionPath { get; set; }
Property Value
SelectionPaths
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/TreeSelectionModel.html#getSelectionPaths() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/tree/TreeSelectionModel.html#setSelectionPaths(javax.swing.tree.TreePath[])
public TreePath[] SelectionPaths { get; set; }
Property Value
- TreePath[]
SelectionRows
public int[] SelectionRows { get; }
Property Value
- int[]
Methods
AddPropertyChangeListener(PropertyChangeListener)
public void AddPropertyChangeListener(PropertyChangeListener arg0)
Parameters
AddSelectionPath(TreePath)
public void AddSelectionPath(TreePath arg0)
Parameters
AddSelectionPaths(TreePath[])
public void AddSelectionPaths(TreePath[] arg0)
Parameters
AddTreeSelectionListener(TreeSelectionListener)
public void AddTreeSelectionListener(TreeSelectionListener arg0)
Parameters
ClearSelection()
public void ClearSelection()
IsPathSelected(TreePath)
public bool IsPathSelected(TreePath arg0)
Parameters
Returns
IsRowSelected(int)
public bool IsRowSelected(int arg0)
Parameters
Returns
IsSelectionEmpty()
public bool IsSelectionEmpty()
Returns
RemovePropertyChangeListener(PropertyChangeListener)
public void RemovePropertyChangeListener(PropertyChangeListener arg0)
Parameters
RemoveSelectionPath(TreePath)
public void RemoveSelectionPath(TreePath arg0)
Parameters
RemoveSelectionPaths(TreePath[])
public void RemoveSelectionPaths(TreePath[] arg0)
Parameters
RemoveTreeSelectionListener(TreeSelectionListener)
public void RemoveTreeSelectionListener(TreeSelectionListener arg0)
Parameters
ResetRowSelection()
public void ResetRowSelection()