Class FontIconsDefinition

    • Field Detail

      • ICON_CSS

        public static final java.lang.String ICON_CSS
        Definition: icon default CSS.
        See Also:
        Constant Field Values
      • fontFiles

        protected FontFiles fontFiles
        The predefined files container.
    • Constructor Detail

      • FontIconsDefinition

        public FontIconsDefinition()
        Creates the Images Definition property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • FontIconsDefinition

        public FontIconsDefinition​(Atom propertyAtom)
        Creates the Images Definition property container with the specified name. All system-reserved names for components begins with "$".
        Parameters:
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • addPredefinedProps

        protected void addPredefinedProps()
                                   throws PropException
        Adds the predefined properties for this container. This method is called once just after construction of the property container.

        Properties added:

          - InputProps as Atom.INPUT
         
        Overrides:
        addPredefinedProps in class PropCnr
        Throws:
        PropException - for property exceptions.
      • getPredefinedProps

        protected void getPredefinedProps()
        Gets the references to predefined properties. If the Styles is created, make sure to get it.
        Overrides:
        getPredefinedProps in class PropCnr
      • createFontFiles

        protected FontFiles createFontFiles()
        Creates the FontIconFiles container, overidden by the Editor version of the property.
      • getFontFiles

        public FontFiles getFontFiles()
        Gets the font icon files container referenced.
      • getFontFilesList

        public java.util.List<FontFiles> getFontFilesList()
        The read-only list with the single font files instance.
      • getStatesCSS

        public java.lang.String[] getStatesCSS()
        Gets the state CSS'es for RTL, Disable, Press, Select, Focus, Hover and Capture.
        Returns:
        A new array with the state CSS'es, where an empty setting is assigned an empty string.
      • collectConsumedFonts

        public void collectConsumedFonts​(java.util.Set<FontConsumed> fonts)
        Collects the consumed fonts.
        Specified by:
        collectConsumedFonts in interface IFontConsumer
        Parameters:
        fonts - The set of consumed fonts is filled in by this method.