Interface SwatchSet

    • Method Detail

      • add

        boolean add​(Asset asset,
                    Asset swatch)
        Deprecated.
        Add an asset and swatch to the swatch set and returns true if successful.
        Specified by:
        add in interface MediaSet
        Parameters:
        asset - Asset instance to be added
        swatch - Asset instance to be added as swatch.
        Returns:
        true if operation is successful. or false if asset is already contained in the resource.
      • getSwatch

        Asset getSwatch​(Asset asset)
        Deprecated.
        Returns the swatch for an Asset which is the part of the Swatch Set.
        Parameters:
        asset - Asset for which a swatch is to be found
        Returns:
        swatch for an Asset in swatch set.
      • setSwatch

        void setSwatch​(Asset asset,
                       Asset swatch)
        Deprecated.
        Sets the swatch for an Asset which is the part of the Swatch Set.
        Parameters:
        asset - Asset for which a swatch is to be set
        swatch - Asset which is to be used as swatch