public class DataRep
extends java.lang.Object
Constructor and Description |
---|
DataRep(ODEWorkspace odews,
java.lang.String workspaceName)
Creates a new Data component of the ODEWorkspace.
|
Modifier and Type | Method and Description |
---|---|
void |
clearPlotObjectsData()
Remove all plot objects - Curves and Equilibrium points
|
ODE |
createODEFromText(java.lang.String odeText,
GUI gui)
Create a new ODE form the given ODE text if the text is updated at all
|
java.io.File |
getFile()
Returns the file corresponding to this ODEWorkspace.
|
java.lang.String |
getName()
Returns the name of the workspace.
|
java.lang.String |
getODEText()
Returns the most recent ODE definition.
|
ODEVarKeeper |
getVarKeeper()
Returns the variable keeper of this ODEWorkspace.
|
WorkspaceData |
getWorkspace()
Returns the WorkspaceData associated with this ODEWorkspace.
|
void |
setFile(java.io.File f)
Set the file corresponding to this ODEWorkspace.
|
void |
setName(java.lang.String name)
Set the name of the workspace.
|
void |
setVarKeeper(ODEVarKeeper keeper)
Set the variable keeper of thie ODEWorkspace.
|
public DataRep(ODEWorkspace odews, java.lang.String workspaceName)
odews
- the ODEWorkspace containing this data componentworkspaceName
- the name of the workspacepublic WorkspaceData getWorkspace()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the new name for the workspacepublic java.lang.String getODEText()
public java.io.File getFile()
public void setFile(java.io.File f)
f
- the file corresponding to this ODEWorkspacepublic ODEVarKeeper getVarKeeper()
public void setVarKeeper(ODEVarKeeper keeper)
keeper
- the variable keeper to set topublic ODE createODEFromText(java.lang.String odeText, GUI gui)
odeText
- the new ODE textgui
- the reference to GUI for showing dialogpublic void clearPlotObjectsData()