org.eclipse.swt.dnd
Class TreeDragUnderEffect
java.lang.Object
|
+--org.eclipse.swt.dnd.DragUnderEffect
|
+--org.eclipse.swt.dnd.TreeDragUnderEffect
- class TreeDragUnderEffect
- extends DragUnderEffect
Method Summary |
private int |
checkEffect(int effect)
|
private void |
expand(TreeItem item,
int x,
int y)
|
private void |
expandHover(int effect,
TreeItem item,
int x,
int y)
|
private TreeItem |
findItem(int x,
int y)
|
private TreeItem |
getNextVisibleItem(TreeItem item,
boolean includeChildren)
|
private TreeItem |
getPreviousVisibleItem(TreeItem item)
|
private void |
scroll(TreeItem item,
int x,
int y)
|
private void |
scrollHover(int effect,
TreeItem item,
int x,
int y)
|
private void |
setDragUnderEffect(int effect,
TreeItem item)
|
private void |
setDropSelection(TreeItem item)
|
(package private) void |
show(int effect,
int x,
int y)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tree
private Tree tree
currentEffect
private int currentEffect
selection
private TreeItem[] selection
scrollItem
private TreeItem scrollItem
scrollBeginTime
private long scrollBeginTime
SCROLL_HYSTERESIS
private static final int SCROLL_HYSTERESIS
SCROLL_WIDTH
private static final int SCROLL_WIDTH
expandItem
private TreeItem expandItem
expandBeginTime
private long expandBeginTime
EXPAND_HYSTERESIS
private static final int EXPAND_HYSTERESIS
TreeDragUnderEffect
TreeDragUnderEffect(Tree tree)
show
void show(int effect,
int x,
int y)
- Specified by:
show
in class DragUnderEffect
checkEffect
private int checkEffect(int effect)
findItem
private TreeItem findItem(int x,
int y)
setDragUnderEffect
private void setDragUnderEffect(int effect,
TreeItem item)
setDropSelection
private void setDropSelection(TreeItem item)
scrollHover
private void scrollHover(int effect,
TreeItem item,
int x,
int y)
scroll
private void scroll(TreeItem item,
int x,
int y)
expandHover
private void expandHover(int effect,
TreeItem item,
int x,
int y)
expand
private void expand(TreeItem item,
int x,
int y)
getNextVisibleItem
private TreeItem getNextVisibleItem(TreeItem item,
boolean includeChildren)
getPreviousVisibleItem
private TreeItem getPreviousVisibleItem(TreeItem item)
comments?