|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.uacalc.nbui.MainController
public class MainController
| Field Summary | |
|---|---|
static java.lang.String |
ALGEBRA_CHANGED
|
| Constructor Summary | |
|---|---|
MainController(UACalc uacalcUI)
|
|
| Method Summary | |
|---|---|
org.uacalc.ui.util.GUIAlgebra |
addAlgebra(org.uacalc.ui.util.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. |
org.uacalc.ui.util.GUIAlgebra |
addAlgebra(SmallAlgebra alg)
|
org.uacalc.ui.util.GUIAlgebra |
addAlgebra(SmallAlgebra alg,
boolean makeCurrent)
|
org.uacalc.ui.util.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()
|
org.uacalc.ui.util.GUIAlgebraList |
getAlgebraList()
|
ComputationsController |
getComputationsController()
|
ConController |
getConController()
|
org.uacalc.ui.util.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 |
quit()
|
void |
removeCurrentAlgebra()
|
void |
resetToolBar()
|
boolean |
save()
|
boolean |
saveAs(java.lang.String ext)
|
static void |
scrollToBottom(javax.swing.JTable table)
|
void |
setAlgListComboBox()
|
void |
setCurrentAlgebra(org.uacalc.ui.util.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(org.uacalc.ui.util.GUIAlgebra gAlg)
|
static void |
tableToCSV(java.lang.String desc,
TermTableModel model,
java.io.PrintStream out)
|
boolean |
writeCSVTable()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ALGEBRA_CHANGED
| Constructor Detail |
|---|
public MainController(UACalc uacalcUI)
| Method Detail |
|---|
public java.io.File getCurrentFile()
public void setCurrentFile(java.io.File f)
public java.beans.PropertyChangeSupport getPropertyChangeSupport()
public void quit()
public boolean checkSave()
public org.uacalc.ui.util.GUIAlgebra addAlgebra(SmallAlgebra alg,
boolean makeCurrent)
public org.uacalc.ui.util.GUIAlgebra addAlgebra(SmallAlgebra alg)
public org.uacalc.ui.util.GUIAlgebra addAlgebra(SmallAlgebra alg,
java.io.File file,
boolean makeCurrent)
public org.uacalc.ui.util.GUIAlgebra addAlgebra(org.uacalc.ui.util.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 writeCSVTable()
public void open()
public void open(java.io.File file)
public void loadBuiltIn()
public void switchAlgebra(org.uacalc.ui.util.GUIAlgebra gAlg)
public org.uacalc.ui.util.GUIAlgebra getCurrentAlgebra()
public void removeCurrentAlgebra()
public void setCurrentAlgebra(SmallAlgebra alg)
public void setCurrentAlgebra(org.uacalc.ui.util.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 org.uacalc.ui.util.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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||