AnchorPane

scalafx.scene.layout.AnchorPane
See theAnchorPane companion class
object AnchorPane

Attributes

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

Members list

Value members

Concrete methods

def clearConstraints(child: Node): Unit

Removes all anchorpane constraints from the child node.

Removes all anchorpane constraints from the child node.

Attributes

def getBottomAnchor(child: Node): Double

Returns the child's bottom anchor constraint if set.

Returns the child's bottom anchor constraint if set.

Attributes

def getLeftAnchor(child: Node): Double

Returns the child's left anchor constraint if set.

Returns the child's left anchor constraint if set.

Attributes

def getRightAnchor(child: Node): Double

Returns the child's right anchor constraint if set.

Returns the child's right anchor constraint if set.

Attributes

def getTopAnchor(child: Node): Double

Returns the child's top anchor constraint if set.

Returns the child's top anchor constraint if set.

Attributes

def setAnchors(child: Node, top: Double, right: Double, bottom: Double, left: Double): Unit

Sets the anchors for the child when contained by an anchorpane.

Sets the anchors for the child when contained by an anchorpane.

Value parameters

bottom

Bottom Anchor

child

Node to be set

left

Left Anchor

right

Right Anchor

top

Top Anchor

Attributes

def setBottomAnchor(child: Node, value: Double): Unit

Sets the bottom anchor for the child when contained by an anchorpane.

Sets the bottom anchor for the child when contained by an anchorpane.

Attributes

def setLeftAnchor(child: Node, value: Double): Unit

Sets the left anchor for the child when contained by an anchorpane.

Sets the left anchor for the child when contained by an anchorpane.

Attributes

def setRightAnchor(child: Node, value: Double): Unit

Sets the bottom anchor for the child when contained by an anchorpane.

Sets the bottom anchor for the child when contained by an anchorpane.

Attributes

def setTopAnchor(child: Node, value: Double): Unit

Sets the top anchor for the child when contained by an anchorpane.

Sets the top anchor for the child when contained by an anchorpane.

Attributes

Implicits

Implicits

implicit def sfxAnchorPane2jfx(ap: AnchorPane): AnchorPane