Class RJPanelTool

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

    public class RJPanelTool
    extends RBTool
    Provides inspector for RJPanelShape.
    • Field Detail

      • _borders

        protected static javax.swing.border.Border[] _borders
    • Constructor Detail

      • RJPanelTool

        public RJPanelTool()
        Creates a new panel shape tool.
    • Method Detail

      • getShapeClass

        public java.lang.Class getShapeClass()
        Returns the class this tool is responsible for.
        Overrides:
        getShapeClass in class Tool
      • getUI

        public RJPanel getUI()
        Returns the Swing UI panel.
        Overrides:
        getUI in class Tool
      • resetUI

        public void resetUI()
        Updates the Swing UI from the currently selected panel shape.
        Overrides:
        resetUI in class Tool
      • respondUI

        public void respondUI​(java.lang.Object anObj)
        Updates the currently selected panel shape from the Swing UI controls.
        Overrides:
        respondUI in class Tool
      • buildShapesFromComponents

        public void buildShapesFromComponents​(javax.swing.JComponent aComponent,
                                              RJShape aShape,
                                              RMShape aParentShape)
        Creates the appropriate RJShape for given RJComponent and adds it to given shape.
        Overrides:
        buildShapesFromComponents in class RBTool