public class HMedusa extends Object
| Constructor and Description |
|---|
HMedusa()
Initialize the Medusa graph builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(medusa.graph.Graph g)
Add a graph to the editor.
|
void |
clear()
Clear the canvas (and dispose all graphs)
|
void |
doc()
Show online documentation.
|
medusa.MedusaSimplerFrame |
getFrame()
Return medusa frame
|
medusa.graph.Graph |
getGraph()
Get a graph.
|
medusa.display.EditableGraphPanel |
getPanel()
Return medusa panel with the graph.
|
void |
loadFile(String file)
LOad a file with the graph.
|
void |
quit()
Quit the canvas (and dispose all components).
|
void |
setGraph(medusa.graph.Graph g)
Add a graph to the editor.
|
void |
update()
Update the canvas.
|
void |
visible()
Set the canvas frame visible.
|
void |
visible(boolean vs)
Set the canvas frame visible.
|
public void visible(boolean vs)
vs - (boolean) true: visible, false: not visiblepublic void visible()
public void quit()
public void clear()
public void update()
public void add(medusa.graph.Graph g)
graph - graph to be added.public void setGraph(medusa.graph.Graph g)
graph - graph to be added.public medusa.graph.Graph getGraph()
public medusa.MedusaSimplerFrame getFrame()
public medusa.display.EditableGraphPanel getPanel()
public void loadFile(String file)
file - file with the graph.public void doc()
DMelt 2.0 © DataMelt by jWork.ORG