Interface ISelectionControl
- All Known Implementing Classes:
AbstractSelectionControls,AbstractShapeTool.AbstractShapeControls,LinkControls,RotationControls,ScaleControls,WindowScaleControls
This interface describes a class that can provide the IHandles needed to manipulate a given selection.
-
Method Summary
Modifier and TypeMethodDescriptionThese insets describe the area around the selection control in which its painting and handles are allowed to draw themselves.voidinitialize(DesignPanel panel, DesignableContainer container, DesignableDelegate delegate, List<JComponent> selection) voidA chance to paint the background of the selection area before the IHandles are paintedvoidMethods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
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
A chance to paint the background of the selection area before the IHandles are painted
-