public class GraphicsRep
extends java.lang.Object
Constructor and Description |
---|
GraphicsRep(ODEWorkspace odews,
GUI ui,
javax.swing.JPanel p)
Constructor that creates a Graphics component of ODEWorkspace.
|
Modifier and Type | Method and Description |
---|---|
void |
clearPlots()
Remove all plots on all panels.
|
void |
enableSolveComponents(boolean enabled)
Set the solve components to be enabled or disabled
|
void |
focusOnDefinition()
Request focus on the ODE Text.
|
InputPanel |
getInputPanel()
Returns the input panel of this ODEWorkspace.
|
TabbedOutputPanel |
getTabbedGraphPanel()
Returns the TabbedOutputPanel of this ODEWorkspace.
|
void |
reload()
Reload all information, create graph panels, and draw graphs.
|
void |
setStatusBar(java.lang.String message)
Set the message on the status bar.
|
void |
setStatusBar(java.lang.String message,
boolean busy)
Set the message and availability status on the status bar.
|
void |
showDialog(javax.swing.JDialog dialog)
To get proper dialog positioning, each dialog uses this method to center
itself on the main program frame.
|
void |
updateGUI_parameters()
Update the solver parameters on the GUI.
|
void |
updateInputPanelIC(SolverParameters params)
Update the IC table on the input panel.
|
void |
updateInputPanelParameters(SolverParameters params)
Update the parameters on the input panel.
|
public GraphicsRep(ODEWorkspace odews, GUI ui, javax.swing.JPanel p)
odews
- the workspace that this component lives inui
- the reference to the GUI of the programp
- the panel to show the result, on the right side of the screenpublic TabbedOutputPanel getTabbedGraphPanel()
public InputPanel getInputPanel()
public void showDialog(javax.swing.JDialog dialog)
dialog
- the dialog to showpublic void enableSolveComponents(boolean enabled)
enabled
- true iff set to enabled, false otherwisepublic void updateGUI_parameters()
public void updateInputPanelParameters(SolverParameters params)
params
- the solver parameters to set topublic void updateInputPanelIC(SolverParameters params)
params
- the solver parameters containing the IC to set topublic void setStatusBar(java.lang.String message, boolean busy)
message
- the message to showbusy
- true iff the bar should be shown as busy, false otherwisepublic void setStatusBar(java.lang.String message)
message
- the message to showpublic void clearPlots()
public void reload()
public void focusOnDefinition()