Interface IDeviceSkinManager

  • All Known Implementing Classes:
    DeviceSkinManager

    public interface IDeviceSkinManager

    Manages the Device Skins. This manager will stores all skins available on the lumidata/config/devices/previewskins.

    The pattern name of the file that will store the information about the device is [deviceName].properties

    The LumisXP has a set of devices default:

    • Desktop
    • iPhone
    • iPad
    • Black Berry

    The informations about the skin devices available are:

    • useragent - the name of the Device user agent.
    • tooltip.string - the information that will be show on tool tip in the skin image.
    • tooltip.resource - resource of the information that will be show on tool tip in the skin image.
    • thumbnail.on - the path to the image that represent the device skin on.
    • thumbnail.off - the path to the image that represent the device skin off.
    • image - the path to the image of the device skin.
    • screen.position.x - represents the left position where starts the iframe that will contains the content.
    • screen.position.y - represents the top position where starts the iframe that will contains the content.
    • screen.width - represents the width of the iframe that will contains the content.
    • screen.height - represents the height of the iframe that will contains the content.

    Developers can plug other devices that will be supported on his solutions. For this, it's necessary put the file on the path as mentioned before. After this, the LumisXP will consider all skin devices stored there.

    Since:
    6.0.1
    Version:
    $Revision: 22420 $ $Date: 2019-02-19 16:21:02 -0300 (Tue, 19 Feb 2019) $
    • Method Detail

      • getSkin

        Properties getSkin​(String name)
        Returns the Skin properties of a given device name.
        Parameters:
        name - name of the device.
        Returns:
        the Skin properties of a given device name.
        Since:
        6.0.1
      • getSkinNames

        Set<String> getSkinNames()
        Returns the list of all Skin Names.
        Returns:
        a Set of all Skin Names.
        Since:
        6.0.1
      • getSkinList

        List<String> getSkinList​(String name)
        Returns the Skin List with the given name.
        Parameters:
        name - name of the skin list.
        Returns:
        the Skin List.
        Since:
        6.0.1
      • getSkinListNames

        Set<String> getSkinListNames()
        Returns the list of all Skin List Names.
        Returns:
        a Set of all Skin List Names.
        Since:
        6.0.1