NGP
Interface Locatable

All Known Subinterfaces:
Component
All Known Implementing Classes:
CheckBox, FileDialog, Image, Label, Menu, MenuBar, MenuItem, PushButton, RadioButton, RectangularShape, Slider, Text, TextArea, TextBox, ToggleButton

public interface Locatable

Indicates that the implementer maintains its location on the screen and provides accessors/mutators.

Author:
Matt Chotin (mhc)
See Also:
java.awt.Point

Method Summary
 Point getLocation()
          Get the location of this Locatable.
 void setLocation(Point p)
          Set the location of this Locatable to the passed in Point.
 

Method Detail

setLocation

public void setLocation(Point p)
Set the location of this Locatable to the passed in Point.

Parameters:
p - the new Point for this Locatable
See Also:
getLocation

getLocation

public Point getLocation()
Get the location of this Locatable.

Returns:
the Point for this Locatable
See Also:
setLocation