Region

scalafx.scene.layout.Region
See theRegion companion class
object Region

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Region.type

Members list

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.

Attributes

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.

Attributes

Concrete fields

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().

Attributes

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.

Attributes

Implicits

Implicits

implicit def sfxRegion2jfx(v: Region): Region