public abstract class JTreeDragAndDropable<T> extends Object implements SoapUIDragAndDropable<T>
Constructor and Description |
---|
JTreeDragAndDropable(JTree tree) |
Modifier and Type | Method and Description |
---|---|
Component |
getCellRendererComponent(Object lastPathComponent,
boolean b,
boolean object,
boolean object2,
int i,
boolean c) |
JComponent |
getComponent() |
abstract T |
getModelItemAtRow(int row) |
Rectangle |
getModelItemBounds(T path) |
T |
getModelItemForLocation(int x,
int y) |
abstract int |
getRowForModelItem(T modelItem) |
JTree |
getTree() |
void |
selectModelItem(T path) |
void |
setDragInfo(String dropInfo) |
void |
toggleExpansion(T last) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRenderer
public JTreeDragAndDropable(JTree tree)
public JTree getTree()
public Component getCellRendererComponent(Object lastPathComponent, boolean b, boolean object, boolean object2, int i, boolean c)
public JComponent getComponent()
getComponent
in interface SoapUIDragAndDropable<T>
public void setDragInfo(String dropInfo)
setDragInfo
in interface SoapUIDragAndDropable<T>
public Rectangle getModelItemBounds(T path)
getModelItemBounds
in interface SoapUIDragAndDropable<T>
public T getModelItemForLocation(int x, int y)
getModelItemForLocation
in interface SoapUIDragAndDropable<T>
public void selectModelItem(T path)
selectModelItem
in interface SoapUIDragAndDropable<T>
public void toggleExpansion(T last)
toggleExpansion
in interface SoapUIDragAndDropable<T>
public abstract int getRowForModelItem(T modelItem)
public abstract T getModelItemAtRow(int row)
Copyright © 2019. All Rights Reserved.