Region

object Region
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def layoutInArea(child: Node, areaX: Double, areaY: Double, areaWidth: Double, areaHeight: Double, areaBaselineOffset: Double, margin: Insets, fillWidth: Boolean, fillHeight: Boolean, halignment: HPos, valignment: VPos, isSnapToPixel: Boolean): Unit

Utility method which lays out the child within an area of it's parent defined by areaX, areaY, areaWidth x areaHeight, with a baseline offset relative to that area.

Utility method which lays out the child within an area of it's parent defined by areaX, areaY, areaWidth x areaHeight, with a baseline offset relative to that area.

def positionInArea(child: Node, areaX: Double, areaY: Double, areaWidth: Double, areaHeight: Double, areaBaselineOffset: Double, margin: Insets, halignment: HPos, valignment: VPos, isSnapToPixel: Boolean): Unit

Utility method which positions the child within an area of this region defined by areaX, areaY, areaWidth x areaHeight, with a baseline offset relative to that area.

Utility method which positions the child within an area of this region defined by areaX, areaY, areaWidth x areaHeight, with a baseline offset relative to that area.

Concrete fields

val USE_COMPUTED_SIZE: Double

Sentinel value which can be passed to a region's minWidth, minHeight, prefWidth, prefHeight, maxWidth, maxHeight properties to reset the region's size constraint back to it's intrinsic size returned by computeMinWidth(), computeMinHeight(), computePrefWidth(), computePrefHeight(), computeMaxWidth(), or computeMaxHeight().

Sentinel value which can be passed to a region's minWidth, minHeight, prefWidth, prefHeight, maxWidth, maxHeight properties to reset the region's size constraint back to it's intrinsic size returned by computeMinWidth(), computeMinHeight(), computePrefWidth(), computePrefHeight(), computeMaxWidth(), or computeMaxHeight().

val USE_PREF_SIZE: Double

Sentinel value which can be passed to a region's minWidth, minHeight, prefWidth, prefHeight, maxWidth, maxHeight properties to indicate that the preferred dimension should be used for that max and/or min constraint.

Sentinel value which can be passed to a region's minWidth, minHeight, prefWidth, prefHeight, maxWidth, maxHeight properties to indicate that the preferred dimension should be used for that max and/or min constraint.

Implicits

Implicits

implicit def sfxRegion2jfx(v: Region): Region