public class MainController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALGEBRA_CHANGED |
Constructor and Description |
---|
MainController(UACalc uacalcUI) |
Modifier and Type | Method and Description |
---|---|
GUIAlgebra |
addAlgebra(GUIAlgebra gAlg,
boolean makeCurrent)
Make alg into a GUIAlgebra, add it to the list and to the table
with the list and scroll to the bottom.
|
GUIAlgebra |
addAlgebra(SmallAlgebra alg) |
GUIAlgebra |
addAlgebra(SmallAlgebra alg,
boolean makeCurrent) |
GUIAlgebra |
addAlgebra(SmallAlgebra alg,
java.io.File file,
boolean makeCurrent)
Make alg into a GUIAlgebra, add it to the list and to the table
with the list and scroll to the bottom.
|
void |
beep() |
boolean |
checkSave() |
void |
clearUserMessage()
Clear the user message.
|
AlgebraEditorController |
getAlgebraEditorController() |
GUIAlgebraList |
getAlgebraList() |
ComputationsController |
getComputationsController() |
ConController |
getConController() |
GUIAlgebra |
getCurrentAlgebra() |
java.io.File |
getCurrentFile() |
DrawingController |
getDrawingController() |
LatDrawPanel |
getLatDrawPanel() |
java.util.prefs.Preferences |
getPrefs() |
java.beans.PropertyChangeSupport |
getPropertyChangeSupport() |
java.util.Random |
getRandom() |
SubController |
getSubController() |
boolean |
isDirty() |
void |
loadBuiltIn() |
void |
open() |
void |
open(java.io.File file) |
void |
open(java.io.File[] files) |
SmallAlgebra |
openAux(java.io.File file) |
void |
quit() |
void |
removeCurrentAlgebra() |
void |
resetToolBar() |
boolean |
save() |
boolean |
saveAs(java.lang.String ext) |
static void |
scrollToBottom(javax.swing.JTable table) |
void |
setAlgListComboBox() |
void |
setCurrentAlgebra(GUIAlgebra alg) |
void |
setCurrentAlgebra(SmallAlgebra alg) |
void |
setCurrentFile(java.io.File f) |
void |
setDirty() |
void |
setDirty(boolean v) |
void |
setNew() |
void |
setRandomSeed(long seed) |
void |
setTimedMessage(java.lang.String msg)
Give the user a message and erase it after a few seconds.
|
void |
setTitle() |
void |
setUserMessage(java.lang.String msg)
Give the user a message, set in the dimension panal info area.
|
void |
setUserMessage(java.lang.String msg,
boolean popup)
Give the user a message, set in the dimension panal info area
and possibly a popup.
|
void |
setUserWarning(java.lang.String msg)
Give the user a warning, set in the dimension panal info area.
|
void |
setUserWarning(java.lang.String msg,
boolean popup)
Give the user a warning, set in the dimension panal info area
and pop up a info dialog.
|
void |
switchAlgebra(GUIAlgebra gAlg) |
static void |
tableToCSV(java.lang.String desc,
TermTableModel model,
java.io.PrintStream out) |
boolean |
writeCSVTable() |
boolean |
writeLogTextArea() |
public static final java.lang.String ALGEBRA_CHANGED
public MainController(UACalc uacalcUI)
public java.io.File getCurrentFile()
public void setCurrentFile(java.io.File f)
public java.beans.PropertyChangeSupport getPropertyChangeSupport()
public void quit()
public boolean checkSave()
public GUIAlgebra addAlgebra(SmallAlgebra alg, boolean makeCurrent)
public GUIAlgebra addAlgebra(SmallAlgebra alg)
public GUIAlgebra addAlgebra(SmallAlgebra alg, java.io.File file, boolean makeCurrent)
public GUIAlgebra addAlgebra(GUIAlgebra gAlg, boolean makeCurrent)
public LatDrawPanel getLatDrawPanel()
public AlgebraEditorController getAlgebraEditorController()
public ComputationsController getComputationsController()
public ConController getConController()
public SubController getSubController()
public DrawingController getDrawingController()
public void resetToolBar()
public boolean save()
public boolean saveAs(java.lang.String ext)
public boolean writeLogTextArea()
public boolean writeCSVTable()
public void open()
public void open(java.io.File file)
public SmallAlgebra openAux(java.io.File file)
public void open(java.io.File[] files)
public void loadBuiltIn()
public void switchAlgebra(GUIAlgebra gAlg)
public GUIAlgebra getCurrentAlgebra()
public void removeCurrentAlgebra()
public void setCurrentAlgebra(SmallAlgebra alg)
public void setCurrentAlgebra(GUIAlgebra alg)
public java.util.Random getRandom()
public void setRandomSeed(long seed)
public boolean isDirty()
public void setDirty()
public void setDirty(boolean v)
public void beep()
public void setTitle()
public void setNew()
public GUIAlgebraList getAlgebraList()
public void setAlgListComboBox()
public void setUserMessage(java.lang.String msg)
public void setUserMessage(java.lang.String msg, boolean popup)
public void clearUserMessage()
public void setUserWarning(java.lang.String msg)
public void setUserWarning(java.lang.String msg, boolean popup)
public void setTimedMessage(java.lang.String msg)
public static void tableToCSV(java.lang.String desc, TermTableModel model, java.io.PrintStream out)
public java.util.prefs.Preferences getPrefs()
public static void scrollToBottom(javax.swing.JTable table)
Copyright 2003 Ralph Freese. All Rights Reserved.