public abstract class JListDragAndDropable<T extends JList> extends Object implements SoapUIDragAndDropable<ModelItem>
Constructor and Description |
---|
JListDragAndDropable(T list,
ModelItem parent) |
Modifier and Type | Method and Description |
---|---|
JComponent |
getComponent() |
T |
getList() |
abstract ModelItem |
getModelItemAtRow(int row) |
Rectangle |
getModelItemBounds(ModelItem modelItem) |
ModelItem |
getModelItemForLocation(int x,
int y) |
abstract int |
getModelItemRow(ModelItem modelItem) |
void |
selectModelItem(ModelItem modelItem) |
void |
setDragInfo(String dropInfo) |
void |
toggleExpansion(ModelItem last) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRenderer
public T getList()
public abstract ModelItem getModelItemAtRow(int row)
public JComponent getComponent()
getComponent
in interface SoapUIDragAndDropable<ModelItem>
public Rectangle getModelItemBounds(ModelItem modelItem)
getModelItemBounds
in interface SoapUIDragAndDropable<ModelItem>
public abstract int getModelItemRow(ModelItem modelItem)
public void selectModelItem(ModelItem modelItem)
selectModelItem
in interface SoapUIDragAndDropable<ModelItem>
public void setDragInfo(String dropInfo)
setDragInfo
in interface SoapUIDragAndDropable<ModelItem>
public ModelItem getModelItemForLocation(int x, int y)
getModelItemForLocation
in interface SoapUIDragAndDropable<ModelItem>
public void toggleExpansion(ModelItem last)
toggleExpansion
in interface SoapUIDragAndDropable<ModelItem>
Copyright © 2019. All Rights Reserved.