Swing Check Box Tree

A set of components for use with Swing JTrees that provide support for JCheckBox nodes.

Лицензия

Лицензия

Simplified BSD License
Группа

Группа

org.scijava
Идентификатор

Идентификатор

swing-checkbox-tree
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Swing Check Box Tree
A set of components for use with Swing JTrees that provide support for JCheckBox nodes.
Ссылка на сайт

Ссылка на сайт

https://github.com/scijava/swing-checkbox-tree
Организация-разработчик

Организация-разработчик

SciJava
Система контроля версий

Система контроля версий

https://github.com/scijava/swing-checkbox-tree

Скачать swing-checkbox-tree

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.scijava/swing-checkbox-tree/ -->
<dependency>
    <groupId>org.scijava</groupId>
    <artifactId>swing-checkbox-tree</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.scijava/swing-checkbox-tree/
implementation 'org.scijava:swing-checkbox-tree:1.0.2'
// https://jarcasting.com/artifacts/org.scijava/swing-checkbox-tree/
implementation ("org.scijava:swing-checkbox-tree:1.0.2")
'org.scijava:swing-checkbox-tree:jar:1.0.2'
<dependency org="org.scijava" name="swing-checkbox-tree" rev="1.0.2">
  <artifact name="swing-checkbox-tree" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.scijava', module='swing-checkbox-tree', version='1.0.2')
)
libraryDependencies += "org.scijava" % "swing-checkbox-tree" % "1.0.2"
[org.scijava/swing-checkbox-tree "1.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Swing Checkbox Tree

A check box tree package based on John Zukowski's CheckBox Node Tree Sample code.

You can mix and match DefaultMutableTreeNode and CheckBoxNodeData node types. It also allows check box nodes as non-leaf nodes.

It uses a JCheckBox + JLabel in a JPanel to differentiate between clicking on a check box (to check/uncheck a node) versus a label (to select a node).

The latter example also has code for recursively toggling subtrees in response to boxes being checked or unchecked (see the treeNodesChanged method).

See also this question on StackOverflow.

org.scijava

SciJava

Scientific libraries in Java

Версии библиотеки

Версия
1.0.2
1.0.1
1.0.0