Enum Class Pos
- All Implemented Interfaces:
- Serializable,- Comparable<Pos>,- Constable
A set of values for describing vertical and horizontal positioning and
 alignment.
- Since:
- JavaFX 2.0
- 
Nested Class SummaryNested classes/interfaces declared in class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionRepresents positioning on the baseline vertically and on the center horizontally.Represents positioning on the baseline vertically and on the left horizontally.Represents positioning on the baseline vertically and on the right horizontally.Represents positioning on the bottom vertically and on the center horizontally.Represents positioning on the bottom vertically and on the left horizontally.Represents positioning on the bottom vertically and on the right horizontally.Represents positioning on the center both vertically and horizontally.Represents positioning on the center vertically and on the left horizontally.Represents positioning on the center vertically and on the right horizontally.Represents positioning on the top vertically and on the center horizontally.Represents positioning on the top vertically and on the left horizontally.Represents positioning on the top vertically and on the right horizontally.
- 
Method SummaryModifier and TypeMethodDescriptiongetHpos()Returns the horizontal positioning/alignment.getVpos()Returns the vertical positioning/alignment.static PosReturns the enum constant of this class with the specified name.static Pos[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
TOP_LEFTRepresents positioning on the top vertically and on the left horizontally.
- 
TOP_CENTERRepresents positioning on the top vertically and on the center horizontally.
- 
TOP_RIGHTRepresents positioning on the top vertically and on the right horizontally.
- 
CENTER_LEFTRepresents positioning on the center vertically and on the left horizontally.
- 
CENTERRepresents positioning on the center both vertically and horizontally.
- 
CENTER_RIGHTRepresents positioning on the center vertically and on the right horizontally.
- 
BOTTOM_LEFTRepresents positioning on the bottom vertically and on the left horizontally.
- 
BOTTOM_CENTERRepresents positioning on the bottom vertically and on the center horizontally.
- 
BOTTOM_RIGHTRepresents positioning on the bottom vertically and on the right horizontally.
- 
BASELINE_LEFTRepresents positioning on the baseline vertically and on the left horizontally.
- 
BASELINE_CENTERRepresents positioning on the baseline vertically and on the center horizontally.
- 
BASELINE_RIGHTRepresents positioning on the baseline vertically and on the right horizontally.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getVposReturns the vertical positioning/alignment.- Returns:
- the vertical positioning/alignment.
 
- 
getHposReturns the horizontal positioning/alignment.- Returns:
- the horizontal positioning/alignment.
 
 
-