com.apelon.beans.dts.plugin.transferable
Class DTSMultiData

java.lang.Object
  extended by com.apelon.beans.dts.plugin.transferable.DTSMultiData

public class DTSMultiData
extends Object

Transfer object for data during multiple selection.

Copyright: Copyright (c) 2004

Company: Apelon, Inc.

Since:
3.4.0
Version:
DTS 3.4.0
Author:
Abhay Sinha

Constructor Summary
DTSMultiData(Vector selectedItems)
           
 
Method Summary
 DataFlavor[] getDataFlavors()
          Returns supported dataflavors based on the items.
 Vector getItems()
          Returns all items
 Object getMatchItem(DataFlavor dataflavor)
          Returns the first matching object for the given data flavor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTSMultiData

public DTSMultiData(Vector selectedItems)
Method Detail

getItems

public Vector getItems()
Returns all items

Returns:
Vector All items

getDataFlavors

public DataFlavor[] getDataFlavors()
Returns supported dataflavors based on the items.

Returns:
Supported dataflavors

getMatchItem

public Object getMatchItem(DataFlavor dataflavor)
Returns the first matching object for the given data flavor. It retruns null if no match is found.

Parameters:
dataflavor -
Returns:
First matching item or null if no match found


Copyright © 2011. All Rights Reserved.