Class PanelSettingsPropCnr

    • Constructor Detail

      • PanelSettingsPropCnr

        public PanelSettingsPropCnr()
        The constructor without name.
      • PanelSettingsPropCnr

        public PanelSettingsPropCnr​(Atom name)
        The constructor with a name.
        Parameters:
        name - The Atom name.
    • Method Detail

      • getDevices

        public java.util.List<GSimpleDevice> getDevices()
        Get the devices selected for display.
      • setDevices

        public void setDevices​(java.util.Collection<GSimpleDevice> devices)
        Sets the devices displayed.
      • getThemes

        public java.lang.String[] getThemes()
        Gets the desktop and theme names displayed.
        Returns:
        The desktop theme in [0], mobile theme in [1], (future in [2]...). Entries can be empty that is the same as null input themes.
      • setThemes

        public void setThemes​(java.lang.String[] themes)
        Saves the themes.
        Parameters:
        themes - The themes array, [0]=desktop, [1]=mobile, ... Null themes are replaced by empty strings at read using getThemes().
      • setZoom

        public void setZoom​(int zoom)
        Sets the zoom factor.
        Parameters:
        zoom - The zoom factor (minimum 10).
      • getZoom

        public int getZoom()
        Gets the zoom factor.
        Returns:
        The zoom factor, or 100 if not set (or less than 10).