Class RBPageTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class RBPageTool extends RBTool
Provides for Swing UI editing of RBPage properties.
  • Constructor Details

    • RBPageTool

      public RBPageTool()
      Creates a new RBPageTool.
  • Method Details

    • getUI

      public RJPanel getUI()
      Returns the Swing GUI for this tool.
      Overrides:
      getUI in class Tool
    • resetUI

      public void resetUI()
      Updates the Swing UI for this tool from the currently selected RBPage.
      Overrides:
      resetUI in class Tool
    • respondUI

      public void respondUI(Object anObj)
      Propagates changes from the Swing UI controls to the currently selected RBPage.
      Overrides:
      respondUI in class Tool
    • getHandleCount

      public int getHandleCount(RMShape aShape)
      Overrides tool method to declare that pages have no handles.
      Overrides:
      getHandleCount in class RBTool
    • getShapeClass

      public Class getShapeClass()
      Returns the class that this tool is responsible for.
      Overrides:
      getShapeClass in class Tool
    • getWindowTitle

      public String getWindowTitle()
      Returns the name used to represent this tool in the inspector window title.
      Overrides:
      getWindowTitle in class Tool
    • getImageIcon

      public ImageIcon getImageIcon()
      Returns the icon to be used to represent this tool in the inspector window selection path.
      Overrides:
      getImageIcon in class Tool
    • syncComponentsFromShapes

      public void syncComponentsFromShapes(RMShape aShape)
      Synchronizes component heirarchy from shape heirarchy (shapes may have been added, removed, reordered).
      Overrides:
      syncComponentsFromShapes in class RBTool