Class SwingDistributions<Row,​Column,​Value,​Bin>

  • All Implemented Interfaces:
    Distributions<javax.swing.JComponent,​java.awt.Color,​Row,​Column,​Value,​Bin>

    public class SwingDistributions<Row,​Column,​Value,​Bin>
    extends AbstractDistributions<javax.swing.JComponent,​java.awt.Color,​Row,​Column,​Value,​Bin>
    • Constructor Detail

      • SwingDistributions

        public SwingDistributions()
        Creates a Distributions component with default settings and configuration.
      • SwingDistributions

        public SwingDistributions​(DistributionsModel model)
        Creates a Distributions component with the its native data model.
        Parameters:
        model - a DistributionsModel
      • SwingDistributions

        public SwingDistributions​(com.macrofocus.molap.dataframe.DataFrame dataFrame)
        Creates a Distributions component with the specified Swing TableModel.
        Parameters:
        dataFrame - a Swing TableModel
    • Method Detail

      • setLicenseKey

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

        protected DistributionsModel createModel​(com.macrofocus.molap.dataframe.DataFrame dataFrame)
        Creates a model that can be used by the parallel coordinates component
        Specified by:
        createModel in class AbstractDistributions<javax.swing.JComponent,​java.awt.Color,​Row,​Column,​Value,​Bin>
        Parameters:
        dataFrame - a Swing TableModel
        Returns:
        a ParallelCoordinatesModel instance
      • getNativeComponent

        public javax.swing.JComponent getNativeComponent()
      • main

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