public class DiagonalPositioner extends java.lang.Object implements Positioner
Positioner interface
that allows moving the helper dialog diagonally.| Constructor and Description |
|---|
DiagonalPositioner() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Point |
getPosition(PositionInfo positionInfo,
java.awt.Point point)
Returns the specified point that is used as a location to where the helper dialog can be
moved.
|
public java.awt.Point getPosition(PositionInfo positionInfo, java.awt.Point point)
PositionergetPosition in interface PositionerpositionInfo - the information about the bounds of the components,
like screen and helper dialogpoint - the current position of the mouse pointer