Skip to content

s-schoen/taginputfx

Repository files navigation

TagInputFx

Download

A simple Tag input control for JavaFx.

tag-input

License: MIT

Usage

Declare the repository and add build dependency

repositories {
    maven{
        url 'https://dl.bintray.com/sschoen/JavaLibs'
    }
}

...

dependencies {
    implementation 'com.gmail.steffen1995:taginputfx:1.0.0'
}

Use the control

import com.gmail.steffen1995.taginputfx.TagInput;

// create a new TagInput
TagInput tagInput = new TagInput();

// optionally, set available tags for suggestions when typing
tagInput.setAvailableTags(myTags);

// selected tags can be specified the following way
tagInput.setSelectedTags(initialTags);

// by default, new tags can be created, if you only want selection from the available tags use
tagInput.setAllowNewTags(false);

About

A simple tag input control for JavaFx

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors