|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point | |
com.jjt.utbeg | |
java.awt | |
java.awt.event |
Uses of Point in com.jjt.utbeg |
Fields in com.jjt.utbeg declared as Point | |
private Point |
SwathViewer.swathUpperLeft
|
Methods in com.jjt.utbeg that return Point | |
private Point |
SwathViewer.getUpperLeftSwathPoint()
Returns the upper-left coordinate for the drawn swath. |
private Point |
SwathViewer.getCenterSwathPoint()
Calculates the swath center point based on the upper left point and the swath size. |
Methods in com.jjt.utbeg with parameters of type Point | |
private void |
SwathViewer.setNewSwathPosition(Point centerPoint)
Sets a new position for the swath drawn within the viewer. |
Uses of Point in java.awt |
Methods in java.awt that return Point | |
Point |
Component.getLocation()
Gets the location of this component in the form of a point specifying the component's top-left corner. |
Point |
Component.getLocationOnScreen()
Gets the location of this component in the form of a point specifying the component's top-left corner in the screen's coordinate space. |
Point |
Component.location()
Deprecated. As of JDK version 1.1, replaced by getLocation() . |
Point |
Component.getLocation(Point rv)
Store the x,y origin of this component into "return value" rv and return rv. |
Point |
Point.getLocation()
Returns the location of this point. |
Point |
LightweightPeer.getLocationOnScreen()
|
Point |
ScrollPane.getScrollPosition()
Returns the current x,y position within the child which is displayed at the 0,0 location of the scrolled panel's view port. |
Point |
Rectangle.getLocation()
Returns the location of this Rectangle . |
Point |
GridBagLayout.getLayoutOrigin()
Determines the origin of the layout grid. |
Point |
GridBagLayout.location(int x,
int y)
Determines which cell in the layout grid contains the point specified by (x, y) . |
Methods in java.awt with parameters of type Point | |
void |
Component.setLocation(Point p)
Moves this component to a new location. |
Point |
Component.getLocation(Point rv)
Store the x,y origin of this component into "return value" rv and return rv. |
boolean |
Component.contains(Point p)
Checks whether this component "contains" the specified point, where the point's x and y coordinates are defined to be relative to the coordinate system of this component. |
Component |
Component.getComponentAt(Point p)
Returns the component or subcomponent that contains the specified point. |
Component |
Container.getComponentAt(Point p)
Gets the component that contains the specified point. |
Component |
Container.findComponentAt(Point p)
Locates the visible child component that contains the specified point. |
void |
Point.setLocation(Point p)
Sets the location of the point to the specificed location. |
Cursor |
Toolkit.createCustomCursor(Image cursor,
Point hotSpot,
String name)
Creates a new custom cursor object. |
boolean |
Polygon.contains(Point p)
Determines whether the specified Point is inside this
Polygon . |
void |
ScrollPane.setScrollPosition(Point p)
Scrolls to the specified position within the child component. |
void |
Rectangle.setLocation(Point p)
Moves this Rectangle to the specified location. |
boolean |
Rectangle.contains(Point p)
Checks whether or not this Rectangle contains the
specified Point . |
void |
Rectangle.add(Point pt)
Adds the specified Point to this
Rectangle . |
Constructors in java.awt with parameters of type Point | |
Point.Point(Point p)
Constructs and initializes a point with the same location as the specified Point object. |
|
Rectangle.Rectangle(Point p,
Dimension d)
Constructs a new Rectangle whose top-left corner is
specified by the Point argument, and
whose width and height are specified by the
Dimension argument. |
|
Rectangle.Rectangle(Point p)
Constructs a new Rectangle whose top-left corner is the
specified Point , and whose width and height are both zero. |
Uses of Point in java.awt.event |
Methods in java.awt.event that return Point | |
Point |
MouseEvent.getPoint()
Returns the x,y position of the event relative to the source component. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |