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,
        Creates a FilePropCnr for the designer with the specified name with a null value.
        propertyAtom - the property atom.
        uri - the file URI.
    • Method Detail

      • getURI

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

        public FolderURIPropCnr clone()
                               throws java.lang.CloneNotSupportedException
        Clone must be overridden.
        clone in class PropCnr
        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<?>[]>
        isPropFolder in class GProp<GProp<?>[]>
        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<?>[]>
        isPropFile in class GProp<GProp<?>[]>
        true for FileURIPropCnr, false otherwise.
      • getSettings

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

        public java.lang.String getDescription()
        Gets the description of this folder.
        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
        envProps - The Client Environment properties.
        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).

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