Class DefaultPolarPlotEditor

All Implemented Interfaces:
ActionListener, FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class DefaultPolarPlotEditor
extends JPanel
implements FocusListener
A panel for editing the properties of a PolarPlot.
See Also:
Serialized Form
  • Field Details

    • localizationResources

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

    • DefaultPolarPlotEditor

      Standard constructor - constructs a panel for editing the properties of the specified plot.
      Parameters:
      plot - the plot, which should be changed.
  • Method Details

    • createPlotTabs

      protected JTabbedPane createPlotTabs​(Plot plot)
      Creates a tabbed pane for editing the plot attributes.
      Parameters:
      plot - the plot.
      Returns:
      A tabbed pane.
    • focusGained

      public void focusGained​(FocusEvent event)
      Does nothing.
      Specified by:
      focusGained in interface FocusListener
      Parameters:
      event - the event.
    • focusLost

      public void focusLost​(FocusEvent event)
      Revalidates minimum/maximum range.
      Specified by:
      focusLost in interface FocusListener
      Parameters:
      event - the event.
    • actionPerformed

      public void actionPerformed​(ActionEvent event)
      Handles actions from within the property panel.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      event - an event.
    • validateAngleOffset

      public void validateAngleOffset()
      Validates the angle offset entered by the user.
    • validateTickUnit

      public void validateTickUnit()
      Validates the tick unit entered by the user.
    • updatePlotProperties

      public void updatePlotProperties​(Plot plot)
      Updates the plot properties to match the properties defined on the panel.
      Parameters:
      plot - The plot.
    • createPlotPanel

      protected JPanel createPlotPanel​(Plot plot)
      Creates and returns a panel for editing the settings of the specified plot.
      Parameters:
      plot - the plot.
      Returns:
      A panel.
    • getPlotInsets

      public RectangleInsets getPlotInsets()
      Returns the current plot insets.
      Returns:
      The current plot insets.
    • getBackgroundPaint

      public Paint getBackgroundPaint()
      Returns the current background paint.
      Returns:
      The current background paint.
    • getOutlineStroke

      public Stroke getOutlineStroke()
      Returns the current outline stroke.
      Returns:
      The current outline stroke (possibly null).
    • getOutlinePaint

      public Paint getOutlinePaint()
      Returns the current outline paint.
      Returns:
      The current outline paint.
    • getDomainAxisPropertyEditPanel

      public org.jfree.chart.editor.DefaultAxisEditor getDomainAxisPropertyEditPanel()
      Returns a reference to the panel for editing the properties of the domain axis.
      Returns:
      A reference to a panel.
    • getRangeAxisPropertyEditPanel

      public org.jfree.chart.editor.DefaultAxisEditor getRangeAxisPropertyEditPanel()
      Returns a reference to the panel for editing the properties of the range axis.
      Returns:
      A reference to a panel.