|
JSR-209 (Final Approval Ballot) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point | |
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
java.awt.image | Provides classes for creating and modifying images. |
javax.imageio | The main package of the Java Image I/O API. |
javax.microedition.plaf | AGUI provides a Pluggable Look and Feel architecture, similar to that which is defined in Java SE (from which AGUI is subset). |
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
javax.swing.table | Provides classes and interfaces for dealing with
javax.swing.JTable . |
javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
Uses of Point in java.awt |
Methods in java.awt that return Point | |
Point |
Rectangle.getLocation()
Returns the location of this Rectangle . |
Point |
Point.getLocation()
Returns the location of this point. |
Methods in java.awt with parameters of type Point | |
boolean |
Polygon.contains(Point p)
Determines whether the specified Point is inside this
Polygon . |
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 . |
void |
Point.setLocation(Point p)
Sets the location of the point to the specified location. |
Constructors in java.awt with parameters of type Point | |
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(Point p)
Constructs a new Rectangle whose top-left corner is the
specified Point , and whose width and height are both zero. |
|
Point(Point p)
Constructs and initializes a point with the same location as the specified Point object. |
Uses of Point in java.awt.image |
Constructors in java.awt.image with parameters of type Point | |
Raster(SampleModel sampleModel,
Point origin)
Constructs a Raster with the given SampleModel. |
|
Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Point origin)
Constructs a Raster with the given SampleModel and DataBuffer. |
|
Raster(SampleModel sampleModel,
DataBuffer dataBuffer,
Rectangle aRegion,
Point sampleModelTranslate,
Raster parent)
Constructs a Raster with the given SampleModel, DataBuffer, and parent. |
|
WritableRaster(SampleModel sampleModel,
DataBuffer dataBuffer,
Point origin)
Constructs a WritableRaster with the given SampleModel and DataBuffer. |
|
WritableRaster(SampleModel sampleModel,
DataBuffer dataBuffer,
Rectangle aRegion,
Point sampleModelTranslate,
WritableRaster parent)
Constructs a WritableRaster with the given SampleModel, DataBuffer, and parent. |
Uses of Point in javax.imageio |
Fields in javax.imageio declared as Point | |
protected Point |
IIOParam.destinationOffset
The offset in the destination where the upper-left decoded pixel should be placed. |
Methods in javax.imageio that return Point | |
Point |
IIOParam.getDestinationOffset()
Returns the offset in the destination image at which pixels are to be placed. |
Methods in javax.imageio with parameters of type Point | |
void |
IIOParam.setDestinationOffset(Point destinationOffset)
Specifies the offset in the destination image at which future decoded pixels are to be placed, when reading, or where a region will be written, when writing. |
Uses of Point in javax.microedition.plaf |
Methods in javax.microedition.plaf that return Point | |
Point |
ListUI.indexToLocation(JList list,
int index)
Returns the origin of the specified item in JList coordinates, null if index isn't valid. |
Methods in javax.microedition.plaf with parameters of type Point | |
int |
ListUI.locationToIndex(JList list,
Point location)
Convert a point in JList coordinates to the closest index
of the cell at that location. |
Uses of Point in javax.swing |
Fields in javax.swing declared as Point | |
protected Point |
JViewport.lastPaintPosition
The last viewPosition that we've painted, so we know how
much of the backing store image is valid. |
Methods in javax.swing that return Point | |
static Point |
SwingUtilities.convertPoint(java.awt.Component source,
Point aPoint,
java.awt.Component destination)
Convert a aPoint in source coordinate system to
destination coordinate system. |
static Point |
SwingUtilities.convertPoint(java.awt.Component source,
int x,
int y,
java.awt.Component destination)
Convert the point (x,y) in source coordinate system to
destination coordinate system. |
Point |
JViewport.getViewPosition()
Returns the view coordinates that appear in the upper left hand corner of the viewport, or 0,0 if there's no view. |
Point |
JViewport.toViewCoordinates(Point p)
Converts a point in pixel coordinates to view coordinates. |
protected Point |
JMenu.getPopupMenuOrigin()
Computes the origin for the JMenu 's popup menu. |
Point |
JComponent.getLocation(Point rv)
Stores the x,y origin of this component into "return value" rv and returns rv . |
Point |
JList.indexToLocation(int index)
Returns the origin of the specified item in JList
coordinates. |
Methods in javax.swing with parameters of type Point | |
static Point |
SwingUtilities.convertPoint(java.awt.Component source,
Point aPoint,
java.awt.Component destination)
Convert a aPoint in source coordinate system to
destination coordinate system. |
static void |
SwingUtilities.convertPointToScreen(Point p,
java.awt.Component c)
Convert a point from a component's coordinate system to screen coordinates. |
static void |
SwingUtilities.convertPointFromScreen(Point p,
java.awt.Component c)
Convert a point from a screen coordinates to a component's coordinate system |
java.awt.Component |
MenuSelectionManager.componentForPoint(java.awt.Component source,
Point sourcePoint)
Returns the component in the currently selected path which contains sourcePoint. |
void |
JViewport.setViewPosition(Point p)
Sets the view coordinates that appear in the upper left hand corner of the viewport, does nothing if there's no view. |
protected boolean |
JViewport.computeBlit(int dx,
int dy,
Point blitFrom,
Point blitTo,
Dimension blitSize,
Rectangle blitPaint)
Computes the parameters for a blit where the backing store image currently contains oldLoc in the upper left hand corner
and we're scrolling to newLoc . |
Point |
JViewport.toViewCoordinates(Point p)
Converts a point in pixel coordinates to view coordinates. |
int |
JTable.columnAtPoint(Point point)
Returns the index of the column that point lies in,
or -1 if the result is not in the range
[0, getColumnCount() -1]. |
int |
JTable.rowAtPoint(Point point)
Returns the index of the row that point lies in,
or -1 if the result is not in the range
[0, getRowCount() -1]. |
Point |
JComponent.getLocation(Point rv)
Stores the x,y origin of this component into "return value" rv and returns rv . |
int |
JList.locationToIndex(Point location)
Convert a point in JList coordinates to the closest index
of the cell at that location. |
Uses of Point in javax.swing.table |
Methods in javax.swing.table with parameters of type Point | |
int |
JTableHeader.columnAtPoint(Point point)
Returns the index of the column that point lies in, or -1 if it
lies out of bounds. |
Uses of Point in javax.swing.text |
Methods in javax.swing.text that return Point | |
Point |
Caret.getMagicCaretPosition()
Gets the current caret visual location. |
Methods in javax.swing.text with parameters of type Point | |
int |
JTextComponent.viewToModel(Point pt)
Converts the given place in the view coordinate system to the nearest representative location in the model. |
void |
Caret.setMagicCaretPosition(Point p)
Set the current caret visual location. |
|
JSR-209 (Final Approval Ballot) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |