Code Monkey home page Code Monkey logo

tornadofx-dnd-tilesfx's Introduction

TornadoFX-DnD-TilesFX

Native app displaying TornadoFX's latest features and the ease of integrating existing JavaFX libraries with TornadoFX. A basic drag-and-drop for a custom object without the use of Clipboard for custom grid creations using TilesFX.

Notable TornadoFX features:

  • Datagrid paginators: paginate cells with a set cell count per page

  • JSON Support: Lightweight support for reading JSON files and parsing them into files. Define your grids and tiles using JSON files for grid/tile construction

    {
             "title": "a_block",
             "width": 100.0,
             "height": 100.0,
             "color": "#00AEEF"
    }
    

Models and Scopes:

  • TileBuilder: builds a single tile using TilesFX
  • TilePlacement and GridInfo: used to create custom grids with TilesFX
  • GridScope: used to pass information from a selected datagrid to generate a custom grid

alttext

tornadofx-dnd-tilesfx's People

Contributors

abhinayagarwal avatar ahinchman1 avatar bkenn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tornadofx-dnd-tilesfx's Issues

Drag and Drop

animateDrag does not render a new tile, although a tile is dropped.

Fragments V Views

A View has an injectable class for field assignment, but Fragments do not.

At the moment, I'm left with two unsavory choices:

  1. use a fragment to recycle views, but heavy load drag and drop functionality in every instance (and mashing together VC) or
  2. keep the V and C separated and clean but using a view means I cannot recall a scope on init (edited)

I'll let you know what solution I stumble upon, but some thoughts I have, and in no particular ranking of bad to good or the likes, are the following:

  • a fragment that uses find seems to have a java stack overload, as expect for something this heavy-duty when using a controller as a global field. Scope in scope. sounds terrible right off the bat
  • eventbus - trigger a call for a new scope upon switching back to the view
  • create a special component similar to a fragment, but only for the view so a lazy load can be called once for class injection, but the view itself clears every time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.