Package com.macrofocus.high_d.scatterplotmatrix.swing

# Class SwingScatterPlotMatrix<R,C>

java.lang.Object
com.macrofocus.high_d.scatterplotmatrix.AbstractScatterPlotMatrix<JComponent,Color,R,C>
com.macrofocus.high_d.scatterplotmatrix.swing.SwingScatterPlotMatrix<R,C>

All Implemented Interfaces:
  `ScatterPlotMatrix<JComponent,Color,R,C>`

public class SwingScatterPlotMatrix<R,C> extends AbstractScatterPlotMatrix<JComponent,Color,R,C>
Created by luc on 25/04/16.

- ## Field Summary

  ### Fields inherited from class com.macrofocus.high_d.scatterplotmatrix.AbstractScatterPlotMatrix

  `controller, licenseModel, view`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SwingScatterPlotMatrix()`
  Creates a ScatterPlotMatrix component with default settings and configuration.
  `SwingScatterPlotMatrix(ScatterPlotMatrixModel model)`
  Creates a ScatterPlotMatrix component with the its native data model.
  `SwingScatterPlotMatrix(com.macrofocus.molap.dataframe.DataFrame dataFrame)`
  Creates a ScatterPlotMatrix component with the specified Swing TableModel.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected ScatterPlotMatrixController`
  `createController(ScatterPlotMatrixView view)`
  Creates a controller that can be used by the parallel coordinates component
  `protected ScatterPlotMatrixModel`
  `createScatterPlotMatrixModel(com.macrofocus.molap.dataframe.DataFrame dataFrame)`
  Creates a model that can be used by the parallel coordinates component
  `protected ScatterPlotMatrixView`
  `createView()`
  Creates a view that can be used by the parallel coordinates component
  `JComponent`
  `getNativeComponent()`
  `protected void`
  `load(com.macrofocus.molap.dataframe.DataFrame dataFrame)`
  Loads the specified Swing TableModel.
  `static void`
  `main(String[] args)`
  Sort of a Hello World! application to demonstrate the most basic use of the ParallelCoordinates API
  `static void`
  `setLicenseKey(String username, String key)`
  Register the license key that legally entitle the use of ScatterPlotMatrix.

  ### Methods inherited from class com.macrofocus.high_d.scatterplotmatrix.AbstractScatterPlotMatrix

  `getController, getModel, getView, setController, setModel, setView`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SwingScatterPlotMatrix

    public SwingScatterPlotMatrix()
    Creates a ScatterPlotMatrix component with default settings and configuration.

  - ### SwingScatterPlotMatrix

    public SwingScatterPlotMatrix(ScatterPlotMatrixModel model)
    Creates a ScatterPlotMatrix component with the its native data model.
    Parameters:
      `model` - a ScatterPlotMatrixModel

  - ### SwingScatterPlotMatrix

    public SwingScatterPlotMatrix(com.macrofocus.molap.dataframe.DataFrame dataFrame)
    Creates a ScatterPlotMatrix component with the specified Swing TableModel.
    Parameters:
      `dataFrame` - a Swing TableModel

- ## Method Details

  - ### setLicenseKey

    public static void setLicenseKey(String username, String key)
    Register the license key that legally entitle the use of ScatterPlotMatrix. This should be called prior to the first instantiation of this component.
    Parameters:
      `username` - the user name
      `key` - the license key

  - ### load

    protected void load(com.macrofocus.molap.dataframe.DataFrame dataFrame)
    Loads the specified Swing TableModel.
    Overrides:
      `load` in class `AbstractScatterPlotMatrix<JComponent,Color,R,C>`
    Parameters:
      `dataFrame` - a Swing TableModel

  - ### createScatterPlotMatrixModel

    protected ScatterPlotMatrixModel createScatterPlotMatrixModel(com.macrofocus.molap.dataframe.DataFrame dataFrame)
    Creates a model that can be used by the parallel coordinates component
    Specified by:
      `createScatterPlotMatrixModel` in class `AbstractScatterPlotMatrix<JComponent,Color,R,C>`
    Parameters:
      `dataFrame` - a Swing TableModel
    Returns:
      a ParallelCoordinatesModel instance

  - ### createView

    protected ScatterPlotMatrixView createView()
    Creates a view that can be used by the parallel coordinates component
    Specified by:
      `createView` in class `AbstractScatterPlotMatrix<JComponent,Color,R,C>`
    Returns:
      a ParallelCoordinatesView instance

  - ### createController

    protected ScatterPlotMatrixController createController(ScatterPlotMatrixView view)
    Creates a controller that can be used by the parallel coordinates component
    Specified by:
      `createController` in class `AbstractScatterPlotMatrix<JComponent,Color,R,C>`
    Parameters:
      `view` - the view that should be controlled
    Returns:

  - ### getNativeComponent

    public JComponent getNativeComponent()

  - ### main

    public static void main(String[] args)
    Sort of a Hello World! application to demonstrate the most basic use of the ParallelCoordinates API