public class ExportUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_ITEM_SEPERATOR |
static java.lang.String |
RESOURCE_PATH_CSS |
static java.lang.String |
RESOURCE_PATH_ICONS |
static java.lang.String |
RESOURCE_PATH_XHTML |
Constructor and Description |
---|
ExportUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
copyData(java.lang.String fileNamePrefix,
java.lang.String dataDir,
java.lang.String styleSheetLink,
java.lang.String[] dataNames) |
static void |
drawClassInfo(GrowingLayer growingLayer,
MapPNode mapPnode,
double unitWidth,
java.awt.Graphics2D graphics) |
static void |
drawLinkInfo(GrowingLayer growingLayer,
MapPNode mapPnode,
double unitWidth,
java.awt.Graphics2D graphics,
java.lang.String dataFilesPrefix) |
static javax.swing.JFileChooser |
getFileChooser(java.awt.Component parent,
javax.swing.JFileChooser fileChooser,
javax.swing.JComponent accessory) |
static java.io.File |
getFilePath(java.awt.Component parent,
javax.swing.JFileChooser fileChooser,
java.lang.String title) |
static java.io.File |
getFilePath(java.awt.Component parent,
javax.swing.JFileChooser fileChooser,
java.lang.String title,
javax.swing.filechooser.FileFilter filter) |
static java.io.File |
getFilePath(java.awt.Component parent,
javax.swing.JFileChooser fileChooser,
java.lang.String title,
java.lang.String defaultFileName,
javax.swing.filechooser.FileFilter filter) |
static java.awt.image.BufferedImage |
getVisualization(BackgroundImageVisualizer vis,
int currentVariant,
GrowingSOM gsom,
int unitWidth) |
static java.awt.image.BufferedImage |
getVisualization(CommonSOMViewerStateData state,
int unitWidth) |
private static javax.swing.JFileChooser |
initFileChooser(javax.swing.JFileChooser fileChooser,
javax.swing.filechooser.FileFilter filter) |
void |
saveImageMap(GrowingLayer layer,
int unitWidth,
java.lang.String fullPath,
java.lang.String baseFileName,
java.lang.String[][] visualisations,
boolean isAudioSOM,
SOMLibClassInformation classInfo,
java.awt.Color[] colors,
java.util.Properties cleanDataNamesMapping,
java.lang.String inputDataFilesPrefix,
java.lang.String outputDataFilesPrefix,
java.lang.String htmlTemplatesDir,
java.lang.String imageMapTitle,
boolean generateRhythmPatterns,
boolean forceLinkGeneration) |
static void |
saveMapPaneAsImage(java.awt.Container container,
javax.swing.JFileChooser fileChooser,
GenericPNodeScrollPane mapPane,
java.lang.String title) |
static void |
saveMapPaneAsImage(GenericPNodeScrollPane mapPane,
java.lang.String imagePath,
boolean autoCrop) |
static void |
saveRhythmPatternsOfWeightVectors(java.lang.String basefileName,
GrowingLayer layer) |
static void |
saveVisualizationAsImage(CommonSOMViewerStateData state,
int unitWidth,
java.lang.String imagePath) |
static java.awt.image.BufferedImage |
scaleBackgroundImage(CommonSOMViewerStateData state,
int width) |
public static final java.lang.String DATA_ITEM_SEPERATOR
public static final java.lang.String RESOURCE_PATH_XHTML
public static final java.lang.String RESOURCE_PATH_ICONS
public static final java.lang.String RESOURCE_PATH_CSS
public static java.awt.image.BufferedImage scaleBackgroundImage(CommonSOMViewerStateData state, int width) throws SOMToolboxException
SOMToolboxException
public static void drawClassInfo(GrowingLayer growingLayer, MapPNode mapPnode, double unitWidth, java.awt.Graphics2D graphics)
public static void drawLinkInfo(GrowingLayer growingLayer, MapPNode mapPnode, double unitWidth, java.awt.Graphics2D graphics, java.lang.String dataFilesPrefix)
public void saveImageMap(GrowingLayer layer, int unitWidth, java.lang.String fullPath, java.lang.String baseFileName, java.lang.String[][] visualisations, boolean isAudioSOM, SOMLibClassInformation classInfo, java.awt.Color[] colors, java.util.Properties cleanDataNamesMapping, java.lang.String inputDataFilesPrefix, java.lang.String outputDataFilesPrefix, java.lang.String htmlTemplatesDir, java.lang.String imageMapTitle, boolean generateRhythmPatterns, boolean forceLinkGeneration) throws SOMToolboxException
SOMToolboxException
public static void saveRhythmPatternsOfWeightVectors(java.lang.String basefileName, GrowingLayer layer) throws SOMToolboxException
SOMToolboxException
public static void saveVisualizationAsImage(CommonSOMViewerStateData state, int unitWidth, java.lang.String imagePath) throws SOMToolboxException
SOMToolboxException
public static void saveMapPaneAsImage(java.awt.Container container, javax.swing.JFileChooser fileChooser, GenericPNodeScrollPane mapPane, java.lang.String title)
public static void saveMapPaneAsImage(GenericPNodeScrollPane mapPane, java.lang.String imagePath, boolean autoCrop) throws SOMToolboxException
SOMToolboxException
public static java.awt.image.BufferedImage getVisualization(CommonSOMViewerStateData state, int unitWidth) throws SOMToolboxException
SOMToolboxException
public static java.awt.image.BufferedImage getVisualization(BackgroundImageVisualizer vis, int currentVariant, GrowingSOM gsom, int unitWidth) throws SOMToolboxException
SOMToolboxException
public static javax.swing.JFileChooser getFileChooser(java.awt.Component parent, javax.swing.JFileChooser fileChooser, javax.swing.JComponent accessory)
public static java.io.File getFilePath(java.awt.Component parent, javax.swing.JFileChooser fileChooser, java.lang.String title)
public static java.io.File getFilePath(java.awt.Component parent, javax.swing.JFileChooser fileChooser, java.lang.String title, javax.swing.filechooser.FileFilter filter)
public static java.io.File getFilePath(java.awt.Component parent, javax.swing.JFileChooser fileChooser, java.lang.String title, java.lang.String defaultFileName, javax.swing.filechooser.FileFilter filter)
private static javax.swing.JFileChooser initFileChooser(javax.swing.JFileChooser fileChooser, javax.swing.filechooser.FileFilter filter)
public static void copyData(java.lang.String fileNamePrefix, java.lang.String dataDir, java.lang.String styleSheetLink, java.lang.String[] dataNames) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException