Class RJPanelTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

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

    • _borders

      protected static Border[] _borders
  • Constructor Details

    • RJPanelTool

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

    • getShapeClass

      public 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(Object anObj)
      Updates the currently selected panel shape from the Swing UI controls.
      Overrides:
      respondUI in class Tool
    • buildShapesFromComponents

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