| |
|
| java.lang.Object org.netbeans.modules.visualweb.designer.Interaction org.netbeans.modules.visualweb.designer.Marquee
Marquee | public class Marquee extends Interaction (Code) | | Handle drawing (and "undrawing"!) a Marquee - a selection
rectangle (aka "marching ants", aka animated rubber-banding line).
author: Tor Norbye |
previousCursor | protected transient Cursor previousCursor(Code) | | |
unsnappedStartPoint | protected Point unsnappedStartPoint(Code) | | |
getUnsnappedPosition | Point getUnsnappedPosition()(Code) | | |
mouseDragged | public void mouseDragged(MouseEvent e)(Code) | | Resizes the selection rectangle to extend from startpoint to the
new mouse cursor position.
|
mousePressed | public void mousePressed(MouseEvent e)(Code) | | Start the marquee at the specified startPoint.
|
mouseReleased | public void mouseReleased(MouseEvent e)(Code) | | When the mouse press is released, get rid of the drawn marquee,
and ask the selection manager to select all the components contained
within the marquee bounds.
|
setInsertCursor | public void setInsertCursor(boolean insertCursor)(Code) | | |
setSelect | public void setSelect(boolean select)(Code) | | Should a selection operation in the selection manager be attempted
when mouse is released ?
|
setSnapToGrid | public void setSnapToGrid(boolean snap)(Code) | | Should the coordinates of the rectangle be snapped to grid?
|
|
|
|