1 26 27 package org.objectweb.util.browser.core.dnd; 28 29 import org.objectweb.util.browser.api.DropTreeView; 30 import org.objectweb.util.browser.api.Entry; 31 import org.objectweb.util.browser.core.common.DefaultTreeView; 32 import org.objectweb.util.browser.core.common.DynamicTree; 33 34 41 public class DefaultDropTreeView 42 extends DefaultTreeView 43 implements DropTreeView { 44 45 51 52 public Entry dragSource_ = null; 53 54 60 63 public DefaultDropTreeView(DynamicTree tree, Entry dragSource){ 64 super(tree); 65 dragSource_ = dragSource; 66 } 67 68 74 80 83 public Object getDragSourceObject(){ 84 return getValue(dragSource_); 85 } 86 87 90 public Entry getDragSourceEntry(){ 91 return dragSource_; 92 } 93 94 } 95 | Popular Tags |