|
instrument/JTree API Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by any custom NodeInfo
that wants drag-over effects to be apparant when the user drags nodes
around within the tree.
NodeInfoTreeCellRenderer#paint()
Field Summary | |
static int |
DRAG_BOTTOM
Constant used for "will be dropped as sibling below this node" |
static int |
DRAG_CENTER
Constant used for "will be dropped as child of this node" |
static int |
DRAG_NONE
Constant used for no drag effect |
static int |
DRAG_TOP
Constant used for "will be dropped as sibling above this node" |
Method Summary | |
int |
getCurrentEffect()
Retrieves the current drag-over effect for this node. |
void |
setCurrentEffect(int effect)
Sets the current drag-over effect for this node. |
Field Detail |
public static final int DRAG_NONE
public static final int DRAG_CENTER
public static final int DRAG_TOP
public static final int DRAG_BOTTOM
Method Detail |
public int getCurrentEffect()
public void setCurrentEffect(int effect)
effect
- New drag-over effect.
|
instrument/JTree API Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |