Skip to main content
This revision made September 09, 2011 15:31, by tbee

MigLayoutFX2 Wiki

MigPane is a wrapper for MigLayout, one of the most powerful layout managers for Swing. This wrapper allows you to use the power of MigLayout to layout nodes in JavaFX.

MigPane is a 100% JavaFX container (a.o. allowing for CSS styling) and adds methods for adding nodes with MigLayout constraints: add(Node, CC).

An example of how MigLayoutFX2 is used can be found in the test directory in the sourcetree or here.

Difference compared to previous revision
<span>= MigLayoutFX2 Wiki = Mig<span style="text-decoration:line-through;color:red">L</span><span style="text-decoration:underline;color:green">P</span>a<span style="text-decoration:line-through;color:red">youtFX2</span><span style="text-decoration:underline;color:green">ne</span> is a wrapper for [http://www.miglayout.com/ MigLayout], one of the most powerful layout managers for Swing. This wrapper allows you to use the power of MigLayout to layout nodes in JavaFX. Mig<span style="text-decoration:line-through;color:red">L</span><span style="text-decoration:underline;color:green">P</span>a<span style="text-decoration:line-through;color:red">youtFX2 exte</span>n<span style="text-decoration:line-through;color:red">d</span>an<span style="text-decoration:underline;color:green">e i</span>s <span style="text-decoration:underline;color:green">a 100% </span>s JavaFX <span style="text-decoration:line-through;color:red">Regi</span>JavaFX <span style="text-decoration:underline;color:green">c</span>on<span style="text-decoration:underline;color:green">tainer</span> (a<span style="text-decoration:underline;color:green">.o. a</span>on (allowing for CSS styling) and adds <span style="text-decoration:line-through;color:red">a single </span>method<span style="text-decoration:line-through;color:red">:</span>llowing for CSS styling) and adds method<span style="text-decoration:underline;color:green">s</span> <span style="text-decoration:line-through;color:red">''</span><span style="text-decoration:underline;color:green">for </span>add<span style="text-decoration:line-through;color:red">Ch</span>i<span style="text-decoration:line-through;color:red">ld(Node,</span>addi<span style="text-decoration:underline;color:green">ng</span> <span style="text-decoration:line-through;color:red">CC)''. N</span><span style="text-decoration:underline;color:green">n</span>odes <span style="text-decoration:line-through;color:red">added to the layout v</span><span style="text-decoration:underline;color:green">w</span>i<span style="text-decoration:line-through;color:red">a </span>th<span style="text-decoration:line-through;color:red">is</span> <span style="text-decoration:line-through;color:red">method are managed by </span>MigLayout<span style="text-decoration:line-through;color:red">FX2,</span> <span style="text-decoration:line-through;color:red">n</span>ith MigLayout <span style="text-decoration:underline;color:green">c</span>o<span style="text-decoration:line-through;color:red">de</span><span style="text-decoration:underline;color:green">n</span>s<span style="text-decoration:line-through;color:red"> added by </span>t<span style="text-decoration:line-through;color:red">he </span>r<span style="text-decoration:line-through;color:red">egul</span>a<span style="text-decoration:line-through;color:red">r</span>stra<span style="text-decoration:underline;color:green">ints:</span> ''<span style="text-decoration:line-through;color:red">getChilderen().</span> ''add(Node<span style="text-decoration:underline;color:green">, CC</span>add(Node)''<span style="text-decoration:line-through;color:red"> are not managed and must be positioned and sized by the application</span>. An example of how MigLayoutFX2 is used can be found in the test directory in the sourcetree or [http://tbeernot.wordpress.com/2011/03/11/javafx-2-0-ea-and-miglayout/ here]. <span>
 
 
Close
loading
Please Confirm
Close