public interface IScreenObject
Modifier and Type | Field and Description |
---|---|
static int |
ZORDER_MAX |
static int |
ZORDER_MIN |
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getBounds() |
java.lang.Object |
getModel() |
int |
getZOrder() |
boolean |
hitTest(java.awt.geom.Point2D point)
Determine if the object contains the given point (in screen coordinates)
|
boolean |
hitTest(java.awt.Rectangle rc)
Determine if the object intersects the given rectangle (in screen coordinates)
|
void |
updateView(View2D view)
Called before any other methods to notify the screen object of the current screen coordinates.
|
static final int ZORDER_MAX
static final int ZORDER_MIN
java.awt.Rectangle getBounds()
java.lang.Object getModel()
int getZOrder()
boolean hitTest(java.awt.geom.Point2D point)
boolean hitTest(java.awt.Rectangle rc)
rc
- void updateView(View2D view)