Uses of Class
org.eclipse.swt.graphics.Point
Package
Description
-
Uses of Point in org.eclipse.nebula.jface.gridviewer
-
Uses of Point in org.eclipse.nebula.widgets.grid
Modifier and TypeMethodDescriptionGrid.computeSize
(int wHint, int hHint, boolean changed) Returns the preferred size of the receiver.Returns the cell at the given point in the receiver or null if no such cell exists.Point[]
Grid.getCellSelection()
Returns an array of cells that are currently selected in the receiver.protected Point
GridItem.getCellSize
(int index) Grid.getFocusCell()
Returns the current cell in focus.Modifier and TypeMethodDescriptionvoid
Grid.deselectCell
(Point cell) Deselects the given cell in the receiver.void
Grid.deselectCells
(Point[] cells) Deselects the given cells.Returns the cell at the given point in the receiver or null if no such cell exists.Returns the column at the given point in the receiver or null if no such column exists.Returns the item at the given point in the receiver or null if no such item exists.boolean
Grid.isCellSelected
(Point cell) Returns true if the given cell is selected.void
Grid.selectCell
(Point cell) Selects the given cell.void
Grid.selectCells
(Point[] cells) Selects the given cells.void
Grid.setCellSelection
(Point cell) Selects the selection to the given cell.void
Grid.setCellSelection
(Point[] cells) Selects the selection to the given set of cell. -
Uses of Point in org.eclipse.rap.rwt.remote
Modifier and TypeMethodDescriptionstatic Point
Returns an instance of Point for the given JSON representation. -
Uses of Point in org.eclipse.rap.rwt.widgets
-
Uses of Point in org.eclipse.swt.custom
Modifier and TypeMethodDescriptionCCombo.computeSize
(int wHint, int hHint, boolean changed) CLabel.computeSize
(int wHint, int hHint, boolean changed) protected Point
StackLayout.computeSize
(Composite composite, int wHint, int hHint, boolean flushCache) ScrolledComposite.getOrigin()
Return the point in the content that currently appears in the top left corner of the scrolled composite.CBanner.getRightMinimumSize()
Returns the minimum size of the control that appears on the right of the banner.CCombo.getSelection()
Returns aPoint
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 TypeMethodDescriptionGets 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
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. -
Uses of Point in org.eclipse.swt.graphics
Modifier and TypeMethodDescriptionDevice.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.GC.stringExtent
(String string) Returns the extent of the given string.GC.textExtent
(String string) Returns the extent of the given string. -
Uses of Point in org.eclipse.swt.layout
Modifier and TypeMethodDescriptionprotected 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) -
Uses of Point in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionButton.computeSize
(int wHint, int hHint, boolean changed) Combo.computeSize
(int wHint, int hHint, boolean changed) Composite.computeSize
(int wHint, int hHint, boolean changed) Control.computeSize
(int wHint, int hHint) Returns the preferred size of the receiver.Control.computeSize
(int wHint, int hHint, boolean changed) Returns the preferred size of the receiver.CoolBar.computeSize
(int wHint, int hHint, boolean changed) CoolItem.computeSize
(int wHint, int hHint) Returns the preferred size of the receiver.DateTime.computeSize
(int wHint, int hHint, boolean changed) ExpandBar.computeSize
(int wHint, int hHint, boolean changed) Group.computeSize
(int wHint, int hHint, boolean changed) Label.computeSize
(int wHint, int hHint, boolean changed) 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.Link.computeSize
(int wHint, int hHint, boolean changed) List.computeSize
(int wHint, int hHint, boolean changed) ProgressBar.computeSize
(int wHint, int hHint, boolean changed) Sash.computeSize
(int wHint, int hHint, boolean changed) Scale.computeSize
(int wHint, int hHint, boolean changed) Slider.computeSize
(int wHint, int hHint, boolean changed) Spinner.computeSize
(int wHint, int hHint, boolean changed) TabFolder.computeSize
(int wHint, int hHint, boolean changed) Table.computeSize
(int wHint, int hHint, boolean changed) Text.computeSize
(int wHint, int hHint, boolean changed) ToolBar.computeSize
(int wHint, int hHint, boolean changed) Tree.computeSize
(int wHint, int hHint, boolean changed) Display.getCursorLocation()
Returns the location of the on-screen pointer relative to the top left corner of the screen.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.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.CoolItem.getMinimumSize()
Returns the minimum size that the cool item can be resized to using the cool item's gripper.Shell.getMinimumSize()
Returns a point describing the minimum receiver's size.CoolItem.getPreferredSize()
Returns a point describing the receiver's ideal size.Combo.getSelection()
Returns aPoint
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.Text.getSelection()
Returns aPoint
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.Control.getSize()
Returns a point describing the receiver's size.CoolItem.getSize()
Returns a point describing the receiver's size.ScrollBar.getSize()
Returns a point describing the receiver's size.Maps a point from one coordinate system to another.Maps a point from one coordinate system to another.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.Returns a point which is the result of converting the argument, which is specified in display relative coordinates, to coordinates relative to the receiver.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.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 TypeMethodDescriptionReturns the tab item at the given point in the receiver or null if no such item exists.Returns the item at the given point in the receiver or null if no such item exists.Returns the item at the given point in the receiver or null if no such item exists.Returns the item at the given point in the receiver or null if no such item exists.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
Sets the receiver's size to the point specified by the argument.void
Sets the receiver's size to the point specified by the argument.Returns a point which is the result of converting the argument, which is specified in display relative coordinates, to coordinates relative to the receiver.Returns a point which is the result of converting the argument, which is specified in coordinates relative to the receiver, to display relative coordinates.