Class RMGraphContent

All Implemented Interfaces:
RMArchiver.Archiving, RMShapePainter.Paint, Cloneable

public class RMGraphContent extends RMScene3D implements RMShapePainter.Paint
This class represents the actual graph content (a place holder really).
  • Constructor Details

    • RMGraphContent

      public RMGraphContent()
      Creates a new graph content.
  • Method Details

    • rpgClone

      public RMShape rpgClone(ReportMill aRM, RMGraphRPG graphRPG)
      Returns a clone with report generation performed on it.
    • paintShape

      public void paintShape(RMShapePainter aPainter, Graphics2D g)
      Overrides paintShape to create sample child and to exclude self from drawing.
      Specified by:
      paintShape in interface RMShapePainter.Paint
    • setWidth

      public void setWidth(double aValue)
      Override to rebuild sample graph.
      Overrides:
      setWidth in class RMShape
    • setHeight

      public void setHeight(double aValue)
      Override to rebuild sample graph.
      Overrides:
      setHeight in class RMShape
    • superSelectable

      public boolean superSelectable()
      Editor method - declares that this shape can be super selected.
      Overrides:
      superSelectable in class RMScene3D
    • getChildrenWhoHitTest

      public List getChildrenWhoHitTest()
      Editor method - declares that no child of this shape can be selected.
      Overrides:
      getChildrenWhoHitTest in class RMScene3D
    • getToolClassName

      public String getToolClassName()
      Editor method - indicates that this shape should use Scene3D's tool.
      Overrides:
      getToolClassName in class RMShape
    • rebuild

      public void rebuild()
      Notifies content that something crucial has changed requiring a rebuild.
      Overrides:
      rebuild in class RMScene3D
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML archival.
      Overrides:
      toXML in class RMScene3D
    • fromXML

      public Object fromXML(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Overrides:
      fromXML in class RMScene3D