java.lang.Object
com.marginallyclever.convenience.swing.graph.GraphModel

public class GraphModel extends Object
Container for graph data. Many named maps, each of which contains numbers.
  • Constructor Details

    • GraphModel

      public GraphModel()
  • Method Details

    • addLine

      public void addLine(String name, GraphLine line)
    • getLine

      public GraphLine getLine(String name)
    • getLineCount

      public int getLineCount()
    • getLineNames

      public List<String> getLineNames()
    • clear

      public void clear()
    • removeLine

      public void removeLine(String name)
    • isEmpty

      public boolean isEmpty()
    • getLines

      public GraphLine[] getLines()