| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An intelligent source of paste types (ways how to paste) for a target node.
Each node should check for this type in a paste operation to allow anyone to insert something into it.
 Sample example of implementation of Node.getPasteTypes(java.awt.datatransfer.Transferable):
 
   public PasteType[] getPasteTypes (Transferable t) {
     NodeTransfer.Paste p = (NodeTransfer.Paste)t.getTransferData (
       NodeTransfer.nodePasteFlavor
     );
     return p.types (this);
   }
 
| Method Summary | |
 PasteType[] | 
types(Node target)
Method that checks the type of target node and can decide which paste types it supports.  | 
| Method Detail | 
public PasteType[] types(Node target)
target - the target node
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||