Documentation of 'jhplot.HMedusa' Java class.
HMedusa
jhplot

Class HMedusa



  • public class HMedusa
    extends java.lang.Object
    A Medusa frame to display and work with interactive graphs.
    • Constructor Summary

      Constructors 
      Constructor and Description
      HMedusa()
      Initialize the Medusa graph builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(Graph g)
      Add a graph to the editor.
      void clear()
      Clear the canvas (and dispose all graphs)
      void doc()
      Show online documentation.
      MedusaSimplerFrame getFrame()
      Return medusa frame
      Graph getGraph()
      Get a graph.
      EditableGraphPanel getPanel()
      Return medusa panel with the graph.
      void loadFile(java.lang.String file)
      LOad a file with the graph.
      void quit()
      Quit the canvas (and dispose all components).
      void setGraph(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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HMedusa

        public HMedusa()
        Initialize the Medusa graph builder.
    • Method Detail

      • visible

        public void visible(boolean vs)
        Set the canvas frame visible.
        Parameters:
        vs - (boolean) true: visible, false: not visible
      • visible

        public void visible()
        Set the canvas frame visible.
      • quit

        public void quit()
        Quit the canvas (and dispose all components).
      • clear

        public void clear()
        Clear the canvas (and dispose all graphs)
      • update

        public void update()
        Update the canvas.
      • add

        public void add(Graph g)
        Add a graph to the editor.
        Parameters:
        graph - graph to be added.
      • setGraph

        public void setGraph(Graph g)
        Add a graph to the editor.
        Parameters:
        graph - graph to be added.
      • getGraph

        public Graph getGraph()
        Get a graph.
        Returns:
        current graph
      • getPanel

        public EditableGraphPanel getPanel()
        Return medusa panel with the graph.
        Returns:
        panel
      • loadFile

        public void loadFile(java.lang.String file)
        LOad a file with the graph.
        Parameters:
        file - file with the graph.
      • doc

        public void doc()
        Show online documentation.

DMelt 3.0 © DataMelt by jWork.ORG