Top Description Fields Constructors Methods
javafx.geometry

public final Enum Pos

extends Enum<Pos>
Class Inheritance
Static Imports
javafx.geometry.HPos.LEFT, .HPos.RIGHT, .VPos.BASELINE, .VPos.BOTTOM, .VPos.TOP

A set of values for describing vertical and horizontal positioning and alignment.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
public static final Pos
BASELINE_CENTER

Represents positioning on the baseline vertically and on the center horizontally.

public static final Pos
BASELINE_LEFT

Represents positioning on the baseline vertically and on the left horizontally.

public static final Pos
BASELINE_RIGHT

Represents positioning on the baseline vertically and on the right horizontally.

public static final Pos
BOTTOM_CENTER

Represents positioning on the bottom vertically and on the center horizontally.

public static final Pos
BOTTOM_LEFT

Represents positioning on the bottom vertically and on the left horizontally.

public static final Pos
BOTTOM_RIGHT

Represents positioning on the bottom vertically and on the right horizontally.

public static final Pos
CENTER

Represents positioning on the center both vertically and horizontally.

public static final Pos
CENTER_LEFT

Represents positioning on the center vertically and on the left horizontally.

public static final Pos
CENTER_RIGHT

Represents positioning on the center vertically and on the right horizontally.

private final HPos
public static final Pos
TOP_CENTER

Represents positioning on the top vertically and on the center horizontally.

public static final Pos
TOP_LEFT

Represents positioning on the top vertically and on the left horizontally.

public static final Pos
TOP_RIGHT

Represents positioning on the top vertically and on the right horizontally.

private final VPos

Constructor Summary

AccessConstructor and Description
private
Pos(VPos vpos, HPos hpos)

Method Summary

Modifier and TypeMethod and Description
public HPos

Returns:

the horizontal positioning/alignment.
getHpos
()

Returns the horizontal positioning/alignment.

public VPos

Returns:

the vertical positioning/alignment.
getVpos
()

Returns the vertical positioning/alignment.

public static Pos
public static Pos[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BASELINE_CENTERback to summary
public static final Pos BASELINE_CENTER

Represents positioning on the baseline vertically and on the center horizontally.

BASELINE_LEFTback to summary
public static final Pos BASELINE_LEFT

Represents positioning on the baseline vertically and on the left horizontally.

BASELINE_RIGHTback to summary
public static final Pos BASELINE_RIGHT

Represents positioning on the baseline vertically and on the right horizontally.

BOTTOM_CENTERback to summary
public static final Pos BOTTOM_CENTER

Represents positioning on the bottom vertically and on the center horizontally.

BOTTOM_LEFTback to summary
public static final Pos BOTTOM_LEFT

Represents positioning on the bottom vertically and on the left horizontally.

BOTTOM_RIGHTback to summary
public static final Pos BOTTOM_RIGHT

Represents positioning on the bottom vertically and on the right horizontally.

CENTERback to summary
public static final Pos CENTER

Represents positioning on the center both vertically and horizontally.

CENTER_LEFTback to summary
public static final Pos CENTER_LEFT

Represents positioning on the center vertically and on the left horizontally.

CENTER_RIGHTback to summary
public static final Pos CENTER_RIGHT

Represents positioning on the center vertically and on the right horizontally.

hposback to summary
private final HPos hpos
TOP_CENTERback to summary
public static final Pos TOP_CENTER

Represents positioning on the top vertically and on the center horizontally.

TOP_LEFTback to summary
public static final Pos TOP_LEFT

Represents positioning on the top vertically and on the left horizontally.

TOP_RIGHTback to summary
public static final Pos TOP_RIGHT

Represents positioning on the top vertically and on the right horizontally.

vposback to summary
private final VPos vpos

Constructor Detail

Posback to summary
private Pos(VPos vpos, HPos hpos)

Method Detail

getHposback to summary
public HPos getHpos()

Returns the horizontal positioning/alignment.

Returns:HPos

the horizontal positioning/alignment.

getVposback to summary
public VPos getVpos()

Returns the vertical positioning/alignment.

Returns:VPos

the vertical positioning/alignment.

valueOfback to summary
public static Pos valueOf(String name)
valuesback to summary
public static Pos[] values()