TornadoFX-ControlsFX Integration

TornadoFX integration library for ControlsFX

License

License

GroupId

GroupId

no.tornado
ArtifactId

ArtifactId

tornadofx-controlsfx
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

TornadoFX-ControlsFX Integration
TornadoFX integration library for ControlsFX
Project URL

Project URL

https://github.com/edvin/tornadofx-controlsfx
Source Code Management

Source Code Management

https://github.com/edvin/tornadofx-controlsfx

Download tornadofx-controlsfx

How to add to project

<!-- https://jarcasting.com/artifacts/no.tornado/tornadofx-controlsfx/ -->
<dependency>
    <groupId>no.tornado</groupId>
    <artifactId>tornadofx-controlsfx</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/no.tornado/tornadofx-controlsfx/
implementation 'no.tornado:tornadofx-controlsfx:0.1.1'
// https://jarcasting.com/artifacts/no.tornado/tornadofx-controlsfx/
implementation ("no.tornado:tornadofx-controlsfx:0.1.1")
'no.tornado:tornadofx-controlsfx:jar:0.1.1'
<dependency org="no.tornado" name="tornadofx-controlsfx" rev="0.1.1">
  <artifact name="tornadofx-controlsfx" type="jar" />
</dependency>
@Grapes(
@Grab(group='no.tornado', module='tornadofx-controlsfx', version='0.1.1')
)
libraryDependencies += "no.tornado" % "tornadofx-controlsfx" % "0.1.1"
[no.tornado/tornadofx-controlsfx "0.1.1"]

Dependencies

compile (2)

Group / Artifact Type Version
no.tornado : tornadofx jar 1.7.16
org.controlsfx : controlsfx jar 8.40.14

Project Modules

There are no modules declared in this project.

TornadoFX-ControlsFX

ControlsFX builder extensions and utilities for TornadoFX.

Maven Central Apache License

Add TornadoFX-ControlsFX to your project

Maven

<dependency>
    <groupId>no.tornado</groupId>
    <artifactId>tornadofx-controlsfx</artifactId>
    <version>0.1</version>
</dependency>

Gradle

compile 'no.tornado:tornadofx-controlsfx:0.1'

Examples

TableView Filter

class TableFilterView : View() {
    override val root = tableview(patients) {

        column("FIRST NAME", Patient::firstName)
        column("LAST NAME", Patient::lastName)
        column("GENDER", Patient::gender) {
            columnfilter {
                exceptValue(Gender.FEMALE)
            }
        }
        column("BIRTHDAY", Patient::birthday)
        column("AGE", Patient::age)
        column("WBCC", Patient::whiteBloodCellCount)

        tableFilter.executeFilter()
    }
}

BreadCrumbBar

class BreadCrumbPane: View() {

    var targetCrumb: TreeItem<String>? = null

    override val root = breadcrumbbar<String> {
        treeitem("Alpha") {
            treeitem("Beta") {
                targetCrumb = treeitem("Gamma")
            }
            treeitem("Zeta")
        }

        selectedCrumb = targetCrumb
    }
}

Contributing

I might have missed some or may have included extraneous utilities, but any help to create a TornadoFX DSL for the following is welcome.

Please read JavaDocs for full list of controls: https://controlsfx.bitbucket.io/

  • BreadCrumbBar
  • Borders
  • CheckListView
  • CheckComboBox
  • CheckTreeView
  • Glyphs
  • CustomPasswordField
  • CustomTextField
  • Picker
  • ProgressDialog
  • ExceptionDialog
  • TableFilter
  • RangeSlider
  • SpreadsheetView
  • StatusBar
  • ToggleSwitch
  • WorldMapView
  • SegmentedBar
  • Rating
  • PropertySheet
  • PopOver
  • Plus/Minus Slider
  • Notifications
  • NotificationsPane
  • MasterDetailPane
  • MaskerPane
  • HyperlinkLabel
  • GridView
  • FontAwesome
  • Decorator
  • InfoOverlay
  • ListSelectionView
  • Prefix Selection Combobox/Choicebox
  • SnapshotView
  • HiddenSidesPane
  • LoginDialog
  • CommandLinksDialog

Versions

Version
0.1.1
0.1