Interface Stylable

    • Method Detail

      • setCachedStyle

        void setCachedStyle​(StyleCache mappaintStyle)
        Sets the cached style.
        Parameters:
        mappaintStyle - the cached style
      • clearCachedStyle

        default void clearCachedStyle()
        Clears the cached style. This should not be called from outside. Fixing the UI to add relevant get/set functions calling this implicitly is preferred, so we can have transparent cache handling in the future.
      • isCachedStyleUpToDate

        boolean isCachedStyleUpToDate()
        Check if the cached style for this primitive is up to date.
        Returns:
        true if the cached style for this primitive is up to date
        Since:
        13420
      • declareCachedStyleUpToDate

        void declareCachedStyleUpToDate()
        Declare that the cached style for this primitive is up to date.
        Since:
        13420