Spec-Zone .ru
спецификации, руководства, описания, API
|
Enum Constant and 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.
|
Modifier and Type | Method and Description |
---|---|
HPos |
getHpos()
Returns the horizontal positioning/alignment.
|
VPos |
getVpos()
Returns the vertical positioning/alignment.
|
static Pos |
valueOf(java.lang.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.
|
public static final Pos TOP_LEFT
public static final Pos TOP_CENTER
public static final Pos TOP_RIGHT
public static final Pos CENTER_LEFT
public static final Pos CENTER
public static final Pos CENTER_RIGHT
public static final Pos BOTTOM_LEFT
public static final Pos BOTTOM_CENTER
public static final Pos BOTTOM_RIGHT
public static final Pos BASELINE_LEFT
public static final Pos BASELINE_CENTER
public static final Pos BASELINE_RIGHT
public static Pos[] values()
for (Pos c : Pos.values()) System.out.println(c);
public static Pos valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic VPos getVpos()
public HPos getHpos()
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to