JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Enum Constant
Description
BASELINE_CENTER
Represents positioning on the baseline vertically and on the center horizontally.
BASELINE_LEFT
Represents positioning on the baseline vertically and on the left horizontally.
BASELINE_RIGHT
Represents positioning on the baseline vertically and on the right horizontally.
BOTTOM_CENTER
Represents positioning on the bottom vertically and on the center horizontally.
BOTTOM_LEFT
Represents positioning on the bottom vertically and on the left horizontally.
BOTTOM_RIGHT
Represents positioning on the bottom vertically and on the right horizontally.
CENTER
Represents positioning on the center both vertically and horizontally.
CENTER_LEFT
Represents positioning on the center vertically and on the left horizontally.
CENTER_RIGHT
Represents positioning on the center vertically and on the right horizontally.
TOP_CENTER
Represents positioning on the top vertically and on the center horizontally.
TOP_LEFT
Represents positioning on the top vertically and on the left horizontally.
TOP_RIGHT
Represents positioning on the top vertically and on the right horizontally.
Method Summary
All Methods
Modifier and Type
Method
Description
HPos
getHpos ()
Returns the horizontal positioning/alignment.
VPos
getVpos ()
Returns the vertical positioning/alignment.
static Pos
valueOf (String name)
Returns the enum constant of this type with the specified name.
static Pos []
values ()
Returns an array containing the constants of this enum type, in
the order they are declared.
Method Detail
valueOf
public static Pos valueOf(String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant with the specified name
NullPointerException
- if the argument is null
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.