Package com.macrofocus.high_d.swing
Class SwingHighDFactory<Row,Column,Value>
- java.lang.Object
-
- com.macrofocus.high_d.HighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
- com.macrofocus.high_d.swing.SwingHighDFactory<Row,Column,Value>
-
- Type Parameters:
Row
- the type of rowsColumn
- the type of columns
public class SwingHighDFactory<Row,Column,Value> extends HighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
A factory for creating High-D interactive visualizations using natively Swing components.
-
-
Field Summary
-
Fields inherited from class com.macrofocus.high_d.HighDFactory
annotationDataFrame, axisHierarchy, dataFrame, filtersAxisHierarchy, settings, subsetDataFrame, visual
-
-
Constructor Summary
Constructors Constructor Description SwingHighDFactory()
SwingHighDFactory(HighDSettings settings)
SwingHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame)
SwingHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame, com.macrofocus.molap.subset.SubsetDataFrame<Row,Column,Value> subsetDataFrame, com.macrofocus.molap.dataframe.DataFrame<?,Column,?> annotationDataFrame, com.macrofocus.visual.Visual<java.awt.Color,Row,Column> visual, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row,Column> axisHierarchy, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row,Column> filtersAxisHierarchy, HighDSettings settings)
SwingHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame, com.macrofocus.visual.Visual<java.awt.Color,Row,Column> visual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BarChart<javax.swing.JComponent,java.awt.Color,Row,Column>
createBarChart()
<Bin> com.macrofocus.high_d.filters.CategoricalFilterComponent<javax.swing.JComponent,java.awt.Color>
createCategoricalFilter(Column column, com.macrofocus.molap.subset.Reducer<Row,Bin> reducer, com.macrofocus.molap.subset.SingleBinningDimension.SingleBinningStrategy<Row,Bin> binningStrategy)
com.macrofocus.high_d.filters.CategoricalFilterComponent<javax.swing.JComponent,java.awt.Color>
createCategoricalFilter(Column column, com.macrofocus.molap.subset.Reducer<Row,Value> reducer)
Clustering<javax.swing.JComponent,java.awt.Color,Row,Column>
createClustering()
ControlChart<javax.swing.JComponent,java.awt.Color,java.awt.Font,Row,Column>
createControlChart()
Creates a control chart.Details<javax.swing.JComponent,java.awt.Color,Row,Column>
createDetails()
SwingDistributions<Row,Column,Value,?>
createDistributions()
Creates a distributions plot.CPExecutor
createExecutor()
Creates a multidimensional scaling plot.com.macrofocus.high_d.filters.Filters<javax.swing.JComponent,java.awt.Color,Row,Column,Value>
createFilters()
com.macrofocus.high_d.filters.Filters<javax.swing.JComponent,java.awt.Color,Row,Column,Value>
createFilters(com.macrofocus.molap.subset.Reducer<Row,Value> reducer)
HeatMap<javax.swing.JComponent,java.awt.Color,Row,Column>
createHeatMap()
<Row,Column,Value>
HighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>createHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame)
HighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
createHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame, com.macrofocus.molap.subset.SubsetDataFrame<Row,Column,Value> subsetDataFrame, com.macrofocus.molap.dataframe.DataFrame<?,Column,?> annotationDataFrame, com.macrofocus.visual.Visual<java.awt.Color,Row,Column> visual, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row,Column> axisHierarchy, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row,Column> filtersAxisHierarchy, HighDSettings settings)
ListView<javax.swing.JComponent,java.lang.Integer,java.lang.String>
createList(Column column)
SwingMDS<Row,Column>
createMDS()
Creates a MDSMDSScatterPlotModel<java.awt.Color,Row,Column>
createMDSModel()
com.macrofocus.high_d.filters.OrdinalFilterComponent<javax.swing.JComponent,java.awt.Color,java.text.Format>
createOrdinalFilter(Column column, com.macrofocus.format.CPFormat format, int visibleLength)
ParallelCoordinates<javax.swing.JComponent,java.awt.Color,Row,Column>
createParallelCoordinates()
Creates a parallel coordinates plot.ParallelCoordinatesMatrix<javax.swing.JComponent,java.awt.Color,Row,Column>
createParallelCoordinatesMatrix()
Creates a parallel coordinates matrix plot.ParallelCoordinatesModel<java.awt.Color,Row,Column>
createParallelCoordinatesModel()
Regression<javax.swing.JComponent,java.awt.Color,Row,Column>
createRegression()
ScatterPlot<javax.swing.JComponent,java.awt.Color,java.awt.Font,Row,Column>
createScatterPlot()
Creates a scatter plot.ScatterPlot<javax.swing.JComponent,java.awt.Color,java.awt.Font,Row,Column>
createScatterPlot(ScatterPlotModel<java.awt.Color,Row,Column> model)
Creates a scatter plot.ScatterPlotMatrix<javax.swing.JComponent,java.awt.Color,Row,Column>
createScatterPlotMatrix()
Creates a scatter plot matrix.SOM<javax.swing.JComponent,java.awt.Color,Row,Column>
createSOM()
Statistics<javax.swing.JComponent,java.awt.Color,java.text.Format,Row,Column,Value>
createStatistics()
Creates a statistic table.Table<javax.swing.JComponent,java.awt.Color,java.text.Format,Row,Column,Value>
createTable()
Creates a table.<Row,Column,Value>
Table<javax.swing.JComponent,java.awt.Color,java.text.Format,Row,Column,Value>createTable(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame, com.macrofocus.visual.Visual<java.awt.Color,Row,Column> visual)
TableLens<javax.swing.JComponent,java.awt.Color,Row,Column>
createTableLens()
Creates a tables lens.<N extends com.macrofocus.treemap.AbstractTreeMapNode<N,Row,Column,java.awt.Color,java.awt.Font>>
com.macrofocus.treemap.TreeMap<javax.swing.JComponent,N,Row,Column,java.awt.Color,java.awt.Font>createTreeMap()
<N extends com.macrofocus.treemap.AbstractTreeMapNode<N,Row,Column,java.awt.Color,java.awt.Font>>
HighDTreeMapModel<java.awt.Color,java.awt.Font,N,Row,Column>createTreeMapModel()
com.macrofocus.molap.subset.SubsetDataFrame<Row,Column,Value>
getSubsetDataFrame()
-
Methods inherited from class com.macrofocus.high_d.HighDFactory
createBarChartModel, createControlCharttModel, createDistributionsModel, createHeatMapModel, createOrdinalFilter, createParallelCoordinatesMatrixModel, createScatterPlotMatrixModel, createScatterPlotModel, createSOMModel, createTableLensModel, customizeBarChart, customizeCategoricalFilterComponent, customizeControlChart, customizeDistribution, customizeFilters, customizeHeatMap, customizeMDS, customizeParallelCoordinates, customizeParallelCoordinatesMatrix, customizeScatterPlot, customizeScatterPlotMatrix, customizeSOM, customizeStatistics, customizeTable, customizeTableLens, forColumns, forColumns, getAllowScrolling, getAnnotationDataFrame, getAntialiasing, getAxisHierarchy, getColorMapFactory, getColorTheme, getCPFactory, getDataFrame, getFiltersAxisHierarchy, getGeometry, getInteractionMode, getRendering, getShowFiltered, getVisual, setAnnotationDataFrame, setAxisHierarchy, setColorTheme, setDataFrame, setDataFrame, setDataFrame, setFiltersAxisHierarchy, setInteractionMode, setLicenseKey, setSettings, setSubsetDataFrame, setVisual
-
-
-
-
Constructor Detail
-
SwingHighDFactory
public SwingHighDFactory()
-
SwingHighDFactory
public SwingHighDFactory(HighDSettings settings)
-
SwingHighDFactory
public SwingHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame)
-
SwingHighDFactory
public SwingHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame, com.macrofocus.visual.Visual<java.awt.Color,Row,Column> visual)
-
SwingHighDFactory
public SwingHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame, com.macrofocus.molap.subset.SubsetDataFrame<Row,Column,Value> subsetDataFrame, com.macrofocus.molap.dataframe.DataFrame<?,Column,?> annotationDataFrame, com.macrofocus.visual.Visual<java.awt.Color,Row,Column> visual, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row,Column> axisHierarchy, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row,Column> filtersAxisHierarchy, HighDSettings settings)
-
-
Method Detail
-
getSubsetDataFrame
public com.macrofocus.molap.subset.SubsetDataFrame<Row,Column,Value> getSubsetDataFrame()
- Overrides:
getSubsetDataFrame
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createHighDFactory
public <Row,Column,Value> HighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value> createHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame)
- Specified by:
createHighDFactory
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createHighDFactory
public HighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value> createHighDFactory(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame, com.macrofocus.molap.subset.SubsetDataFrame<Row,Column,Value> subsetDataFrame, com.macrofocus.molap.dataframe.DataFrame<?,Column,?> annotationDataFrame, com.macrofocus.visual.Visual<java.awt.Color,Row,Column> visual, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row,Column> axisHierarchy, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row,Column> filtersAxisHierarchy, HighDSettings settings)
- Specified by:
createHighDFactory
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createParallelCoordinates
public ParallelCoordinates<javax.swing.JComponent,java.awt.Color,Row,Column> createParallelCoordinates()
Description copied from class:HighDFactory
Creates a parallel coordinates plot.- Specified by:
createParallelCoordinates
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a parallel coordinates plot
-
createParallelCoordinatesModel
public ParallelCoordinatesModel<java.awt.Color,Row,Column> createParallelCoordinatesModel()
-
createParallelCoordinatesMatrix
public ParallelCoordinatesMatrix<javax.swing.JComponent,java.awt.Color,Row,Column> createParallelCoordinatesMatrix()
Description copied from class:HighDFactory
Creates a parallel coordinates matrix plot.- Specified by:
createParallelCoordinatesMatrix
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a parallel coordinates matrix plot
-
createTableLens
public TableLens<javax.swing.JComponent,java.awt.Color,Row,Column> createTableLens()
Description copied from class:HighDFactory
Creates a tables lens.- Specified by:
createTableLens
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a tables lens
-
createScatterPlot
public ScatterPlot<javax.swing.JComponent,java.awt.Color,java.awt.Font,Row,Column> createScatterPlot()
Description copied from class:HighDFactory
Creates a scatter plot.- Specified by:
createScatterPlot
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a scatter plot
-
createScatterPlot
public ScatterPlot<javax.swing.JComponent,java.awt.Color,java.awt.Font,Row,Column> createScatterPlot(ScatterPlotModel<java.awt.Color,Row,Column> model)
Description copied from class:HighDFactory
Creates a scatter plot.- Specified by:
createScatterPlot
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a scatter plot
-
createMDS
public SwingMDS<Row,Column> createMDS()
Description copied from class:HighDFactory
Creates a MDS- Specified by:
createMDS
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a MDS
-
createControlChart
public ControlChart<javax.swing.JComponent,java.awt.Color,java.awt.Font,Row,Column> createControlChart()
Description copied from class:HighDFactory
Creates a control chart.- Specified by:
createControlChart
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a control chart
-
createScatterPlotMatrix
public ScatterPlotMatrix<javax.swing.JComponent,java.awt.Color,Row,Column> createScatterPlotMatrix()
Description copied from class:HighDFactory
Creates a scatter plot matrix.- Specified by:
createScatterPlotMatrix
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a scatter plot matrix
-
createMDSModel
public MDSScatterPlotModel<java.awt.Color,Row,Column> createMDSModel()
- Specified by:
createMDSModel
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createExecutor
public CPExecutor createExecutor()
Description copied from class:HighDFactory
Creates a multidimensional scaling plot.- Specified by:
createExecutor
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a multidimensional scaling plot
-
createDistributions
public SwingDistributions<Row,Column,Value,?> createDistributions()
Description copied from class:HighDFactory
Creates a distributions plot.- Specified by:
createDistributions
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a distributions plot
-
createStatistics
public Statistics<javax.swing.JComponent,java.awt.Color,java.text.Format,Row,Column,Value> createStatistics()
Description copied from class:HighDFactory
Creates a statistic table.- Specified by:
createStatistics
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a statistic table
-
createTreeMap
public <N extends com.macrofocus.treemap.AbstractTreeMapNode<N,Row,Column,java.awt.Color,java.awt.Font>> com.macrofocus.treemap.TreeMap<javax.swing.JComponent,N,Row,Column,java.awt.Color,java.awt.Font> createTreeMap()
-
createTreeMapModel
public <N extends com.macrofocus.treemap.AbstractTreeMapNode<N,Row,Column,java.awt.Color,java.awt.Font>> HighDTreeMapModel<java.awt.Color,java.awt.Font,N,Row,Column> createTreeMapModel()
-
createTable
public Table<javax.swing.JComponent,java.awt.Color,java.text.Format,Row,Column,Value> createTable()
Description copied from class:HighDFactory
Creates a table.- Specified by:
createTable
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
- Returns:
- a table
-
createTable
public <Row,Column,Value> Table<javax.swing.JComponent,java.awt.Color,java.text.Format,Row,Column,Value> createTable(com.macrofocus.molap.dataframe.DataFrame<Row,Column,Value> dataFrame, com.macrofocus.visual.Visual<java.awt.Color,Row,Column> visual)
- Specified by:
createTable
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createList
public ListView<javax.swing.JComponent,java.lang.Integer,java.lang.String> createList(Column column)
- Specified by:
createList
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createFilters
public com.macrofocus.high_d.filters.Filters<javax.swing.JComponent,java.awt.Color,Row,Column,Value> createFilters()
- Specified by:
createFilters
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createFilters
public com.macrofocus.high_d.filters.Filters<javax.swing.JComponent,java.awt.Color,Row,Column,Value> createFilters(com.macrofocus.molap.subset.Reducer<Row,Value> reducer)
-
createCategoricalFilter
public com.macrofocus.high_d.filters.CategoricalFilterComponent<javax.swing.JComponent,java.awt.Color> createCategoricalFilter(Column column, com.macrofocus.molap.subset.Reducer<Row,Value> reducer)
- Specified by:
createCategoricalFilter
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createCategoricalFilter
public <Bin> com.macrofocus.high_d.filters.CategoricalFilterComponent<javax.swing.JComponent,java.awt.Color> createCategoricalFilter(Column column, com.macrofocus.molap.subset.Reducer<Row,Bin> reducer, com.macrofocus.molap.subset.SingleBinningDimension.SingleBinningStrategy<Row,Bin> binningStrategy)
- Specified by:
createCategoricalFilter
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createOrdinalFilter
public com.macrofocus.high_d.filters.OrdinalFilterComponent<javax.swing.JComponent,java.awt.Color,java.text.Format> createOrdinalFilter(Column column, com.macrofocus.format.CPFormat format, int visibleLength)
- Specified by:
createOrdinalFilter
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createSOM
public SOM<javax.swing.JComponent,java.awt.Color,Row,Column> createSOM()
- Specified by:
createSOM
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createBarChart
public BarChart<javax.swing.JComponent,java.awt.Color,Row,Column> createBarChart()
- Specified by:
createBarChart
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createHeatMap
public HeatMap<javax.swing.JComponent,java.awt.Color,Row,Column> createHeatMap()
- Specified by:
createHeatMap
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createDetails
public Details<javax.swing.JComponent,java.awt.Color,Row,Column> createDetails()
- Specified by:
createDetails
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createClustering
public Clustering<javax.swing.JComponent,java.awt.Color,Row,Column> createClustering()
- Specified by:
createClustering
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
createRegression
public Regression<javax.swing.JComponent,java.awt.Color,Row,Column> createRegression()
- Specified by:
createRegression
in classHighDFactory<javax.swing.JComponent,java.awt.Color,java.awt.Font,java.text.Format,Row,Column,Value>
-
-