org.jfree.ui
Class InsetsChooserPanel
JPanel
org.jfree.ui.InsetsChooserPanel
A component for editing an instance of the Insets class.
InsetsChooserPanel() - Creates a chooser panel that allows manipulation of Insets values.
|
InsetsChooserPanel(Insets current) - Creates a chooser panel that allows manipulation of Insets values.
|
Insets | getInsetsValue() - Returns a new
Insets instance to match the values entered
on the panel.
|
void | removeNotify() - Calls super removeNotify and removes all subcomponents from this panel.
|
protected int | stringToInt(String value) - Converts a string representing an integer into its numerical value.
|
localizationResources
protected static ResourceBundle localizationResources
The resourceBundle for the localization.
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.
getInsetsValue
public Insets getInsetsValue()
Returns a new Insets
instance to match the values entered
on the panel.
removeNotify
public void removeNotify()
Calls super removeNotify and removes all subcomponents from this panel.
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.