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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Properties getSkin​(java.lang.String name)
      Returns the Skin properties of a given device name.
      java.util.List<java.lang.String> getSkinList​(java.lang.String name)
      Returns the Skin List with the given name.
      java.util.Set<java.lang.String> getSkinListNames()
      Returns the list of all Skin List Names.
      java.util.Set<java.lang.String> getSkinNames()
      Returns the list of all Skin Names.
    • Method Detail

      • getSkin

        java.util.Properties getSkin​(java.lang.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

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

        java.util.List<java.lang.String> getSkinList​(java.lang.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

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