Class RMGraphBar


  • public class RMGraphBar
    extends java.lang.Object
    This class generates (and represents) a RPG'd bar graph content.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  RMGraphBar.GraphBarView
      An interface for a shape that renders a bar graph from bar graph pieces.
      static class  RMGraphBar.RMGraphBarView
      A simple implementation of the BarGraphView interface.
    • Constructor Summary

      Constructors 
      Constructor Description
      RMGraphBar​(RMGraphRPG aGraphRPG)
      Creates a bar graph maker.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addBars()
      Adds the bars to the graph content.
      RMGraph getGraph()
      Returns the original graph that this graph content was generated from.
      RMGraphRPG getGraphRPG()
      Returns the graphRPG that this graph content is generated for.
      RMShape getGraphView()
      Returns the graph view.
      • Methods inherited from class java.lang.Object

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

      • RMGraphBar

        public RMGraphBar​(RMGraphRPG aGraphRPG)
        Creates a bar graph maker.
    • Method Detail

      • getGraph

        public RMGraph getGraph()
        Returns the original graph that this graph content was generated from.
      • getGraphRPG

        public RMGraphRPG getGraphRPG()
        Returns the graphRPG that this graph content is generated for.
      • getGraphView

        public RMShape getGraphView()
        Returns the graph view.
      • addBars

        public void addBars()
        Adds the bars to the graph content.