TV-Browser 2.7.5 API

util.ui
Class TransferEntries

java.lang.Object
  extended by util.ui.TransferEntries
All Implemented Interfaces:
Transferable

public class TransferEntries
extends Object
implements Transferable

The TransferEntries for JList Drag'n'Drop.

Author:
René Mach

Constructor Summary
TransferEntries(int[] indices, String source, String type)
          Set up the transferEntries.
 
Method Summary
 Object getTransferData(DataFlavor e)
           
 DataFlavor[] getTransferDataFlavors()
           
 boolean isDataFlavorSupported(DataFlavor e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferEntries

public TransferEntries(int[] indices,
                       String source,
                       String type)
Set up the transferEntries.

Parameters:
indices - The selected indices of the source list.
source - The source list name.
type - The type of the list entries.
Method Detail

getTransferDataFlavors

public DataFlavor[] getTransferDataFlavors()
Specified by:
getTransferDataFlavors in interface Transferable

isDataFlavorSupported

public boolean isDataFlavorSupported(DataFlavor e)
Specified by:
isDataFlavorSupported in interface Transferable

getTransferData

public Object getTransferData(DataFlavor e)
                       throws UnsupportedFlavorException,
                              IOException
Specified by:
getTransferData in interface Transferable
Throws:
UnsupportedFlavorException
IOException

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)