carlw
04/04/2018, 8:22 PMamanda.hinchman-dominguez
04/04/2018, 8:25 PMamanda.hinchman-dominguez
04/04/2018, 8:26 PMmultiple options, but between the workbench and the gui, there are 3 components total▾
amanda.hinchman-dominguez
04/04/2018, 8:28 PMGridPane
view. Trying to decide whether the component should be a view or fragment. Now that I've slept on it, perhaps I should make the fragment scoped to handle sharing the single controlleramanda.hinchman-dominguez
04/04/2018, 8:28 PMbkenn
04/04/2018, 8:29 PMcarlw
04/04/2018, 8:31 PMamanda.hinchman-dominguez
04/04/2018, 8:31 PMGridPane
amanda.hinchman-dominguez
04/04/2018, 8:32 PMbkenn
04/04/2018, 8:40 PMGridPane
, if there is only one, should share the global scope of the application and each Tile
should have their own scope on creation.bkenn
04/04/2018, 8:40 PMTile
as a View
if its scopedamanda.hinchman-dominguez
04/04/2018, 8:51 PMTile
is only an object in this instanceamanda.hinchman-dominguez
04/04/2018, 8:53 PMGridPane
sits within another component, because the GridPane
creation is meant to be a new generation. The Tiles
are actually an object from TilesFX
, and can be dragged-and-dropped to create a customized dashboardamanda.hinchman-dominguez
04/04/2018, 8:54 PMbkenn
04/04/2018, 9:06 PMamanda.hinchman-dominguez
04/04/2018, 9:33 PMamanda.hinchman-dominguez
04/04/2018, 9:34 PMamanda.hinchman-dominguez
04/04/2018, 9:34 PMamanda.hinchman-dominguez
04/04/2018, 9:37 PMbkenn
04/04/2018, 10:03 PMReturn to Workbench
, the Grid
would not use the selected Grid
because it was working with Views with no new scope thus using the cached TileGUI
.amanda.hinchman-dominguez
04/04/2018, 11:01 PMamanda.hinchman-dominguez
04/04/2018, 11:02 PMamanda.hinchman-dominguez
04/04/2018, 11:02 PMbkenn
04/04/2018, 11:10 PMTileGUI
. When you select a Grid
from the Workbench
you want that grid to be scoped. This means that any other Views
or Fragments
created from TileGUI
are using the Scope
created by the Scope
in WorkbenchController
line 23 unless specified otherwise. This is beneficial because if you dont want to save the current state of the tiles you can Return to Workbench
and create a new TileGUI
with a new Scope
.Hamza
04/04/2018, 11:13 PMamanda.hinchman-dominguez
04/04/2018, 11:14 PMamanda.hinchman-dominguez
04/04/2018, 11:15 PMamanda.hinchman-dominguez
04/04/2018, 11:27 PMRuckus
04/04/2018, 11:29 PMhandle
method gets called once per frame. By default JavaFX is throttled to 60fps.Hamza
04/05/2018, 2:04 AM