Class AttributeBoundsManipulator

    • Constructor Detail

      • AttributeBoundsManipulator

        public AttributeBoundsManipulator​(NamedObj container)
        Construct a new bounds manipulator.
        Parameters:
        container - The container of the icon to be manipulated.
    • Method Detail

      • mouseReleased

        public void mouseReleased​(LayerEvent e)
        Make a persistent record of the new size by issuing a change request.
        Overrides:
        mouseReleased in class BoundsManipulator
        Parameters:
        e - The mouse event.
      • newInstance

        public FigureDecorator newInstance​(Figure f)
        Create a new instance of this manipulator. The new instance will have the same grab handle, and interactor for grab-handles. This is typically called on the prototype to yield a decorator that gets displayed while the object is selected.
        Overrides:
        newInstance in class BoundsManipulator
        Parameters:
        f - The figure
        Returns:
        The new instance of the figure decorator.
      • setSnapResolution

        public void setSnapResolution​(double resolution)
        Set the snap resolution.
        Parameters:
        resolution - The snap resolution.