Class AbstractParallelCoordinatesMatrix<Component,Color,R,C>

java.lang.Object
com.macrofocus.high_d.parallelcoordinatesmatrix.AbstractParallelCoordinatesMatrix<Component,Color,R,C>
All Implemented Interfaces:
ParallelCoordinatesMatrix<Component,Color,R,C>
Direct Known Subclasses:
JavaFXParallelCoordinatesMatrix

public abstract class AbstractParallelCoordinatesMatrix<Component,Color,R,C> extends Object implements ParallelCoordinatesMatrix<Component,Color,R,C>
  • Field Details

  • Constructor Details

    • AbstractParallelCoordinatesMatrix

      public AbstractParallelCoordinatesMatrix()
  • Method Details

    • setLicenseKey

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

      public ParallelCoordinatesMatrixModel getModel()
      Returns the model used by the scatter plot component.
      Returns:
      the model in use
    • setModel

      public void setModel(ParallelCoordinatesMatrixModel model)
      Sets the model to be used for the scatter plot component and register it to the view.
      Specified by:
      setModel in interface ParallelCoordinatesMatrix<Component,Color,R,C>
      Parameters:
      model - the model to be used
    • getView

      Returns the view used by the parallel coordinates component.
      Specified by:
      getView in interface ParallelCoordinatesMatrix<Component,Color,R,C>
      Returns:
      the view in use
    • setView

      public void setView(ParallelCoordinatesMatrixView<Component,Color> view)
      Sets the view to be used by the parallel coordinates component and register the model currently in use. It will also register itself to the controller.
      Parameters:
      view - the view to be used
    • createParallelCoordinatesMatrixModel

      protected abstract ParallelCoordinatesMatrixModel createParallelCoordinatesMatrixModel(com.macrofocus.molap.dataframe.DataFrame dataFrame)
      Creates a model that can be used by the parallel coordinates component
      Parameters:
      dataFrame - a Swing TableModel
      Returns:
      a ParallelCoordinatesModel instance
    • createView

      protected abstract ParallelCoordinatesMatrixView createView()
      Creates a view that can be used by the parallel coordinates component
      Returns:
      a ParallelCoordinatesView instance