|
SwingFX v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.swingfx.jdraggable.DragPolicy
Abstract class used to define a "Drag Policy".
A "Drag Policy" allows the ability for some restrictions to be put in place
by a developer. Currently DragPolicy
is setup to only modify
the behavior of which Component
's can and can not be dragged.
It may be feasible to add more features to DragPolicy
in the future.
Field Summary | |
static DragPolicy |
DEFAULT
The default drag policy which suggests that all components are eligible to be dragged |
static DragPolicy |
OPEN
The drag policy which suggests that all components are eligible to be dragged |
static DragPolicy |
STRICT
The drag policy which suggests that only Draggable components
are eligible to be dragged |
Method Summary | |
abstract boolean |
isDraggable(Component comp)
Determines if the given Component is an eligible
component to be dragged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final DragPolicy DEFAULT
OPEN
,
STRICT
public static final DragPolicy OPEN
DEFAULT
,
STRICT
public static final DragPolicy STRICT
Draggable
components
are eligible to be dragged
DEFAULT
,
OPEN
Method Detail |
public abstract boolean isDraggable(Component comp)
Component
is an eligible
component to be dragged
comp
- the component to check for dragability
true
if the Component
is
draggable, false
otherwiseDraggable
|
SwingFX v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |