Package org.jfree.ui

Class InsetsTextField

    • Field Detail

      • localizationResources

        protected static ResourceBundle localizationResources
        The resourceBundle for the localization.
    • Constructor Detail

      • InsetsTextField

        public InsetsTextField​(Insets insets)
        Default constructor. Initializes this text field with formatted string describing provided insets.
        Parameters:
        insets - the insets.
    • Method Detail

      • formatInsetsString

        public String formatInsetsString​(Insets insets)
        Returns a formatted string describing provided insets.
        Parameters:
        insets - the insets.
        Returns:
        the string.
      • setInsets

        public void setInsets​(Insets insets)
        Sets the text of this text field to the formatted string describing provided insets. If insets is null, empty insets (0,0,0,0) are used.
        Parameters:
        insets - the insets.