public enum MagnifierPosition extends java.lang.Enum<MagnifierPosition>
| Enum Constant and Description |
|---|
atCursor
Position magnifier straight under the cursor location.
|
nearCursor
Position magnifier aside of the cursor location.
|
staticComponent
Position magnifier where its component is located.
|
| Modifier and Type | Method and Description |
|---|---|
static MagnifierPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MagnifierPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagnifierPosition atCursor
public static final MagnifierPosition nearCursor
public static final MagnifierPosition staticComponent
Be aware that magnifier takes snapshots of the JLayeredPane and to avoid visual confusion is usualy placed on glass pane. Otherwise it will also display magnified version of itself if you hover it in the UI.
public static MagnifierPosition[] values()
for (MagnifierPosition c : MagnifierPosition.values()) System.out.println(c);
public static MagnifierPosition 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 null