Class ElementMetaDataTransferable

  • All Implemented Interfaces:
    Transferable

    public class ElementMetaDataTransferable
    extends Object
    implements Transferable
    Todo: Document Me
    Author:
    Thomas Morgner
    • Field Detail

      • ELEMENT_FLAVOR

        public static final DataFlavor ELEMENT_FLAVOR
    • Constructor Detail

      • ElementMetaDataTransferable

        public ElementMetaDataTransferable​(org.pentaho.reporting.engine.classic.core.metadata.ElementMetaData metaData)
    • Method Detail

      • getTransferDataFlavors

        public DataFlavor[] getTransferDataFlavors()
        Returns an array of DataFlavor objects indicating the flavors the data can be provided in. The array should be ordered according to preference for providing the data (from most richly descriptive to least descriptive).
        Specified by:
        getTransferDataFlavors in interface Transferable
        Returns:
        an array of data flavors in which this data can be transferred
      • isDataFlavorSupported

        public boolean isDataFlavorSupported​(DataFlavor flavor)
        Returns whether or not the specified data flavor is supported for this object.
        Specified by:
        isDataFlavorSupported in interface Transferable
        Parameters:
        flavor - the requested flavor for the data
        Returns:
        boolean indicating whether or not the data flavor is supported