|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.salespointframework.desktop.dnd.DefaultListViewDnDMotionComponent
public class DefaultListViewDnDMotionComponent
default DnDMotionComponent for JListView
uses ListCellRenderer
| Nested Class Summary | |
|---|---|
static class |
DefaultListViewDnDMotionComponent.ShadowCatalogItem
shadow item to move multiple CatalogItems |
static class |
DefaultListViewDnDMotionComponent.ShadowCountingStockItemDBEntry
shadow item to move multiple items |
| Field Summary | |
|---|---|
protected ImagePanel |
imagePanel
image panel |
protected java.lang.Object |
item
transfered item |
protected JListView |
listView
list view |
| Constructor Summary | |
|---|---|
DefaultListViewDnDMotionComponent(JListView jlv)
default constructor |
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
getDnDMotionComponent(java.lang.Object item,
int count)
use ListCellRenderer to render image |
void |
updateDnDMotionComponentCount(int count)
set item count and use ListCellRenderer again to render preview |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JListView listView
protected ImagePanel imagePanel
protected java.lang.Object item
| Constructor Detail |
|---|
public DefaultListViewDnDMotionComponent(JListView jlv)
jlv - owninf JListView| Method Detail |
|---|
public javax.swing.JComponent getDnDMotionComponent(java.lang.Object item,
int count)
ListCellRenderer to render image
getDnDMotionComponent in interface DnDMotionComponentitem - item that is transferredcount - number of transferred items
public void updateDnDMotionComponentCount(int count)
ListCellRenderer again to render preview
updateDnDMotionComponentCount in interface DnDMotionComponentcount - new count
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||