Eclipse eRCP
Release 1.1

Uses of Class
org.eclipse.swt.graphics.Point

Packages that use Point
org.eclipse.ercp.swt.mobile This package contains classes which are suitable for mobile devices.  
org.eclipse.jface.preference Provides a framework for preferences.  
org.eclipse.jface.resource Provides support for managing resources such as SWT fonts and images.  
org.eclipse.jface.util Provides useful building blocks used throughout JFace, including property change events, a listener list implementation, and runtime checked assertions.  
org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets.  
org.eclipse.swt.graphics SWT graphics classes.  
org.eclipse.swt.layout This package contains the SWT layout classes.  
org.eclipse.swt.widgets Optional Expanded eSWT Widgets This package includes widgets which are in the Expanded portion of eSWT.  
org.eclipse.ui.application Application-level APIs for configuring and controling the Eclipse Platform User Interface.  
org.eclipse.ui.presentations   
 

Uses of Point in org.eclipse.ercp.swt.mobile
 

Methods in org.eclipse.ercp.swt.mobile that return Point
 Point ListView.getIconSize(int style)
          Gets the preferred icon size that matches the density style.
 

Uses of Point in org.eclipse.jface.preference
 

Fields in org.eclipse.jface.preference declared as Point
static Point PreferenceConverter.POINT_DEFAULT_DEFAULT
          The default-default value for point preferences (the origin, (0,0)).
 

Methods in org.eclipse.jface.preference that return Point
 Point PreferencePage.computeSize()
           
static Point PreferenceConverter.getDefaultPoint(IPreferenceStore store, String name)
          Returns the default value for the point-valued preference with the given name in the given preference store.
static Point PreferenceConverter.getPoint(IPreferenceStore store, String name)
          Returns the current value of the point-valued preference with the given name in the given preference store.
 Point IPreferencePage.computeSize()
          Computes a size for this page's UI component.
 

Methods in org.eclipse.jface.preference with parameters of type Point
 void PreferencePage.setSize(Point uiSize)
           
static void PreferenceConverter.setDefault(IPreferenceStore store, String name, Point value)
          Sets the default value of the preference with the given name in the given preference store.
static void PreferenceConverter.setValue(IPreferenceStore store, String name, Point value)
          Sets the current value of the preference with the given name in the given preference store.
 void IPreferencePage.setSize(Point size)
          Sets the size of this page's UI component.
 

Uses of Point in org.eclipse.jface.resource
 

Methods in org.eclipse.jface.resource that return Point
static Point StringConverter.asPoint(String value)
          Converts the given value into an SWT point.
static Point StringConverter.asPoint(String value, Point dflt)
          Converts the given value into an SWT point.
protected abstract  Point CompositeImageDescriptor.getSize()
          Return the size of this composite image.
 

Methods in org.eclipse.jface.resource with parameters of type Point
static Point StringConverter.asPoint(String value, Point dflt)
          Converts the given value into an SWT point.
static String StringConverter.asString(Point value)
          Converts the given SWT point object to a string.
 

Uses of Point in org.eclipse.jface.util
 

Methods in org.eclipse.jface.util that return Point
static Point Geometry.min(Point p1, Point p2)
          Returns a new point whose coordinates are the minimum of the coordinates of the given points
static Point Geometry.max(Point p1, Point p2)
          Returns a new point whose coordinates are the maximum of the coordinates of the given points
static Point Geometry.getDirectionVector(int distance, int direction)
          Returns a vector in the given direction with the given magnitude.
static Point Geometry.centerPoint(Rectangle rect)
          Returns the point in the center of the given rectangle.
static Point Geometry.copy(Point toCopy)
          Returns a copy of the given point
static Point Geometry.add(Point point1, Point point2)
          Adds two points as 2d vectors.
static Point Geometry.divide(Point toDivide, int scalar)
          Divides both coordinates of the given point by the given scalar.
static Point Geometry.subtract(Point point1, Point point2)
          Performs vector subtraction on two points.
static Point Geometry.getSize(Rectangle rectangle)
          Returns the size of the rectangle, as a Point
static Point Geometry.getLocation(Rectangle toQuery)
          Returns the x,y position of the given rectangle.
 

Methods in org.eclipse.jface.util with parameters of type Point
static int Geometry.distanceSquared(Point p1, Point p2)
          Returns the square of the distance between two points.
static double Geometry.magnitude(Point p)
          Returns the magnitude of the given 2d vector (represented as a Point)
static int Geometry.magnitudeSquared(Point p)
          Returns the square of the magnitude of the given 2-space vector (represented using a point)
static int Geometry.dotProduct(Point p1, Point p2)
          Returns the dot product of the given vectors (expressed as Points)
static Point Geometry.min(Point p1, Point p2)
          Returns a new point whose coordinates are the minimum of the coordinates of the given points
static Point Geometry.max(Point p1, Point p2)
          Returns a new point whose coordinates are the maximum of the coordinates of the given points
static Point Geometry.copy(Point toCopy)
          Returns a copy of the given point
static void Geometry.set(Point result, Point toCopy)
          Sets result equal to toCopy
static Point Geometry.add(Point point1, Point point2)
          Adds two points as 2d vectors.
static Point Geometry.divide(Point toDivide, int scalar)
          Divides both coordinates of the given point by the given scalar.
static Point Geometry.subtract(Point point1, Point point2)
          Performs vector subtraction on two points.
static void Geometry.flipXY(Point toFlip)
          Swaps the X and Y coordinates of the given point.
static int Geometry.getCoordinate(Point toMeasure, boolean width)
          Returns the x or y coordinates of the given point.
static void Geometry.setCoordinate(Point toSet, boolean width, int newCoordinate)
          Sets one coordinate of the given point.
static int Geometry.getDistanceFromEdge(Rectangle rectangle, Point testPoint, int edgeOfInterest)
          Returns the distance of the given point from a particular side of the given rectangle.
static void Geometry.moveRectangle(Rectangle rect, Point delta)
          Moves the given rectangle by the given delta.
static int Geometry.getRelativePosition(Rectangle boundary, Point toTest)
          Determines where the given point lies with respect to the given rectangle.
static int Geometry.getDistanceFrom(Rectangle boundary, Point toTest)
          Returns the distance from the point to the nearest edge of the given rectangle.
static int Geometry.getClosestSide(Rectangle boundary, Point toTest)
          Returns the edge of the given rectangle is closest to the given point.
static void Geometry.setSize(Rectangle rectangle, Point newSize)
          Sets the size of the given rectangle to the given size
static void Geometry.setLocation(Rectangle rectangle, Point newSize)
          Sets the x,y position of the given rectangle.
static Rectangle Geometry.createRectangle(Point position, Point size)
          Returns a new rectangle with the given position and dimensions, expressed as points.
 

Uses of Point in org.eclipse.jface.viewers
 

Methods in org.eclipse.jface.viewers that return Point
 Point TableLayout.computeSize(Composite c, int wHint, int hHint, boolean flush)
           
 

Uses of Point in org.eclipse.swt.graphics
 

Methods in org.eclipse.swt.graphics that return Point
 Point GC.stringExtent(String string)
          Returns the extent of the given string.
 Point GC.textExtent(String string)
          Returns the extent of the given string.
 Point GC.textExtent(String string, int flags)
          Returns the extent of the given string.
 Point Device.getDPI()
          Returns a point whose x coordinate is the horizontal dots per inch of the display, and whose y coordinate is the vertical dots per inch of the display.
 

Methods in org.eclipse.swt.graphics with parameters of type Point
 boolean Rectangle.contains(Point pt)
          Returns true if the given point is inside the area specified by the receiver, and false otherwise.
 

Uses of Point in org.eclipse.swt.layout
 

Methods in org.eclipse.swt.layout that return Point
protected  Point RowLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
           
protected  Point GridLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
           
protected  Point FillLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
           
protected  Point FormLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
           
 

Constructors in org.eclipse.swt.layout with parameters of type Point
RowData(Point point)
          Constructs a new instance of RowData according to the parameter.
 

Uses of Point in org.eclipse.swt.widgets
 

Methods in org.eclipse.swt.widgets that return Point
 Point Text.getCaretLocation()
          Returns a point describing the receiver's location relative to its parent (or its display if its parent is null).
 Point Text.getSelection()
          Returns a Point whose x coordinate is the character position representing the start of the selected text, and whose y coordinate is the character position representing the end of the selection.
 Point ScrollBar.getSize()
          Returns a point describing the receiver's size.
 Point Display.map(Control from, Control to, Point point)
          Maps a point from one coordinate system to another.
 Point Display.map(Control from, Control to, int x, int y)
          Maps a point from one coordinate system to another.
 Point Control.computeSize(int wHint, int hHint)
          Returns the preferred size of the receiver.
 Point Control.computeSize(int wHint, int hHint, boolean changed)
          Returns the preferred size of the receiver.
 Point Control.getLocation()
          Returns a point describing the receiver's location relative to its parent (or its display if its parent is null), unless the receiver is a shell.
 Point Control.getSize()
          Returns a point describing the receiver's size.
 Point Control.toControl(int x, int y)
          Returns a point which is the result of converting the argument, which is specified in display relative coordinates, to coordinates relative to the receiver.
 Point Control.toControl(Point point)
          Returns a point which is the result of converting the argument, which is specified in display relative coordinates, to coordinates relative to the receiver.
 Point Control.toDisplay(int x, int y)
          Returns a point which is the result of converting the argument, which is specified in coordinates relative to the receiver, to display relative coordinates.
 Point Control.toDisplay(Point point)
          Returns a point which is the result of converting the argument, which is specified in coordinates relative to the receiver, to display relative coordinates.
 Point Combo.getSelection()
          Returns a Point whose x coordinate is the character position representing the start of the selection in the receiver's text field, and whose y coordinate is the character position representing the end of the selection.
protected abstract  Point Layout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
          Computes and returns the size of the specified composite's client area according to this layout.
 

Methods in org.eclipse.swt.widgets with parameters of type Point
 TreeItem Tree.getItem(Point point)
          Returns the item at the given point in the receiver or null if no such item exists.
 TableItem Table.getItem(Point point)
          Returns the item at the given point in the receiver or null if no such item exists.
 void Text.setSelection(Point selection)
          Sets the selection to the range specified by the given point, where the x coordinate represents the start index and the y coordinate represents the end index.
 void Menu.setLocation(Point location)
          Sets the location of the receiver, which must be a popup, to the point specified by the argument which is relative to the display.
 Point Display.map(Control from, Control to, Point point)
          Maps a point from one coordinate system to another.
 void Control.setLocation(Point location)
          Sets the receiver's location to the point specified by the arguments which are relative to the receiver's parent (or its display if its parent is null), unless the receiver is a shell.
 void Control.setSize(Point size)
          Sets the receiver's size to the point specified by the argument.
 Point Control.toControl(Point point)
          Returns a point which is the result of converting the argument, which is specified in display relative coordinates, to coordinates relative to the receiver.
 Point Control.toDisplay(Point point)
          Returns a point which is the result of converting the argument, which is specified in coordinates relative to the receiver, to display relative coordinates.
 void Combo.setSelection(Point selection)
          Sets the selection in the receiver's text field to the range specified by the argument whose x coordinate is the start of the selection and whose y coordinate is the end of the selection.
 

Uses of Point in org.eclipse.ui.application
 

Methods in org.eclipse.ui.application that return Point
 Point IWorkbenchWindowConfigurer.getInitialSize()
          Returns the size to use for the org.eclipse.jface.window's shell when it is created.
 

Methods in org.eclipse.ui.application with parameters of type Point
 void IWorkbenchWindowConfigurer.setInitialSize(Point initialSize)
          Sets the size to use for the org.eclipse.jface.window's shell when it is created.
 

Uses of Point in org.eclipse.ui.presentations
 

Methods in org.eclipse.ui.presentations that return Point
 Point StackPresentation.computeMinimumSize()
          Deprecated. replaced by computePreferredSize
 

Methods in org.eclipse.ui.presentations with parameters of type Point
 void IStackPresentationSite.dragStart(IPresentablePart beingDragged, Point initialPosition, boolean keyboard)
          Begins dragging the given part
 void IStackPresentationSite.dragStart(Point initialPosition, boolean keyboard)
          Begins dragging the entire stack of parts
 


Eclipse eRCP
Release 1.1