|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.gui.interaction.Importer
public class Importer
Container class that stores information about a drop opportunity into a particular region of a drop client.
| Field Summary | |
|---|---|
protected java.lang.Object |
regionId
Name to identify this drop region to the drop client |
| Constructor Summary | |
|---|---|
Importer(java.lang.Object regionId,
InteractionClient client,
java.awt.datatransfer.DataFlavor[] flavors)
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.datatransfer.DataFlavor[] |
getFlavors()
Gets the data flavors supported by this importer. |
boolean |
importData(java.awt.datatransfer.Transferable data,
java.awt.Point p)
Imports the given transferable into the drop client at the given location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object regionId
| Constructor Detail |
|---|
public Importer(java.lang.Object regionId,
InteractionClient client,
java.awt.datatransfer.DataFlavor[] flavors)
regionId - Name to identify this drop region to the drop clientclient - Drop client that owns the regionflavors - Data flavors supported by this importer| Method Detail |
|---|
public java.awt.datatransfer.DataFlavor[] getFlavors()
public boolean importData(java.awt.datatransfer.Transferable data,
java.awt.Point p)
data - Transferable to importp - Import position in glass coordinates
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||