JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicALWAYSGrow.ALWAYS

vgrow/hgrow: Component will always try to grow, sharing space equally with other components that have a grow of ALWAYS.

publicBASELINEVerticalAlignment.BASELINE

valign: Vertically aligns the portion above the baseline of the component to the center of the container.

valign: Vertically aligns the portion above the baseline of the component to the center of the container. The typical use case for this is to center text inside of a container excluding the descenders. To use the alignment in this way, the Text origin must also be set to BASELINE.

 
publicBOTTOMVerticalAlignment.BOTTOM

valign: Vertically bottom to the top of the container

publicCENTERHorizontalAlignment.CENTER

halign: Horizontally aligns to the center of the container

publicHFILLHorizontalAlignment.FILL

halign: Horizontally fill the container with the cell contents

publicLEFTHorizontalAlignment.LEFT

halign: Horizontally aligns to the left of the container

publicMIDDLEVerticalAlignment.CENTER

valign: Vertically middle to the top of the container

publicNEVERGrow.NEVER

vgrow/hgrow: Disables grow behavior for this component.

publicRIGHTHorizontalAlignment.RIGHT

halign: Horizontally aligns to the right of the container

publicSOMETIMESGrow.SOMETIMES

vgrow/hgrow: If there are no other components with Grow set to ALWAYS will get an equal share of the extra space.

publicTOPVerticalAlignment.TOP

Vertically aligns to the top of the container

publicVFILLVerticalAlignment.FILL

valign: Vertically fill the container with the cell contents

Inherited Variables

Function Summary

public row(cells: java.lang.Object[]) : Row

Convenience method to create a new Row object with the cells set to the parameter passed in to cells.

Convenience method to create a new Row object with the cells set to the parameter passed in to cells.

Parameters
cells
Returns
Row
 

Inherited Functions