Class ShapeLocationSize


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

      • ShapeLocationSize

        public ShapeLocationSize()
    • Method Detail

      • getWindowTitle

        public java.lang.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,​javax.swing.JComponent>
      • respondUI

        public void respondUI​(SwingEvent anEvent)
        Updates currently selected shape from Swing UI controls.
        Overrides:
        respondUI in class UIOwner<SwingEvent,​javax.swing.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.