public class TLspSelectRectangleInput extends ALspSelectInput
ALspSelectInput
that describes rectangle based input. All objects
interacting with the rectangle should be selected.Constructor and Description |
---|
TLspSelectRectangleInput(Point aLastViewPoint,
Rectangle aRectangle)
Constructs a new
TLspSelectRectangleInput with the passed view point and rectangle. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Rectangle |
getRectangle()
Returns the selection rectangle.
|
int |
hashCode() |
String |
toString() |
getLastViewPoint
public TLspSelectRectangleInput(Point aLastViewPoint, Rectangle aRectangle)
TLspSelectRectangleInput
with the passed view point and rectangle.aLastViewPoint
- the last relevant view point before selection
(typically the mouse position etc...)aRectangle
- the selection rectanglepublic Rectangle getRectangle()
public boolean equals(Object o)
equals
in class ALspSelectInput
public int hashCode()
hashCode
in class ALspSelectInput