Package net.sf.jaxodraw.util
Class Location.RelativeTo
java.lang.Object
net.sf.jaxodraw.util.Location.RelativeTo
- All Implemented Interfaces:
Location
- Enclosing interface:
Location
Class to set locations relative to other components.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sf.jaxodraw.util.Location
Location.RelativeTo, Location.RelativeToAvoiding
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set the location of the given window.
-
Constructor Details
-
RelativeTo
Constructor.- Parameters:
c
- the component that serves as a reference point.
-
-
Method Details
-
setLocation
Set the location of the given window.- Specified by:
setLocation
in interfaceLocation
- Parameters:
w
- the window to locate.
-