Java Platform 1.2

Uses of Class
java.awt.Point

Packages that use Point
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.dnd Provides interfaces and classes for supporting drag-and-drop operations. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.awt.image Provides classes for creating and modifying images. 
javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components. 
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.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
javax.swing.plaf.multi The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. 
javax.swing.table Provides classes and interfaces for dealing with java.awt.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 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 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.
 boolean Polygon.contains(Point p)
          Determines whether the specified Point is inside this Polygon.
 Cursor Toolkit.createCustomCursor(Image cursor, Point hotSpot, String name)
          Creates a new custom cursor object.
 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.dnd
 

Methods in java.awt.dnd that return Point
 Point DropTargetDragEvent.getLocation()
           
 Point DragGestureEvent.getDragOrigin()
           
 Point DropTargetDropEvent.getLocation()
           
 

Methods in java.awt.dnd with parameters of type Point
 void DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)
          start a Drag.
 void DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point dragOffset, Transferable transferable, DragSourceListener dsl)
          start a Drag.
protected  DragSourceContext DragSource.createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp, DragGestureEvent dgl, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable t, DragSourceListener dsl)
          Create the DragSourceContext to handle this Drag.
 void DragGestureEvent.startDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl)
          start the drag
protected  void DragGestureRecognizer.fireDragGestureRecognized(int dragAction, Point p)
          notify the DragGestureListener that a Drag and Drop initiating gesture has occurred.
 void Autoscroll.autoscroll(Point cursorLocn)
          notify the Component to autoscroll
protected  DropTarget.DropTargetAutoScroller DropTarget.createDropTargetAutoScroller(Component c, Point p)
          create an embedded autoscroller
protected  void DropTarget.initializeAutoscrolling(Point p)
          initialize autoscrolling
protected  void DropTarget.updateAutoscroll(Point dragCursorLocn)
          update autoscrolling with current cursor locn
protected  void DropTarget.DropTargetAutoScroller.updateLocation(Point newLocn)
          cause autoscroll to occur
 

Constructors in java.awt.dnd with parameters of type Point
DropTargetDragEvent.DropTargetDragEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions)
          construct an Event
DragGestureEvent.DragGestureEvent(DragGestureRecognizer dgr, int act, Point ori, List evs)
          construct a DragGestureEvent
DropTargetDropEvent.DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions)
          Constructs a DropTargetDropEvent.
DropTargetDropEvent.DropTargetDropEvent(DropTargetContext dtc, Point cursorLocn, int dropAction, int srcActions, boolean isLocal)
          Construct a DropTargetEvent
DragSourceContext.DragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp, DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point offset, Transferable t, DragSourceListener dsl)
          construct a DragSourceContext (called from DragSource)
DropTarget.DropTargetAutoScroller.DropTarget.DropTargetAutoScroller(Component c, Point p)
          construct a DropTargetAutoScroller
 

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.
 

Uses of Point in java.awt.image
 

Methods in java.awt.image that return Point
 Point[] WritableRenderedImage.getWritableTileIndices()
          Returns an array of Point objects indicating which tiles are checked out for writing.
 Point[] BufferedImage.getWritableTileIndices()
          Returns an array of Point objects indicating which tiles are checked out for writing.
 

Methods in java.awt.image with parameters of type Point
static WritableRaster Raster.createInterleavedRaster(int dataType, int w, int h, int bands, Point location)
          Creates a Raster based on a PixelInterleavedSampleModel with the specified data type, width, height, and number of bands.
static WritableRaster Raster.createInterleavedRaster(int dataType, int w, int h, int scanlineStride, int pixelStride, int[] bandOffsets, Point location)
          Creates a Raster based on a PixelInterleavedSampleModel with the specified data type, width, height, scanline stride, pixel stride, and band offsets.
static WritableRaster Raster.createBandedRaster(int dataType, int w, int h, int bands, Point location)
          Creates a Raster based on a BandedSampleModel with the specified data type, width, height, and number of bands.
static WritableRaster Raster.createBandedRaster(int dataType, int w, int h, int scanlineStride, int[] bankIndices, int[] bandOffsets, Point location)
          Creates a Raster based on a BandedSampleModel with the specified data type, width, height, scanline stride, bank indices and band offsets.
static WritableRaster Raster.createPackedRaster(int dataType, int w, int h, int[] bandMasks, Point location)
          Creates a Raster based on a SinglePixelPackedSampleModel with the specified data type, width, height, and band masks.
static WritableRaster Raster.createPackedRaster(int dataType, int w, int h, int bands, int bitsPerBand, Point location)
          Creates a Raster based on a packed SampleModel with the specified data type, width, height, number of bands, and bits per band.
static WritableRaster Raster.createInterleavedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int pixelStride, int[] bandOffsets, Point location)
          Creates a Raster based on a PixelInterleavedSampleModel with the specified DataBuffer, width, height, scanline stride, pixel stride, and band offsets.
static WritableRaster Raster.createBandedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int[] bankIndices, int[] bandOffsets, Point location)
          Creates a Raster based on a BandedSampleModel with the specified DataBuffer, width, height, scanline stride, bank indices, and band offsets.
static WritableRaster Raster.createPackedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int[] bandMasks, Point location)
          Creates a Raster based on a SinglePixelPackedSampleModel with the specified DataBuffer, width, height, scanline stride, and band masks.
static WritableRaster Raster.createPackedRaster(DataBuffer dataBuffer, int w, int h, int bitsPerPixel, Point location)
          Creates a Raster based on a MultiPixelPackedSampleModel with the specified DataBuffer, width, height, and bits per pixel.
static Raster Raster.createRaster(SampleModel sm, DataBuffer db, Point location)
          Creates a Raster with the specified SampleModel and DataBuffer.
static WritableRaster Raster.createWritableRaster(SampleModel sm, Point location)
          Creates a WritableRaster with the specified SampleModel.
static WritableRaster Raster.createWritableRaster(SampleModel sm, DataBuffer db, Point location)
          Creates a WritableRaster with the specified SampleModel and DataBuffer.
 

Constructors in java.awt.image with parameters of type Point
Raster.Raster(SampleModel sampleModel, Point origin)
          Constructs a Raster with the given SampleModel.
Raster.Raster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
          Constructs a Raster with the given SampleModel and DataBuffer.
Raster.Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point sampleModelTranslate, Raster parent)
          Constructs a Raster with the given SampleModel, DataBuffer, and parent.
WritableRaster.WritableRaster(SampleModel sampleModel, Point origin)
          Constructs a WritableRaster with the given SampleModel.
WritableRaster.WritableRaster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin)
          Constructs a WritableRaster with the given SampleModel and DataBuffer.
WritableRaster.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.accessibility
 

Methods in javax.accessibility that return Point
 Point AccessibleComponent.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point AccessibleComponent.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 

Methods in javax.accessibility with parameters of type Point
 int AccessibleText.getIndexAtPoint(Point p)
          Given a point in local coordinates, return the zero-based index of the character under that Point.
 boolean AccessibleComponent.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void AccessibleComponent.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible AccessibleComponent.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 

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
 Point JComponent.getToolTipLocation(MouseEvent event)
          Return the tooltip location in the receiving component coordinate system If null is returned, Swing will choose a location.
 Point JComponent.getLocation(Point rv)
          Store the x,y origin of this component into "return value" rv and return rv.
 Point JComponent.AccessibleJComponent.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point JComponent.AccessibleJComponent.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point JTree.AccessibleJTree.AccessibleJTreeNode.getLocationOnScreen()
           
protected  Point JTree.AccessibleJTree.AccessibleJTreeNode.getLocationInJTree()
           
 Point JTree.AccessibleJTree.AccessibleJTreeNode.getLocation()
           
 Point JApplet.AccessibleJApplet.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point JApplet.AccessibleJApplet.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point JViewport.getViewPosition()
          Returns the view coordinates that appear in the upper left hand corner of the viewport, 0,0 if there's no view.
 Point JViewport.toViewCoordinates(Point p)
          Convert a point in pixel coordinates to view coordinates.
static Point SwingUtilities.convertPoint(Component source, Point aPoint, Component destination)
          Convert a aPoint in source coordinate system to destination coordinate system.
static Point SwingUtilities.convertPoint(Component source, int x, int y, Component destination)
          Convert the point (x,y) in source coordinate system to destination coordinate system.
 Point JWindow.AccessibleJWindow.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point JWindow.AccessibleJWindow.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point Box.Filler.AccessibleBoxFiller.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point Box.Filler.AccessibleBoxFiller.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point Box.AccessibleBox.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point Box.AccessibleBox.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point JDialog.AccessibleJDialog.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point JDialog.AccessibleJDialog.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point CellRendererPane.AccessibleCellRendererPane.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point CellRendererPane.AccessibleCellRendererPane.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point JTable.AccessibleJTable.AccessibleJTableCell.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point JTable.AccessibleJTable.AccessibleJTableCell.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point JFrame.AccessibleJFrame.getLocationOnScreen()
          Returns the location of the object on the screen.
 Point JFrame.AccessibleJFrame.getLocation()
          Gets the location of the object relative to the parent in the form of a point specifying the object's top-left corner in the screen's coordinate space.
 Point JList.indexToLocation(int index)
          Returns the origin of the specified item in JList coordinates, null if index isn't valid.
 Point JList.AccessibleJList.AccessibleJListChild.getLocationOnScreen()
           
 Point JList.AccessibleJList.AccessibleJListChild.getLocation()
           
 

Methods in javax.swing with parameters of type Point
 Point JComponent.getLocation(Point rv)
          Store the x,y origin of this component into "return value" rv and return rv.
 boolean JComponent.AccessibleJComponent.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void JComponent.AccessibleJComponent.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible JComponent.AccessibleJComponent.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 Accessible JTree.AccessibleJTree.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 boolean JTree.AccessibleJTree.AccessibleJTreeNode.contains(Point p)
           
 void JTree.AccessibleJTree.AccessibleJTreeNode.setLocation(Point p)
           
 Accessible JTree.AccessibleJTree.AccessibleJTreeNode.getAccessibleAt(Point p)
           
 boolean JApplet.AccessibleJApplet.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void JApplet.AccessibleJApplet.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible JApplet.AccessibleJApplet.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 Component MenuSelectionManager.componentForPoint(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)
          Convert a point in pixel coordinates to view coordinates.
static Point SwingUtilities.convertPoint(Component source, Point aPoint, Component destination)
          Convert a aPoint in source coordinate system to destination coordinate system.
static void SwingUtilities.convertPointToScreen(Point p, Component c)
          Convert a point from a component's coordinate system to screen coordinates.
static void SwingUtilities.convertPointFromScreen(Point p, Component c)
          Convert a point from a screen coordinates to a component's coordinate system
static Accessible SwingUtilities.getAccessibleAt(Component c, Point p)
          Returns the Accessible child contained at the local coordinate Point, if one exists.
 boolean JWindow.AccessibleJWindow.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void JWindow.AccessibleJWindow.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible JWindow.AccessibleJWindow.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 boolean Box.Filler.AccessibleBoxFiller.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void Box.Filler.AccessibleBoxFiller.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible Box.Filler.AccessibleBoxFiller.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 boolean Box.AccessibleBox.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void Box.AccessibleBox.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible Box.AccessibleBox.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 Accessible JTabbedPane.AccessibleJTabbedPane.getAccessibleAt(Point p)
           
 boolean JDialog.AccessibleJDialog.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void JDialog.AccessibleJDialog.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible JDialog.AccessibleJDialog.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 boolean CellRendererPane.AccessibleCellRendererPane.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void CellRendererPane.AccessibleCellRendererPane.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible CellRendererPane.AccessibleCellRendererPane.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 int JTable.columnAtPoint(Point point)
          Returns the index of the column that point lies in, or -1 if it lies outside the receiver's bounds.
 int JTable.rowAtPoint(Point point)
          Returns the index of the row that point lies in, or -1 if is not in the range [0, getRowCount()-1].
 Accessible JTable.AccessibleJTable.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 boolean JTable.AccessibleJTable.AccessibleJTableCell.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void JTable.AccessibleJTable.AccessibleJTableCell.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible JTable.AccessibleJTable.AccessibleJTableCell.getAccessibleAt(Point p)
           
 boolean JFrame.AccessibleJFrame.contains(Point p)
          Checks whether the specified point is within this object's bounds, where the point's x and y coordinates are defined to be relative to the coordinate system of the object.
 void JFrame.AccessibleJFrame.setLocation(Point p)
          Sets the location of the object relative to the parent.
 Accessible JFrame.AccessibleJFrame.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 int JList.locationToIndex(Point location)
          Convert a point in JList coordinates to the index of the cell at that location.
 Accessible JList.AccessibleJList.getAccessibleAt(Point p)
          Returns the Accessible child contained at the local coordinate Point, if one exists.
 boolean JList.AccessibleJList.AccessibleJListChild.contains(Point p)
           
 void JList.AccessibleJList.AccessibleJListChild.setLocation(Point p)
           
 Accessible JList.AccessibleJList.AccessibleJListChild.getAccessibleAt(Point p)
           
 

Uses of Point in javax.swing.plaf
 

Methods in javax.swing.plaf that return Point
abstract  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.swing.plaf with parameters of type Point
abstract  int TextUI.viewToModel(JTextComponent t, Point pt)
          Converts the given place in the view coordinate system to the nearest representative location in the model.
abstract  int TextUI.viewToModel(JTextComponent t, Point pt, Position.Bias[] biasReturn)
          Provides a mapping from the view coordinate space to the logical coordinate space of the model.
abstract  int ListUI.locationToIndex(JList list, Point location)
          Convert a point in JList coordinates to the index of the cell at that location.
 

Uses of Point in javax.swing.plaf.basic
 

Fields in javax.swing.plaf.basic declared as Point
protected  Point BasicToolBarUI.DockingListener.origin
           
 

Methods in javax.swing.plaf.basic that return Point
 Point BasicListUI.indexToLocation(JList list, int index)
           
 Point BasicToolBarUI.DragWindow.getOffset()
           
protected  Point BasicProgressBarUI.getStringPlacement(Graphics g, String progressString, int x, int y, int width, int height)
          Designate the place where the progress string will be drawn.
 

Methods in javax.swing.plaf.basic with parameters of type Point
 int BasicTextUI.viewToModel(JTextComponent tc, Point pt)
          Converts the given place in the view coordinate system to the nearest representative location in the model.
 int BasicTextUI.viewToModel(JTextComponent tc, Point pt, Position.Bias[] biasReturn)
          Converts the given place in the view coordinate system to the nearest representative location in the model.
 int BasicListUI.locationToIndex(JList list, Point location)
           
 void BasicToolBarUI.setFloating(boolean b, Point p)
           
 boolean BasicToolBarUI.canDock(Component c, Point p)
           
protected  void BasicToolBarUI.dragTo(Point position, Point origin)
           
protected  void BasicToolBarUI.floatAt(Point position, Point origin)
           
 void BasicToolBarUI.DragWindow.setOffset(Point p)
           
 

Uses of Point in javax.swing.plaf.metal
 

Methods in javax.swing.plaf.metal with parameters of type Point
protected  void MetalToolBarUI.setDragOffset(Point p)
           
 

Uses of Point in javax.swing.plaf.multi
 

Methods in javax.swing.plaf.multi that return Point
 Point MultiListUI.indexToLocation(JList a, int b)
          Call indexToLocation on each UI handled by this MultiUI.
 

Methods in javax.swing.plaf.multi with parameters of type Point
 int MultiTextUI.viewToModel(JTextComponent a, Point b)
          Call viewToModel on each UI handled by this MultiUI.
 int MultiTextUI.viewToModel(JTextComponent t, Point pt, Position.Bias[] biasReturn)
          Provides a mapping from the view coordinate space to the logical coordinate space of the model.
 int MultiListUI.locationToIndex(JList a, Point b)
          Call locationToIndex on each UI handled by this MultiUI.
 

Uses of Point in javax.swing.table
 

Methods in javax.swing.table that return Point
 Point JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getLocationOnScreen()
           
 Point JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getLocation()
           
 

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 outside the receiver's bounds.
 Accessible JTableHeader.AccessibleJTableHeader.getAccessibleAt(Point p)
          Returns the Accessible child, if one exists, contained at the local coordinate Point.
 boolean JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.contains(Point p)
           
 void JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setLocation(Point p)
           
 Accessible JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getAccessibleAt(Point p)
           
 

Uses of Point in javax.swing.text
 

Methods in javax.swing.text that return Point
 Point Caret.getMagicCaretPosition()
          Gets the current caret position.
 Point DefaultCaret.getMagicCaretPosition()
          Gets the saved caret position.
 

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.
 int JTextComponent.AccessibleJTextComponent.getIndexAtPoint(Point p)
          Given a point in local coordinates, return the zero-based index of the character under that Point.
 void Caret.setMagicCaretPosition(Point p)
          Saves the current caret position.
 void DefaultCaret.setMagicCaretPosition(Point p)
          Saves the current caret position.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.