Class PanelSettingsPropCnr

  • All Implemented Interfaces:
    EventListener, IGProp<GProp<?>[]>, IPropCnr, java.lang.Cloneable

    public class PanelSettingsPropCnr
    extends DesignerPropCnr
    Custom settings for the panel, only used in the Designer.
    Christopher Mindus
    • Constructor Detail

      • PanelSettingsPropCnr

        public PanelSettingsPropCnr()
        The constructor without name.
      • PanelSettingsPropCnr

        public PanelSettingsPropCnr​(Atom name)
        The constructor with a name.
        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.
        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.
        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.
        zoom - The zoom factor (minimum 10).
      • getZoom

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