|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
infomat.view.InfomatModel
public class InfomatModel
The heart! Keeps track of what the corpus and other stuff contains.
Field Summary | |
---|---|
private AlgorithmFrame |
algorithmFrame
|
private static java.lang.String |
defaultSettingsFile
|
private EvaluationFrame |
evaluationFrame
|
private ExportTextFrame |
exportTextFrame
|
private LabelFrame |
labelFrame
|
private MainWindow |
mainWindow
|
private IMatrix |
matrix
|
private MatrixFilterFrame |
matrixFilterFrame
|
private MatrixSummaryFrame |
matrixSummaryFrame
|
private MatrixWeightingFrame |
matrixWeightingFrame
|
private PixelFrame |
pixelFrame
|
private ProgressFrame |
progressFrame
|
private Properties |
properties
|
private InfomatPropertiesFrame |
propertiesFrame
|
private java.lang.String |
settingsFile
|
private SimilarityFrame |
similarityFrame
|
private SorterFrame |
sorterFrame
|
private StoplistFrame |
stoplistFrame
|
private InfomatView |
view
|
Constructor Summary | |
---|---|
InfomatModel(MainWindow mainWindow)
|
Method Summary | |
---|---|
void |
alteredProperties()
|
void |
cluster()
|
void |
evaluation()
|
void |
exportText()
|
void |
filterMatrix()
|
IObjectGrouping |
getCurrentGrouping(boolean row)
|
Properties |
getDefaultProperties()
|
Properties |
getFallbackProperties()
|
IMatrix |
getIMatrix()
|
ISimilarity |
getISimilarity(boolean row)
|
MainWindow |
getMainWindow()
|
PixelFrame |
getPixelFrame()
|
Properties |
getProperties()
|
java.lang.Object |
getPropertyValue(java.lang.String name)
|
SimilarityManager |
getSimilarityManager()
|
boolean |
hasIMatrix()
Do we have a matrix? |
void |
invertMatrix()
|
void |
labeler()
|
void |
matrixSummary()
|
void |
openCorpusFile(java.io.File file)
Opens a Corpus File. |
void |
openDocumentGroupingFile(java.io.File file)
Opens a Document Grouping File. |
void |
openIMatrixFile(java.io.File file)
|
IObjectGrouping |
openIObjectGroupingFile(boolean row,
java.io.File file)
|
void |
openRIFile(java.io.File file)
|
void |
openTokenFileForTextWord(java.io.File file)
Opens a Token File to read Texts and Words. |
void |
purgeMatrix()
|
void |
removeColumns(int colFrom,
int colTo)
|
void |
removeRows(int rowFrom,
int rowTo)
|
void |
resetImage()
Reset settings about zoom and position in the image. |
void |
resetIMatrix()
Resets the matrix, i.e. |
void |
resortIMatrix()
|
void |
saveIMatrixFile(java.io.File file)
|
void |
saveIMatrixPicture(java.io.File file)
|
void |
saveIObjectGroupingFile(IObjectGrouping grouping,
java.io.File file)
|
void |
setChanged()
|
void |
setProperties(Properties properties)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
void |
setView(InfomatView view)
Set the view. |
void |
showProperties()
|
void |
sorter()
|
void |
stoplist()
|
void |
toggleGuide()
|
void |
togglePixelFrame()
|
void |
toggleSimilarityFrame()
|
void |
update()
|
void |
weightMatrix()
|
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 |
Field Detail |
---|
private IMatrix matrix
private MainWindow mainWindow
private InfomatView view
private Properties properties
private static java.lang.String defaultSettingsFile
private java.lang.String settingsFile
private ProgressFrame progressFrame
private MatrixFilterFrame matrixFilterFrame
private MatrixWeightingFrame matrixWeightingFrame
private LabelFrame labelFrame
private EvaluationFrame evaluationFrame
private SorterFrame sorterFrame
private AlgorithmFrame algorithmFrame
private MatrixSummaryFrame matrixSummaryFrame
private ExportTextFrame exportTextFrame
private StoplistFrame stoplistFrame
private InfomatPropertiesFrame propertiesFrame
private PixelFrame pixelFrame
private SimilarityFrame similarityFrame
Constructor Detail |
---|
public InfomatModel(MainWindow mainWindow)
Method Detail |
---|
public Properties getDefaultProperties()
getDefaultProperties
in interface HasProperties
public Properties getFallbackProperties()
public java.lang.Object getPropertyValue(java.lang.String name)
getPropertyValue
in interface HasProperties
public void setProperty(java.lang.String name, java.lang.Object value) throws PropertyNotFoundException
setProperty
in interface HasProperties
PropertyNotFoundException
public Properties getProperties()
getProperties
in interface HasProperties
public void setProperties(Properties properties)
setProperties
in interface HasProperties
public void setChanged()
setChanged
in class java.util.Observable
public boolean hasIMatrix()
public IMatrix getIMatrix()
public void resetIMatrix()
public MainWindow getMainWindow()
public ISimilarity getISimilarity(boolean row)
public SimilarityManager getSimilarityManager()
public IObjectGrouping getCurrentGrouping(boolean row)
public void setView(InfomatView view)
view
- The view.public void update()
public void openTokenFileForTextWord(java.io.File file)
public void openCorpusFile(java.io.File file)
public void openDocumentGroupingFile(java.io.File file)
public void removeColumns(int colFrom, int colTo)
public void removeRows(int rowFrom, int rowTo)
public void resortIMatrix()
public void resetImage()
public void saveIMatrixPicture(java.io.File file)
public void saveIMatrixFile(java.io.File file)
public void saveIObjectGroupingFile(IObjectGrouping grouping, java.io.File file)
public void openRIFile(java.io.File file)
public void openIMatrixFile(java.io.File file)
public IObjectGrouping openIObjectGroupingFile(boolean row, java.io.File file)
public void purgeMatrix()
public void filterMatrix()
public void weightMatrix()
public void invertMatrix()
public void labeler()
public void evaluation()
public void sorter()
public void cluster()
public void matrixSummary()
public void exportText()
public void stoplist()
public void showProperties()
public void alteredProperties()
public void toggleGuide()
public void togglePixelFrame()
public PixelFrame getPixelFrame()
public void toggleSimilarityFrame()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |