Java javax.swing.tree DefaultTreeSelectionModel fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.tree DefaultTreeSelectionModel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.tree DefaultTreeSelectionModel.

The text is from its open source code.

Constructor

DefaultTreeSelectionModel()
Creates a new instance of DefaultTreeSelectionModel that is empty, with a selection mode of DISCONTIGUOUS_TREE_SELECTION.

Method

voidsetSelectionMode(int mode)
Sets the selection model, which must be one of SINGLE_TREE_SELECTION, CONTIGUOUS_TREE_SELECTION or DISCONTIGUOUS_TREE_SELECTION.