Package net.messagevortex.router
Class TooltipExtentBox
java.lang.Object
net.messagevortex.router.TooltipExtent
net.messagevortex.router.TooltipExtentBox
Extent with a rectangular shape.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new extent with a rectangular shape. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisInExtent(Point p) Returns true if the given point is within the extent.
-
Constructor Details
-
TooltipExtentBox
Creates a new extent with a rectangular shape.
- Parameters:
box- the box representing the shape
-
-
Method Details
-
isInExtent
Description copied from class:TooltipExtentReturns true if the given point is within the extent.
- Specified by:
isInExtentin classTooltipExtent- Parameters:
p- the point to be tested- Returns:
- true if the point lies within the extent
-