|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.salespointframework.desktop.dnd.DefaultDnDMotionComponent
public class DefaultDnDMotionComponent
default motion component. used for JAbstractTable
s for example
Field Summary | |
---|---|
protected javax.swing.JLabel |
dragCount
count label |
protected javax.swing.JPanel |
dragPanel
the motion components root panel |
Constructor Summary | |
---|---|
DefaultDnDMotionComponent()
|
Method Summary | |
---|---|
javax.swing.JComponent |
getDnDMotionComponent(java.lang.Object item,
int count)
extract CatalogItem from item and create motion component |
void |
updateDnDMotionComponentCount(int count)
update dragCount text |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.JPanel dragPanel
protected javax.swing.JLabel dragCount
Constructor Detail |
---|
public DefaultDnDMotionComponent()
Method Detail |
---|
public javax.swing.JComponent getDnDMotionComponent(java.lang.Object item, int count)
CatalogItem
from item and create motion component
getDnDMotionComponent
in interface DnDMotionComponent
item
- item that is transferredcount
- number of transferred items
public void updateDnDMotionComponentCount(int count)
dragCount
text
updateDnDMotionComponentCount
in interface DnDMotionComponent
count
- new count
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |