Class ShapeLocationSize


  • public class ShapeLocationSize
    extends java.lang.Object
    This class provides Swing GUI editing for the currently selected shapes location and size.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ShapeLocationSize.AutosizingPanel
      An inner class to provide a simple springs and struts control.
    • Constructor Summary

      Constructors 
      Constructor Description
      ShapeLocationSize()
      Creates a new location size inspector.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.JPanel getUI()
      Returns the Swing UI panel for this inspector.
      java.lang.String getWindowTitle()
      Returns the name to be used in the inspector's window title.
      void resetUI()
      Updates Swing UI controsl from currently selected shape.
      void respondUI​(java.lang.Object anObj)
      Updates currently selected shape from Swing UI controls.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShapeLocationSize

        public ShapeLocationSize()
        Creates a new location size inspector.
    • Method Detail

      • getWindowTitle

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

        public javax.swing.JPanel getUI()
        Returns the Swing UI panel for this inspector.
      • resetUI

        public void resetUI()
        Updates Swing UI controsl from currently selected shape.
      • respondUI

        public void respondUI​(java.lang.Object anObj)
        Updates currently selected shape from Swing UI controls.