|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fhg.igd.ui.DnDTest
Shows a simple dialog that accepts dropped
HostEntry
instances, and which
is beautified with a fancy image.
Field Summary | |
protected JFrame |
frame_
The JFrame used to show warnings. |
private Image |
image_
The url image. |
static String |
INAME
The URL image name. |
static int |
IWIDTH
The width of the image as it is used. |
private static Object |
lock_
The private static lock. |
Constructor Summary | |
DnDTest()
|
Method Summary | |
void |
drop(Object o)
Digests dropped data. |
protected void |
init()
Initializes the frame if it isn't already. |
static void |
main(String[] argv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String INAME
public static final int IWIDTH
private static Object lock_
private Image image_
protected transient JFrame frame_
Constructor Detail |
public DnDTest()
Method Detail |
protected void init() throws IOException, ImageException, InterruptedException
IOException
ImageException
InterruptedException
public void drop(Object o)
DropDelegate
ObjectSelection
.
drop
in interface DropDelegate
o
- The dropped data.public static void main(String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |