Package com.macrofocus.high_d
Class HighDFactory<Component,Color,Font,Format,Row,Column,Value>
java.lang.Object
com.macrofocus.high_d.HighDFactory<Component,Color,Font,Format,Row,Column,Value>
- Type Parameters:
Component
- the type of native componentsRow
- type type of rowsColumn
- the type of columns
- Direct Known Subclasses:
SwingHighDFactory
Factory to ease the creation of the High-D components. A single factory will creates visual components that share
visual state such as probing, selection, filtering, colors, etc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.macrofocus.molap.dataframe.DataFrame<?,
Column, ?> protected HighDSettings<Color,
?> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
HighDFactory
(com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.crossplatform.CPFactory factory, com.macrofocus.molap.dataframe.DataFrame<Row, Column, Value> dataFrame) protected
HighDFactory
(com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.crossplatform.CPFactory factory, 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<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) protected
HighDFactory
(com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.crossplatform.CPFactory factory, com.macrofocus.molap.dataframe.DataFrame<Row, Column, Value> dataFrame, com.macrofocus.visual.Visual<Color, Row, Column> visual) protected
HighDFactory
(HighDSettings<Color, Font> settings, com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.crossplatform.CPFactory cpFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected BarChartModel<Color,
Row, Column> createCategoricalFilter
(Column column, com.macrofocus.molap.subset.Reducer<Row, Bin> reducer, com.macrofocus.molap.subset.MultiBinningDimension.MultiBinningStrategy<Row, Bin> binningStrategy) createCategoricalFilter
(Column column, com.macrofocus.molap.subset.Reducer<Row, Bin> reducer, com.macrofocus.molap.subset.SingleBinningDimension.SingleBinningStrategy<Row, Bin> binningStrategy) createCategoricalFilter
(Column column, com.macrofocus.molap.subset.Reducer<Row, Value> reducer) abstract Clustering<Component,
Color, Row, Column> protected com.macrofocus.molap.subset.SingleBinningDimension<Row,
?> Creates a control chart.Creates a distributions plot.<Bin> DistributionsModel<Color,
Row, Column, Value, Bin> abstract CPExecutor
Creates a multidimensional scaling plot.protected HeatMapModel<Color,
Row, Column> abstract <Row,
Column, Value>
HighDFactory<Component,Color, Font, Format, Row, Column, Value> createHighDFactory
(com.macrofocus.molap.dataframe.DataFrame<Row, Column, Value> dataFrame) 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<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) createList
(Column column) Creates a MDSabstract MDSScatterPlotModel<Color,
Row, Column> createOrdinalFilter
(Column column) createOrdinalFilter
(Column column, com.macrofocus.format.CPFormat format, int visibleLength) abstract ParallelCoordinates<Component,
Color, Row, Column> Creates a parallel coordinates plot.abstract ParallelCoordinatesMatrix<Component,
Color, Row, Column> Creates a parallel coordinates matrix plot.abstract Regression<Component,
Color, Row, Column> Creates a scatter plot.createScatterPlot
(ScatterPlotModel<Color, Row, Column> model) Creates a scatter plot.abstract ScatterPlotMatrix<Component,
Color, Row, Column> Creates a scatter plot matrix.Creates a statistic table.Creates a table.createTable
(com.macrofocus.molap.dataframe.DataFrame<Row, Column, Value> dataFrame, com.macrofocus.visual.Visual<Color, Row, Column> visual) Creates a tables lens.protected void
protected void
customizeCategoricalFilterComponent
(com.macrofocus.high_d.filters.CategoricalFilterComponent<Component, Color> categoricalFilterComponent) protected void
customizeControlChart
(ControlChart<Component, Color, Font, Row, Column> controlChart) protected void
customizeDistribution
(Distributions<Component, Color, Row, Column, Value, ?> distributions) void
protected void
protected void
protected void
customizeParallelCoordinates
(ParallelCoordinates<Component, Color, Row, Column> parallelCoordinates) protected void
customizeParallelCoordinatesMatrix
(ParallelCoordinatesMatrix<Component, Color, Row, Column> parallelCoordinatesMatrix) protected void
customizeScatterPlot
(ScatterPlot<Component, Color, Font, Row, Column> scatterPlot) protected void
customizeScatterPlotMatrix
(ScatterPlotMatrix<Component, Color, Row, Column> scatterPlotMatrix) protected void
protected void
customizeStatistics
(Statistics<Component, Color, Format, Row, Column, Value> statistics) protected void
protected void
forColumns
(Column... columns) forColumns
(Iterable<Column> columns) com.macrofocus.molap.dataframe.DataFrame<?,
Column, ?> Returns the data frame holding the annotation data.Returns the hierarchy of axes.com.macrofocus.colormap.ColorMapFactory<Color>
MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>
Returns the data frame containing the data.Returns the hierarchy of axes for the filters.MutableProperty<com.macrofocus.high_d.interaction.InteractionMode>
MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>
Returns the visual context holding information about the interactive state.void
setAnnotationDataFrame
(com.macrofocus.molap.dataframe.DataFrame<?, Column, ?> annotationDataFrame) void
setAxisHierarchy
(com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, Column> axisHierarchy) Sets the hierarchy of axes for the various plots.void
setColorTheme
(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) void
setDataFrame
(com.macrofocus.molap.dataframe.DataFrame<Row, Column, Value> dataFrame) Sets the data frame holding the data.void
setDataFrame
(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<Color, Row, Column> visual, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, Column> axisHierarchy, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, Column> filtersAxisHierarchy) void
setDataFrame
(com.macrofocus.molap.dataframe.DataFrame<Row, Column, Value> dataFrame, com.macrofocus.visual.Visual<Color, Row, Column> visual) Sets the data frame holding the data.void
setFiltersAxisHierarchy
(com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, Column> axisHierarchy) Sets the hierarchy of axes for the filters.void
setInteractionMode
(MutableProperty<com.macrofocus.high_d.interaction.InteractionMode> interactionMode) static void
setLicenseKey
(String username, String key) Register the license key that legally entitles the use of the High-D API.void
setSettings
(HighDSettings settings) void
setSubsetDataFrame
(com.macrofocus.molap.subset.SubsetDataFrame<Row, Column, Value> subsetDataFrame) void
Sets the visual context.
-
Field Details
-
settings
-
dataFrame
-
subsetDataFrame
-
annotationDataFrame
-
visual
-
axisHierarchy
-
filtersAxisHierarchy
-
-
Constructor Details
-
HighDFactory
protected HighDFactory(HighDSettings<Color, Font> settings, com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.crossplatform.CPFactory cpFactory) -
HighDFactory
-
HighDFactory
-
HighDFactory
protected HighDFactory(com.macrofocus.colormap.ColorMapFactory<Color> colorMapFactory, com.macrofocus.crossplatform.CPFactory factory, 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<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 Details
-
getShowFiltered
-
getAntialiasing
-
getRendering
-
getColorTheme
-
getGeometry
-
setColorTheme
public void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) -
getInteractionMode
-
setInteractionMode
public void setInteractionMode(MutableProperty<com.macrofocus.high_d.interaction.InteractionMode> interactionMode) -
getAllowScrolling
-
createHighDFactory
public abstract <Row,Column, HighDFactory<Component,Value> Color, createHighDFactoryFont, Format, Row, Column, Value> (com.macrofocus.molap.dataframe.DataFrame<Row, Column, Value> dataFrame) -
createHighDFactory
public abstract HighDFactory<Component,Color, createHighDFactoryFont, Format, Row, Column, Value> (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<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) -
forColumns
-
forColumns
-
getColorMapFactory
-
getCPFactory
-
setLicenseKey
Register the license key that legally entitles the use of the High-D API. This should be called prior to the first instantiation of this component.- Parameters:
username
- the user namekey
- the license key
-
getDataFrame
Returns the data frame containing the data.- Returns:
- a data frame
-
getVisual
Returns the visual context holding information about the interactive state.- Returns:
- the visual context
-
getAxisHierarchy
Returns the hierarchy of axes.- Returns:
- the hierarchy
-
getFiltersAxisHierarchy
Returns the hierarchy of axes for the filters.- Returns:
- the hierarchy
-
setDataFrame
Sets the data frame holding the data.- Parameters:
dataFrame
- the data frame
-
setDataFrame
public void setDataFrame(com.macrofocus.molap.dataframe.DataFrame<Row, Column, Value> dataFrame, com.macrofocus.visual.Visual<Color, Row, Column> visual) Sets the data frame holding the data.- Parameters:
dataFrame
- the data frame
-
setDataFrame
public void setDataFrame(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<Color, Row, Column> visual, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, Column> axisHierarchy, com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, Column> filtersAxisHierarchy) -
getAnnotationDataFrame
Returns the data frame holding the annotation data.- Returns:
- the annotation data frame
-
setAnnotationDataFrame
public void setAnnotationDataFrame(com.macrofocus.molap.dataframe.DataFrame<?, Column, ?> annotationDataFrame) -
getSubsetDataFrame
-
setSubsetDataFrame
-
setVisual
Sets the visual context.- Parameters:
visual
- the visual context
-
setAxisHierarchy
public void setAxisHierarchy(com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, Column> axisHierarchy) Sets the hierarchy of axes for the various plots.- Parameters:
axisHierarchy
- the hierarchy
-
setFiltersAxisHierarchy
public void setFiltersAxisHierarchy(com.macrofocus.high_d.axis.hierarchy.AxisHierarchy<Row, Column> axisHierarchy) Sets the hierarchy of axes for the filters.- Parameters:
axisHierarchy
- the hierarchy
-
createParallelCoordinates
Creates a parallel coordinates plot.- Returns:
- a parallel coordinates plot
-
customizeParallelCoordinates
protected void customizeParallelCoordinates(ParallelCoordinates<Component, Color, Row, Column> parallelCoordinates) -
createParallelCoordinatesMatrix
public abstract ParallelCoordinatesMatrix<Component,Color, createParallelCoordinatesMatrix()Row, Column> Creates a parallel coordinates matrix plot.- Returns:
- a parallel coordinates matrix plot
-
customizeParallelCoordinatesMatrix
protected void customizeParallelCoordinatesMatrix(ParallelCoordinatesMatrix<Component, Color, Row, Column> parallelCoordinatesMatrix) -
createParallelCoordinatesMatrixModel
-
createTableLens
Creates a tables lens.- Returns:
- a tables lens
-
createTableLensModel
-
customizeTableLens
-
createScatterPlot
Creates a scatter plot.- Returns:
- a scatter plot
-
createScatterPlot
public abstract ScatterPlot<Component,Color, createScatterPlotFont, Row, Column> (ScatterPlotModel<Color, Row, Column> model) Creates a scatter plot.- Returns:
- a scatter plot
-
customizeScatterPlot
-
createScatterPlotModel
-
createMDS
Creates a MDS- Returns:
- a MDS
-
customizeMDS
-
createMDSModel
-
createControlChart
Creates a control chart.- Returns:
- a control chart
-
customizeControlChart
-
createControlCharttModel
-
createScatterPlotMatrix
Creates a scatter plot matrix.- Returns:
- a scatter plot matrix
-
customizeScatterPlotMatrix
protected void customizeScatterPlotMatrix(ScatterPlotMatrix<Component, Color, Row, Column> scatterPlotMatrix) -
createScatterPlotMatrixModel
-
createExecutor
Creates a multidimensional scaling plot.- Returns:
- a multidimensional scaling plot
-
createDistributions
Creates a distributions plot.- Returns:
- a distributions plot
-
createDistributionsModel
-
customizeDistribution
-
createStatistics
Creates a statistic table.- Returns:
- a statistic table
-
customizeStatistics
-
createTable
Creates a table.- Returns:
- a table
-
createTable
-
customizeTable
-
createList
-
createFilters
-
customizeFilters
-
createCategoricalFilter
-
createCategoricalFilter
-
createCategoricalFilter
-
customizeCategoricalFilterComponent
-
createOrdinalFilter
-
createOrdinalFilter
-
createSOM
-
createSOMModel
-
customizeSOM
-
createBarChart
-
createBarChartModel
-
createHeatMap
-
customizeBarChart
-
createHeatMapModel
-
customizeHeatMap
-
createDetails
-
createClustering
-
createClusteringModel
-
createRegression
-
setSettings
-