Class GraphFrame

java.lang.Object
xal.extension.widgets.olmplot.GraphFrame

public class GraphFrame extends Object
Enclosing Swing frame. This class manages the main GUI frame for displaying FunctionGraphsJPanel objects.
Since:
Nov 26, 2012
Author:
Christopher K. Allen
  • Constructor Details

    • GraphFrame

      public GraphFrame(String strTitle, FunctionGraphsJPanel pnlGraph)
      Creates a new PlotFrame object to display the given FunctionGraphsJPanel in a frame with the given title.
      Parameters:
      strTitle - title of the frame for the plot
      pnlGraph - graph object containing plots
      Since:
      Nov 21, 2012
  • Method Details

    • display

      public void display()
      Displays the graph with frame.
      Since:
      Nov 21, 2012
    • setPreferredSize

      public void setPreferredSize(Dimension dimSize)
      Sets the preferred size of this component to a constant value. Subsequent calls to getPreferredSize will always return this value. Setting the preferred size to null restores the default behavior.
      Parameters:
      dimSize - The new preferred size, or null
      Since:
      Nov 27, 2012