org.jesktop.appsupport
Class DraggedItem

java.lang.Object
  extended byorg.jesktop.appsupport.DraggedItem

public class DraggedItem
extends java.lang.Object

Class DraggedItem is passed with DropAware apps.

Version:
1.0
Author:
Paul_Hammant@yahoo.com

Constructor Summary
DraggedItem(javax.swing.JComponent dragRep, java.lang.Object item)
          Constructor DraggedItem
 
Method Summary
 java.lang.Object getDraggedIem()
          Method getDraggedIem
 java.lang.Class getDraggedItemClass()
          Method getItemClass
 javax.swing.JComponent getDragRep()
          Method getDragRep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DraggedItem

public DraggedItem(javax.swing.JComponent dragRep,
                   java.lang.Object item)
Constructor DraggedItem

Parameters:
dragRep - the visible manifestation of the dragged item. Usually a JLabel.
item - the item itself.
Method Detail

getDragRep

public javax.swing.JComponent getDragRep()
Method getDragRep

Returns:
the visible manifestation of the dragged item

getDraggedItemClass

public java.lang.Class getDraggedItemClass()
Method getItemClass

Returns:
theclass type of the item.

getDraggedIem

public java.lang.Object getDraggedIem()
Method getDraggedIem

Returns:
the dragged item itself.


Copyright © 2004 Jesktop Project. All Rights Reserved.