|
||||||||||
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.swt.graphics | SWT graphics classes. |
org.eclipse.swt.layout | This package contains the SWT layout classes. |
org.eclipse.swt.widgets | Optional Expanded eSWT Widgets |
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.swt.graphics |
Methods in org.eclipse.swt.graphics that return Point | |
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. |
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 |
Tree.computeSize(int wHint,
int hHint,
boolean changed)
|
Point |
Table.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 |
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 |
ProgressBar.computeSize(int wHint,
int hHint,
boolean changed)
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |