infomat.view
Class InfomatModel
java.lang.Object
java.util.Observable
infomat.view.InfomatModel
- All Implemented Interfaces:
- HasProperties
public class InfomatModel
- extends java.util.Observable
- implements HasProperties
The heart! Keeps track of what the IMatrix and other stuff.
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
guimatrix
private GUIIMatrix guimatrix
mainWindow
private MainWindow mainWindow
view
private InfomatView view
mousePointerInfoPanel
private MousePointerInfoPanel mousePointerInfoPanel
properties
private Properties properties
defaultSettingsFile
private static java.lang.String defaultSettingsFile
settingsFile
private java.lang.String settingsFile
progressFrame
private ProgressFrame progressFrame
matrixFilterFrame
private MatrixFilterFrame matrixFilterFrame
matrixWeightingFrame
private MatrixWeightingFrame matrixWeightingFrame
reductionFrame
private ReductionFrame reductionFrame
descriptionFrame
private DescriptionFrame descriptionFrame
evaluationFrame
private EvaluationFrame evaluationFrame
sorterFrame
private SorterFrame sorterFrame
algorithmFrame
private AlgorithmFrame algorithmFrame
matrixSummaryFrame
private MatrixSummaryFrame matrixSummaryFrame
exportTextFrame
private ExportTextFrame exportTextFrame
stoplistFrame
private StoplistFrame stoplistFrame
searchFrame
private SearchFrame searchFrame
propertiesFrame
private InfomatPropertiesFrame propertiesFrame
pixelFrame
private PixelFrame pixelFrame
similarityFrame
private SimilarityFrame similarityFrame
selectorFrame
private SelectorFrame selectorFrame
InfomatModel
public InfomatModel(MainWindow mainWindow)
getDefaultProperties
public Properties getDefaultProperties()
- Specified by:
getDefaultProperties
in interface HasProperties
getFallbackProperties
public Properties getFallbackProperties()
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String name)
- Specified by:
getPropertyValue
in interface HasProperties
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws PropertyNotFoundException
- Specified by:
setProperty
in interface HasProperties
- Throws:
PropertyNotFoundException
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interface HasProperties
setProperties
public void setProperties(Properties properties)
- Specified by:
setProperties
in interface HasProperties
setChanged
public void setChanged()
- Overrides:
setChanged
in class java.util.Observable
hasIMatrix
public boolean hasIMatrix()
- Do we have a matrix?
- Returns:
- true if we have a matrix
getIMatrix
public IMatrix getIMatrix()
- Returns:
- the current matrix object
getGUIIMatrix
public GUIIMatrix getGUIIMatrix()
- Returns:
- the current GUIIMatrix object, which
keeps track of the IMatrix and the groupings
of rows and columns
resetIMatrix
public void resetIMatrix()
- Resets the matrix, i.e. sets it to null; no matrix.
getMainWindow
public MainWindow getMainWindow()
getISimilarity
public ISimilarity getISimilarity(boolean row)
getSimilarityManager
public SimilarityManager getSimilarityManager()
getCurrentGrouping
public IObjectGrouping getCurrentGrouping(boolean row)
setMousePointerInfoPanel
protected void setMousePointerInfoPanel(MousePointerInfoPanel mousePointerInfoPanel)
getMousePointerInfoPanel
public MousePointerInfoPanel getMousePointerInfoPanel()
setView
public void setView(InfomatView view)
- Set the view. Must me done!!
- Parameters:
view
- The view.
update
public void update()
resize
public void resize()
openTokenFileForTextWord
public void openTokenFileForTextWord(java.io.File file)
- Opens a Token File to read Texts and Words.
removeColumns
public void removeColumns(int colFrom,
int colTo)
removeRows
public void removeRows(int rowFrom,
int rowTo)
resortIMatrix
public void resortIMatrix()
resetImage
public void resetImage()
- Reset settings about zoom and position in the image.
saveIMatrixPicture
public void saveIMatrixPicture(java.io.File file)
saveIMatrixFile
public void saveIMatrixFile(java.io.File file)
saveIObjectGroupingFile
public void saveIObjectGroupingFile(IObjectGrouping grouping,
java.io.File file)
openDirectoryTextWord
public void openDirectoryTextWord(java.io.File dir)
openDirectoryWordWord
public void openDirectoryWordWord(java.io.File dir)
openIMatrixFile
public void openIMatrixFile(java.io.File file)
openIObjectGroupingFile
public IObjectGrouping openIObjectGroupingFile(boolean row,
java.io.File file)
purgeMatrix
public void purgeMatrix()
filterMatrix
public void filterMatrix()
weightMatrix
public void weightMatrix()
reduction
public void reduction()
description
public void description()
invertMatrix
public void invertMatrix()
evaluation
public void evaluation()
sorter
public void sorter()
cluster
public void cluster()
matrixSummary
public void matrixSummary()
exportText
public void exportText()
stoplist
public void stoplist()
search
public void search()
showProperties
public void showProperties()
alteredProperties
public void alteredProperties()
toggleGuide
public void toggleGuide()
togglePixelFrame
public void togglePixelFrame()
getPixelFrame
public PixelFrame getPixelFrame()
toggleSimilarityFrame
public void toggleSimilarityFrame()
toggleSelectorFrame
public void toggleSelectorFrame()
getSelectorFrame
public SelectorFrame getSelectorFrame()