Interface ISelectionControl

All Superinterfaces:
Iterable<IHandle>
All Known Implementing Classes:
AbstractSelectionControls, AbstractShapeTool.AbstractShapeControls, LinkControls, RotationControls, ScaleControls, WindowScaleControls

public interface ISelectionControl extends Iterable<IHandle>
This interface describes a class that can provide the IHandles needed to manipulate a given selection.
  • Method Details

    • initialize

      void initialize(DesignPanel panel, DesignableContainer container, DesignableDelegate delegate, List<JComponent> selection)
    • uninstall

      void uninstall()
    • getInsets

      Insets getInsets()
      These insets describe the area around the selection control in which its painting and handles are allowed to draw themselves. Should be in un-zoomed (logical) space.
    • paintBackground

      void paintBackground(Graphics2D g)
      A chance to paint the background of the selection area before the IHandles are painted