Class LineProfilerPanel

All Implemented Interfaces:
IJLChartListener, ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener

public class LineProfilerPanel extends JPanel implements IJLChartListener, ActionListener, ChangeListener
See Also:
  • Field Details

    • cfgPanel

      protected JPanel cfgPanel
    • theGraph

      protected JLChart theGraph
    • theDataY

      protected JLDataView theDataY
    • theTable

      protected JTableRow theTable
    • panelFont

      protected Font panelFont
    • tableCheck

      protected JCheckBox tableCheck
    • minLabel

      protected JLabel minLabel
    • minText

      protected JTextField minText
    • maxLabel

      protected JLabel maxLabel
    • maxText

      protected JTextField maxText
    • avgLabel

      protected JLabel avgLabel
    • avgText

      protected JTextField avgText
    • stdLabel

      protected JLabel stdLabel
    • stdText

      protected JTextField stdText
    • userFormat

      protected String userFormat
    • srcLabel

      protected JLabel srcLabel
    • srcText

      protected JTextField srcText
    • srcSpin

      protected JSpinner srcSpin
    • colName

      protected static String[] colName
    • emptyStr

      protected static String[][] emptyStr
  • Constructor Details

    • LineProfilerPanel

      public LineProfilerPanel()
    • LineProfilerPanel

      public LineProfilerPanel(NumberImageViewer parent)
  • Method Details

    • setId

      public void setId(int id)
    • setSource

      public void setSource(String label, Object value)
    • setFormat

      public void setFormat(String format)
    • setData

      public void setData(double[] v, int startIndexing)
    • setData

      public void setData(double[] v, double xgain, double xoffset)
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • stateChanged

      public void stateChanged(ChangeEvent e)
      Specified by:
      stateChanged in interface ChangeListener
    • clickOnChart

      public String[] clickOnChart(JLChartEvent evt)
      Description copied from interface: IJLChartListener
      Called when the user click on the chart
      Specified by:
      clickOnChart in interface IJLChartListener
      Parameters:
      evt - Event object (containing click inforamtion)
      Returns:
      A set of string to display in the value tooltip. Does not display the tooltip if an empty array is returned. Keep default behavior when null is returned
    • getChart

      public JLChart getChart()