Class BoxTextElement.BoxProviderResult

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.awt.Rectangle box  
      private boolean temporary  
    • Constructor Summary

      Constructors 
      Constructor Description
      BoxProviderResult​(java.awt.Rectangle box, boolean temporary)
      Create a new box provider result
    • Field Detail

      • box

        private final java.awt.Rectangle box
    • Constructor Detail

      • BoxProviderResult

        public BoxProviderResult​(java.awt.Rectangle box,
                                 boolean temporary)
        Create a new box provider result
        Parameters:
        box - The box
        temporary - The temporary flag, will be returned by isTemporary()
    • Method Detail

      • getBox

        public java.awt.Rectangle getBox()
        Returns the box.
        Returns:
        the box
      • isTemporary

        public boolean isTemporary()
        Determines if the box can change in future calls of the BoxTextElement.BoxProvider.get() method
        Returns:
        true if the box can change in future calls of the BoxProvider#get() method