Class StyleInfo

    • Field Detail

      • ATTR_VALUE_SOURCE_CONSTANT

        public static final java.lang.String ATTR_VALUE_SOURCE_CONSTANT
        See Also:
        Constant Field Values
      • ATTR_VALUE_SOURCE_PARAMETER

        public static final java.lang.String ATTR_VALUE_SOURCE_PARAMETER
        See Also:
        Constant Field Values
    • Constructor Detail

      • StyleInfo

        public StyleInfo()
        Class constructor. Initializes a new -empty- instance of the StyleInfo class.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        the name of the style
      • setName

        public void setName​(java.lang.String name)
        set the name of style object
        Parameters:
        name - The name of the style object
      • getSource

        public java.lang.String getSource()
        Returns:
        the source attribute of style object
      • setSource

        public void setSource​(java.lang.String source)
        sets the source attribute of the style object
        Parameters:
        source - the new value of the source attribute
      • getActualParameters

        public HashList getActualParameters()
        Returns:
        the list of all the actual parameters associated with style object
      • addActualParameter

        public void addActualParameter​(ActualParameterInfo actualParameter)
        Add this actual parameter to the list
        Parameters:
        actualParameter - The actual parameter that will be added to the actual parameters list
      • addActualParameter

        public void addActualParameter​(java.lang.Object key,
                                       ActualParameterInfo actualParameter)
        Parameters:
        key - - key associated with this actual parameter
        actualParameter - The actual parameter that will be added to the actual parameters list
      • getActualParameter

        public void getActualParameter​(java.lang.Object key)
        returns the actual parameter that is associated with the given key
        Parameters:
        key - The key associated with actual parameter
      • deleteActualParameter

        public void deleteActualParameter​(java.lang.Object key)
        deletes the actual parameter from the list which is associated with the given key
        Parameters:
        key - The key associated with actual parameter
      • deleteAllActualParameters

        public void deleteAllActualParameters()
        deletes all the actual parameters.
      • getStyleSource

        protected int getStyleSource()
      • isKeyAttribute

        protected boolean isKeyAttribute​(java.lang.String name)
        this method is called only while saving this object. so that the attributes even identical to original must be saved as delta.
        Overrides:
        isKeyAttribute in class AbstractConfigurationElement