Modifier and Type | Method and Description |
---|---|
protected Item |
GridTableViewer.getItemAt(Point point) |
protected Item |
GridTreeViewer.getItemAt(Point point) |
Modifier and Type | Method and Description |
---|---|
Point |
Grid.computeSize(int wHint,
int hHint,
boolean changed)
Returns the preferred size of the receiver.
|
protected Point |
GridItem.getCellSize(int index) |
Modifier and Type | Method and Description |
---|---|
GridItem |
Grid.getItem(Point point)
Returns the item at the given point in the receiver or null if no such
item exists.
|
Modifier and Type | Method and Description |
---|---|
static Point |
JsonMapping.readPoint(JsonValue value)
Returns an instance of Point for the given JSON representation.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonMapping.toJson(Point point)
Returns the JSON representation for the given Point.
|
Modifier and Type | Method and Description |
---|---|
Point |
FileUpload.computeSize(int wHint,
int hHint,
boolean changed) |
Modifier and Type | Method and Description |
---|---|
protected Point |
StackLayout.computeSize(Composite composite,
int wHint,
int hHint,
boolean flushCache) |
Point |
CCombo.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
CLabel.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
ScrolledComposite.getOrigin()
Return the point in the content that currently appears in the top left
corner of the scrolled composite.
|
Point |
CBanner.getRightMinimumSize()
Returns the minimum size of the control that appears on the right of the
banner.
|
Point |
CCombo.getSelection()
Returns a
Point whose x coordinate is the start
of the selection in the receiver's text field, and whose y
coordinate is the end of the selection. |
Modifier and Type | Method and Description |
---|---|
CTabItem |
CTabFolder.getItem(Point pt)
Gets the item at a point in the widget.
|
void |
ScrolledComposite.setMinSize(Point size)
Specify the minimum width and height at which the ScrolledComposite will begin scrolling the
content with the horizontal scroll bar.
|
void |
ScrolledComposite.setOrigin(Point origin)
Scrolls the content so that the specified point in the content is in the top
left corner.
|
void |
CBanner.setRightMinimumSize(Point size)
Set the minimum height of the control that appears on the right side of the
banner.
|
void |
CCombo.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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Rectangle.contains(Point pt)
Returns
true if the given point is inside the
area specified by the receiver, and false
otherwise. |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
RowData(Point point)
Constructs a new instance of RowData according to the parameter.
|
Modifier and Type | Method and Description |
---|---|
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 |
CoolItem.computeSize(int wHint,
int hHint)
Returns the preferred size of the receiver.
|
Point |
Button.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Combo.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Composite.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Control.computeSize(int wHint,
int hHint,
boolean changed)
Returns the preferred size of the receiver.
|
Point |
CoolBar.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
DateTime.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
ExpandBar.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Group.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Label.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Link.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
List.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
ProgressBar.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Sash.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Scale.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Slider.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Spinner.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
TabFolder.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Table.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Text.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
ToolBar.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Tree.computeSize(int wHint,
int hHint,
boolean changed) |
Point |
Display.getCursorLocation()
Returns the location of the on-screen pointer relative
to the top left corner of the screen.
|
Point |
Display.getDPI() |
Point[] |
CoolBar.getItemSizes()
Returns an array of points whose x and y coordinates describe the widths
and heights (respectively) of the items in the receiver in the order in
which they are currently being displayed.
|
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 |
CoolItem.getMinimumSize()
Returns the minimum size that the cool item can be resized to using the
cool item's gripper.
|
Point |
Shell.getMinimumSize()
Returns a point describing the minimum receiver's size.
|
Point |
CoolItem.getPreferredSize()
Returns a point describing the receiver's ideal size.
|
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 |
CoolItem.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.
|
Modifier and Type | Method and Description |
---|---|
TabItem |
TabFolder.getItem(Point point)
Returns the tab 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.
|
ToolItem |
ToolBar.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 |
CoolBar.setItemLayout(int[] itemOrder,
int[] wrapIndices,
Point[] sizes)
Sets the receiver's item order, wrap indices, and item sizes all at once.
|
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 |
ToolTip.setLocation(Point location)
Sets the location of the receiver, which must be a tooltip,
to the point specified by the argument which is relative
to the display.
|
void |
CoolItem.setMinimumSize(Point size)
Sets the minimum size that the cool item can be resized to using the cool
item's gripper, to the point specified by the argument.
|
void |
Shell.setMinimumSize(Point size)
Sets the receiver's minimum size to the size specified by the argument.
|
void |
CoolItem.setPreferredSize(Point size)
Sets the receiver's ideal size to the point specified by the argument.
|
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.
|
void |
CoolItem.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.
|
Copyright (c) EclipseSource and others 2002, 2015.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0