Class AbstractStyle

    • Constructor Detail

      • AbstractStyle

        public AbstractStyle()
    • Method Detail

      • getInternalID

        public Integer getInternalID()
        Gets the internal ID for sorting purpose in the Excel style document
        Returns:
        Internal ID (can be null for random order)
      • setInternalID

        public void setInternalID​(Integer internalID)
        Sets the internal ID for sorting purpose in the Excel style document
        Parameters:
        internalID - Internal ID (can be null for random order)
      • copy

        public abstract AbstractStyle copy()
        Abstract method to copy a component (dereferencing)
        Returns:
        Returns a copied component
      • equals

        public boolean equals​(AbstractStyle other)
        Method to compare two objects for sorting purpose
        Parameters:
        other - Other object to compare with this object
        Returns:
        True if both objects are equal, otherwise false
      • compareTo

        public int compareTo​(AbstractStyle o)
        Method to compare two objects for sorting purpose
        Specified by:
        compareTo in interface Comparable<AbstractStyle>
        Parameters:
        o - Other object to compare with this object
        Returns:
        -1 if the other object is bigger. 0 if both objects are equal. 1 if the other object is smaller.