Class RMGraphPie


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

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

      Constructors 
      Constructor Description
      RMGraphPie​(RMGraphRPG aGraphRPG)
      Creates a pie graph content for the given graph content and graphRPG.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure()
      This is the workhorse method that really configures 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

      • RMGraphPie

        public RMGraphPie​(RMGraphRPG aGraphRPG)
        Creates a pie graph content for the given graph content and graphRPG.
    • 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.
      • configure

        protected void configure()
        This is the workhorse method that really configures the graph content.