Package docking.util
Enum BadgedIcon.BadgePosition
- java.lang.Object
-
- java.lang.Enum<BadgedIcon.BadgePosition>
-
- docking.util.BadgedIcon.BadgePosition
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BadgedIcon.BadgePosition>
- Enclosing class:
- BadgedIcon
public static enum BadgedIcon.BadgePosition extends java.lang.Enum<BadgedIcon.BadgePosition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BottomLeft
BottomMiddle
BottomRight
Center
LeftMiddle
RightMiddle
TopLeft
TopMiddle
TopRight
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getHorizontalDisplacementFactor()
double
getVerticalDisplacementFactor()
static BadgedIcon.BadgePosition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BadgedIcon.BadgePosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TopLeft
public static final BadgedIcon.BadgePosition TopLeft
-
TopMiddle
public static final BadgedIcon.BadgePosition TopMiddle
-
TopRight
public static final BadgedIcon.BadgePosition TopRight
-
LeftMiddle
public static final BadgedIcon.BadgePosition LeftMiddle
-
Center
public static final BadgedIcon.BadgePosition Center
-
RightMiddle
public static final BadgedIcon.BadgePosition RightMiddle
-
BottomLeft
public static final BadgedIcon.BadgePosition BottomLeft
-
BottomMiddle
public static final BadgedIcon.BadgePosition BottomMiddle
-
BottomRight
public static final BadgedIcon.BadgePosition BottomRight
-
-
Method Detail
-
values
public static BadgedIcon.BadgePosition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BadgedIcon.BadgePosition c : BadgedIcon.BadgePosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BadgedIcon.BadgePosition valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getHorizontalDisplacementFactor
public double getHorizontalDisplacementFactor()
-
getVerticalDisplacementFactor
public double getVerticalDisplacementFactor()
-
-