|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | SWT widget public API classes. |
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 |
SortedList.computeSize(int wHint,
int hHint,
boolean changed)
Returns the prefered size of the receiver. |
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()
|
Point |
IPreferencePage.computeSize()
Computes a size for this page's UI component. |
static Point |
PreferenceConverter.getDefaultPoint(IPreferenceStore store,
java.lang.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,
java.lang.String name)
Returns the current value of the point-valued preference with the given name in the given preference store. |
Methods in org.eclipse.jface.preference with parameters of type Point | |
---|---|
static void |
PreferenceConverter.setDefault(IPreferenceStore store,
java.lang.String name,
Point value)
Sets the default value of the preference with the given name in the given preference store. |
void |
PreferencePage.setSize(Point uiSize)
|
void |
IPreferencePage.setSize(Point size)
Sets the size of this page's UI component. |
static void |
PreferenceConverter.setValue(IPreferenceStore store,
java.lang.String name,
Point value)
Sets the current value of the preference with the given name in the given preference store. |
Uses of Point in org.eclipse.jface.resource |
---|
Methods in org.eclipse.jface.resource that return Point | |
---|---|
static Point |
StringConverter.asPoint(java.lang.String value)
Converts the given value into an SWT point. |
static Point |
StringConverter.asPoint(java.lang.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(java.lang.String value,
Point dflt)
Converts the given value into an SWT point. |
static java.lang.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.add(Point point1,
Point point2)
Adds two points as 2d vectors. |
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.divide(Point toDivide,
int scalar)
Divides both coordinates of the given point by the given scalar. |
static Point |
Geometry.getDirectionVector(int distance,
int direction)
Returns a vector in the given direction with the given magnitude. |
static Point |
Geometry.getLocation(Rectangle toQuery)
Returns the x,y position of the given rectangle. |
static Point |
Geometry.getSize(Rectangle rectangle)
Returns the size of the rectangle, as a Point |
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.min(Point p1,
Point p2)
Returns a new point whose coordinates are the minimum of the coordinates of the given points |
static Point |
Geometry.subtract(Point point1,
Point point2)
Performs vector subtraction on two points. |
Methods in org.eclipse.jface.util with parameters of type Point | |
---|---|
static Point |
Geometry.add(Point point1,
Point point2)
Adds two points as 2d vectors. |
static Point |
Geometry.copy(Point toCopy)
Returns a copy of the given point |
static Rectangle |
Geometry.createRectangle(Point position,
Point size)
Returns a new rectangle with the given position and dimensions, expressed as points. |
static int |
Geometry.distanceSquared(Point p1,
Point p2)
Returns the square of the distance between two points. |
static Point |
Geometry.divide(Point toDivide,
int scalar)
Divides both coordinates of the given point by the given scalar. |
static int |
Geometry.dotProduct(Point p1,
Point p2)
Returns the dot product of the given vectors (expressed as Points) |
static void |
Geometry.flipXY(Point toFlip)
Swaps the X and Y coordinates of the given point. |
static int |
Geometry.getClosestSide(Rectangle boundary,
Point toTest)
Returns the edge of the given rectangle is closest to the given point. |
static int |
Geometry.getCoordinate(Point toMeasure,
boolean width)
Returns the x or y coordinates of the given point. |
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.getDistanceFromEdge(Rectangle rectangle,
Point testPoint,
int edgeOfInterest)
Returns the distance of the given point from a particular side of the given rectangle. |
static int |
Geometry.getRelativePosition(Rectangle boundary,
Point toTest)
Determines where the given point lies with respect to the given rectangle. |
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 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.min(Point p1,
Point p2)
Returns a new point whose coordinates are the minimum of the coordinates of the given points |
static void |
Geometry.moveRectangle(Rectangle rect,
Point delta)
Moves the given rectangle by the given delta. |
static void |
Geometry.set(Point result,
Point toCopy)
Sets result equal to toCopy |
static void |
Geometry.setCoordinate(Point toSet,
boolean width,
int newCoordinate)
Sets one coordinate of the given point. |
static void |
Geometry.setLocation(Rectangle rectangle,
Point newSize)
Sets the x,y position of the given rectangle. |
static void |
Geometry.setSize(Rectangle rectangle,
Point newSize)
Sets the size of the given rectangle to the given size |
static Point |
Geometry.subtract(Point point1,
Point point2)
Performs vector subtraction on two 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 |
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. |
Point |
GC.stringExtent(java.lang.String string)
Returns the extent of the given string. |
Point |
GC.textExtent(java.lang.String string)
Returns the extent of the given string. |
Point |
GC.textExtent(java.lang.String string,
int flags)
Returns the extent of the given string. |
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 |
FillLayout.computeSize(Composite composite,
int wHint,
int hHint,
boolean flushCache)
|
protected Point |
FormLayout.computeSize(Composite composite,
int wHint,
int hHint,
boolean flushCache)
|
protected Point |
GridLayout.computeSize(Composite composite,
int wHint,
int hHint,
boolean flushCache)
|
protected Point |
RowLayout.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 | |
---|---|
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. |
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 |
ProgressBar.computeSize(int wHint,
int hHint,
boolean changed)
|
Point |
Table.computeSize(int wHint,
int hHint,
boolean changed)
|
Point |
Tree.computeSize(int wHint,
int hHint,
boolean changed)
|
Point |
Text.getCaretLocation()
Returns a point describing the receiver's location relative to its parent (or its display if its parent is null). |
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 |
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. |
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 |
Control.getSize()
Returns a point describing the receiver's size. |
Point |
ScrollBar.getSize()
Returns a point describing the receiver's size. |
Point |
Display.map(Control from,
Control to,
int x,
int y)
Maps a point from one coordinate system to another. |
Point |
Display.map(Control from,
Control to,
Point point)
Maps a point from one coordinate system to another. |
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. |
Methods in org.eclipse.swt.widgets with parameters of type Point | |
---|---|
TableItem |
Table.getItem(Point point)
Returns the item at the given point in the receiver or null if no such item exists. |
TreeItem |
Tree.getItem(Point point)
Returns the item at the given point in the receiver or null if no such item exists. |
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 |
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. |
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. |
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 |
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. |
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 |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |