Interface ISelectionControl
-
- All Superinterfaces:
java.lang.Iterable<IHandle>
- All Known Implementing Classes:
AbstractSelectionControls
,AbstractShapeTool.AbstractShapeControls
,LinkControls
,RotationControls
,ScaleControls
,WindowScaleControls
public interface ISelectionControl extends java.lang.Iterable<IHandle>
This interface describes a class that can provide the IHandles needed to manipulate a given selection.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Insets
getInsets()
These insets describe the area around the selection control in which its painting and handles are allowed to draw themselves.void
initialize(DesignPanel panel, DesignableContainer container, DesignableDelegate delegate, java.util.List<javax.swing.JComponent> selection)
void
paintBackground(java.awt.Graphics2D g)
A chance to paint the background of the selection area before the IHandles are paintedvoid
uninstall()
-
-
-
Method Detail
-
initialize
void initialize(DesignPanel panel, DesignableContainer container, DesignableDelegate delegate, java.util.List<javax.swing.JComponent> selection)
-
uninstall
void uninstall()
-
getInsets
java.awt.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(java.awt.Graphics2D g)
A chance to paint the background of the selection area before the IHandles are painted
-
-