Class RMGraphContent

    • Constructor Detail

      • RMGraphContent

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

      • paintShape

        public void paintShape​(RMShapePainter aPainter,
                               java.awt.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 java.util.List getChildrenWhoHitTest()
        Editor method - declares that no child of this shape can be selected.
        Overrides:
        getChildrenWhoHitTest in class RMScene3D
      • getToolClassName

        public java.lang.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