|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.artoflife.util.dnd.ThumbnailIcon
Used by ThumbnailTransferable
as an icon
dataflavor so that the ThumbnailIconDropTargetListener
can paint the icon during drags over a DropTarget.
Constructor Summary | |
ThumbnailIcon()
Needed for serialization, not for users. |
|
ThumbnailIcon(javax.swing.Icon icon,
java.awt.Point offset)
Public constructor. |
Method Summary | |
javax.swing.Icon |
getIcon()
|
java.awt.Point |
getOffset()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThumbnailIcon()
public ThumbnailIcon(javax.swing.Icon icon, java.awt.Point offset)
icon
- the javax.swing.Icon to paintoffset
- offset of cursor from top left of drawn icon
java.lang.IllegalArgumentException
- for null icon or offsetMethod Detail |
public javax.swing.Icon getIcon()
public java.awt.Point getOffset()
|
artoflife pre0.1.0-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |