Class FolderURIPropCnr

    • Field Detail

      • FILE_NAME

        public static final java.lang.String FILE_NAME
        A folder settings file name ".iiziFolder".
        See Also:
        Constant Field Values
    • Constructor Detail

      • FolderURIPropCnr

        public FolderURIPropCnr()
        Creates a FilePropCnr for the designer with the specified name with a null value.
      • FolderURIPropCnr

        public FolderURIPropCnr​(Atom propertyAtom,
                                java.net.URI uri)
        Creates a FilePropCnr for the designer with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
        uri - the file URI.
    • Method Detail

      • getURI

        public java.net.URI getURI()
        Gets the folder name URI for this property.
      • clone

        public FolderURIPropCnr clone()
                               throws java.lang.CloneNotSupportedException
        Clone must be overridden.
        Overrides:
        clone in class PropCnr
        Throws:
        java.lang.CloneNotSupportedException - If a subclass doesn't allow cloning, e.g. the client properties.
      • isPropFolder

        public boolean isPropFolder()
        Checks if this is a Folder property container. It is overridden by FolderPropCnr.
        Specified by:
        isPropFolder in interface IGProp<GProp<?>[]>
        Overrides:
        isPropFolder in class GProp<GProp<?>[]>
        Returns:
        true for FolderURIPropCnr, false otherwise.
      • isPropFile

        public boolean isPropFile()
        Checks if this is a File property container. It is overridden by FilePropCnr.
        Specified by:
        isPropFile in interface IGProp<GProp<?>[]>
        Overrides:
        isPropFile in class GProp<GProp<?>[]>
        Returns:
        true for FileURIPropCnr, false otherwise.
      • getSettings

        public FolderSettingsProp getSettings()
        Gets the settings container for the folder.
        Returns:
        null for none, otherwise the settings instance.
      • getDescription

        public java.lang.String getDescription()
        Gets the description of this folder.
        Returns:
        The defined description, or null for none.
      • isSelected

        public boolean isSelected​(EnvProps envProps)
        Called to resolve the SelectorExpression by custom Java code. This method first checks with it's settings if it is not selected. If so, false is returned. Otherwise this folders parent's isSelected() method is called and that return code is passed as return code, if the parent implements ISelectorExpression. If not, true is returned.
        Specified by:
        isSelected in interface ISelectorExpression
        Parameters:
        envProps - The Client Environment properties.
        Returns:
        true if the Selector is selected to be used, false otherwise.
      • hasSelector

        public boolean hasSelector()
        Checks if a selector is present for the folder.
      • getThemesMask

        public GThemes getThemesMask​(GThemes initialMask)
        Gets the Panels Themes mask when this folder is in the Panel folder.

        This method checks the parent tree for the intersecting mask (the most narrow mask).

        Parameters:
        initialMask - The initial mask from a child property, null for none.
        Returns:
        The mask, or null for none (or not in a Panel folder).