at.tuwien.ifs.somtoolbox.visualization
Interface MatrixVisualizer

All Known Implementing Classes:
AbstractItemVisualizer, AbstractMatrixVisualizer, ActivityHistogram, AdaptiveCoordinatesVisualizer, ComparisonVisualizer, ComponentPlanesVisualizer, EntropyVisualizer, GapVisualiser, HitHistogramVisualizer, PMatrix, QuantizationErrorVisualizer, RegressionVisualiser, RhythmPatternsAttributeVisualizer, SearchResultHistogramVisualizer, SilhouetteVisualizer, SmoothedCountHistograms, SmoothedDataHistograms, UMatrix

public interface MatrixVisualizer

Interface for visualisation of matrix data of/on a SOM. If you want to provide new matrix visualisers, you have to implement this interface and register your visualisation in Visualizations.getAvailableVisualizations(). If your visualisation requires user input to e.g. control parameters, extend AbstractBackgroundImageVisualizer.VisualizationControlPanel to add your specific control panel inputs.

Version:
$Id: MatrixVisualizer.java 3583 2010-05-21 10:07:41Z mayer $
Author:
Michael Dittenbach, Rudolf Mayer, Thomas Lidy

Method Summary
 Palette getCurrentPalette()
          Returns the Palette this visualisation currently is set to.
 Color[] getPalette()
          Gets the currently used palette.
 String getPreferredPaletteName()
          Returns the name of the Palette this visualisation prefers as initial palette.
 void reversePalette()
          Reverts the currently used palette.
 void setPalette(Palette palette)
          Sets a new palette.
 

Method Detail

getPalette

Color[] getPalette()
Gets the currently used palette.

Returns:
the currently used palette

setPalette

void setPalette(Palette palette)
Sets a new palette.

Parameters:
palette - the new palette

reversePalette

void reversePalette()
Reverts the currently used palette.


getCurrentPalette

Palette getCurrentPalette()
Returns the Palette this visualisation currently is set to.


getPreferredPaletteName

String getPreferredPaletteName()
Returns the name of the Palette this visualisation prefers as initial palette.