Location.RelativeTo, Location.RelativeToAvoiding
Constructor and Description |
---|
Location.RelativeToAvoiding(java.awt.Component c,
java.awt.Rectangle avoidr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setLocation(java.awt.Window w)
Set the location of the given window.
|
public Location.RelativeToAvoiding(java.awt.Component c, java.awt.Rectangle avoidr)
c
- the component that serves as a reference.avoidr
- the component to avoid.public void setLocation(java.awt.Window w)
setLocation
in interface Location
w
- the window to locate.Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.