Package org.jfree.ui

Class InsetsChooserPanel

    • Field Detail

      • localizationResources

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

      • InsetsChooserPanel

        public InsetsChooserPanel()
        Creates a chooser panel that allows manipulation of Insets values. The values are initialized to the empty insets (0,0,0,0).
      • InsetsChooserPanel

        public InsetsChooserPanel​(Insets current)
        Creates a chooser panel that allows manipulation of Insets values. The values are initialized to the current values of provided insets.
        Parameters:
        current - the insets.
    • Method Detail

      • getInsetsValue

        public Insets getInsetsValue()
        Returns a new Insets instance to match the values entered on the panel.
        Returns:
        The insets.
      • stringToInt

        protected int stringToInt​(String value)
        Converts a string representing an integer into its numerical value. If this string does not represent a valid integer value, value of 0 is returned.
        Parameters:
        value - the string.
        Returns:
        the value.
      • removeNotify

        public void removeNotify()
        Calls super removeNotify and removes all subcomponents from this panel.
        Overrides:
        removeNotify in class JComponent