Class ShapeLocationSize


public class ShapeLocationSize extends SwingOwner
This class provides Swing UI editing for the currently selected shapes location and size.
  • Constructor Details

    • ShapeLocationSize

      public ShapeLocationSize()
  • Method Details

    • getWindowTitle

      public String getWindowTitle()
      Returns the name to be used in the inspector's window title.
    • resetUI

      public void resetUI()
      Updates Swing UI controls from currently selected shape.
      Overrides:
      resetUI in class UIOwner<SwingEvent,JComponent>
    • respondUI

      public void respondUI(SwingEvent anEvent)
      Updates currently selected shape from Swing UI controls.
      Overrides:
      respondUI in class UIOwner<SwingEvent,JComponent>
    • getUnitsFromPoints

      public double getUnitsFromPoints(double aValue)
      Converts from shape units to tool units.
    • getPointsFromUnits

      public double getPointsFromUnits(double aValue)
      Converts from tool units to shape units.