public enum LayoutDragMode extends java.lang.Enum<LayoutDragMode>
Enum Constant and Description |
---|
CAPTION
The same as
CLONE except that components can only
be dragged from their captions. |
CLONE
Makes a copy of the component which is shown when dragging.
|
CLONE_OTHER
The same as
CLONE except that the dragged
component is not shown, but instead another component defined by |
NONE
Disables dragging components from a layout.
|
Modifier and Type | Method and Description |
---|---|
static LayoutDragMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LayoutDragMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutDragMode NONE
public static final LayoutDragMode CLONE
public static final LayoutDragMode CAPTION
CLONE
except that components can only
be dragged from their captions.public static final LayoutDragMode CLONE_OTHER
CLONE
except that the dragged
component is not shown, but instead another component defined bypublic static LayoutDragMode[] values()
for (LayoutDragMode c : LayoutDragMode.values()) System.out.println(c);
public static LayoutDragMode 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