Uses of Class
org.eclipse.swt.graphics.Point
Packages that use Point
Package
Description
-
Uses of Point in org.eclipse.swt.browser
Fields in org.eclipse.swt.browser declared as Point -
Uses of Point in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return PointModifier and TypeMethodDescriptionAnimatedProgress.computeSize(int wHint, int hHint, boolean changed) Deprecated.CCombo.computeSize(int wHint, int hHint, boolean changed) CLabel.computeSize(int wHint, int hHint, boolean changed) protected PointCTabFolderRenderer.computeSize(int part, int state, GC gc, int wHint, int hHint) Returns the preferred size of a part.protected PointStackLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache) StyledText.computeSize(int wHint, int hHint, boolean changed) StyledText.getLocationAtOffset(int offset) Returns the x, y location of the upper left corner of the character bounding box at the specified offset in the text.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 aPointwhose x coordinate is the start of the selection in the receiver's text field, and whose y coordinate is the end of the selection.StyledText.getSelection()Returns the selection.StyledText.getSelectionRange()Returns the selection.Methods in org.eclipse.swt.custom with parameters of type PointModifier and TypeMethodDescriptionGets the item at a point in the widget.intStyledText.getOffsetAtLocation(Point point) Deprecated.intStyledText.getOffsetAtPoint(Point point) Returns the offset of the character at the given point relative to the first character in the document.voidScrolledComposite.setMinSize(Point size) Specify the minimum width and height at which the ScrolledComposite will begin scrolling the content with the horizontal scroll bar.voidScrolls the content so that the specified point in the content is in the top left corner.voidCBanner.setRightMinimumSize(Point size) Set the minimum height of the control that appears on the right side of the banner.voidCCombo.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.voidStyledText.setSelection(Point point) Sets the selection and scrolls it into view. -
Uses of Point in org.eclipse.swt.graphics
Methods in org.eclipse.swt.graphics that return PointModifier and TypeMethodDescriptionDevice.getDPI()Returns a point whose x coordinate is the logical horizontal dots per inch of the display, and whose y coordinate is the logical vertical dots per inch of the display.TextLayout.getLocation(int offset, boolean trailing) Returns the location for the specified character offset.GC.stringExtent(String string) Returns the extent of the given string.GC.textExtent(String string) Returns the extent of the given string.GC.textExtent(String string, int flags) Returns the extent of the given string.Methods in org.eclipse.swt.graphics with parameters of type PointModifier and TypeMethodDescriptionbooleanReturnstrueif the given point is inside the area specified by the receiver, andfalseotherwise.booleanReturnstrueif the given point is inside the area specified by the receiver, andfalseotherwise.intReturns the character offset for the specified point.voidTranslate all of the polygons the receiver maintains to describe its area by the specified point. -
Uses of Point in org.eclipse.swt.internal
Methods in org.eclipse.swt.internal that return PointModifier and TypeMethodDescriptionstatic PointDPIUtil.autoScaleDown(Drawable drawable, Point point) Returns a new scaled down Point if enabled for Drawable class.static PointDPIUtil.autoScaleDown(Point point) Returns a new scaled down Point.static PointDPIUtil.autoScaleUp(Drawable drawable, Point point) Returns a new scaled up Point if enabled for Drawable class.static PointDPIUtil.autoScaleUp(Point point) Returns a new scaled up Point.Methods in org.eclipse.swt.internal with parameters of type PointModifier and TypeMethodDescriptionstatic PointDPIUtil.autoScaleDown(Drawable drawable, Point point) Returns a new scaled down Point if enabled for Drawable class.static PointDPIUtil.autoScaleDown(Point point) Returns a new scaled down Point.static PointDPIUtil.autoScaleUp(Drawable drawable, Point point) Returns a new scaled up Point if enabled for Drawable class.static PointDPIUtil.autoScaleUp(Point point) Returns a new scaled up Point. -
Uses of Point in org.eclipse.swt.layout
Methods in org.eclipse.swt.layout that return PointModifier and TypeMethodDescriptionprotected PointBorderLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache) protected PointFillLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache) protected PointFormLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache) protected PointGridLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache) protected PointRowLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache) Constructors in org.eclipse.swt.layout with parameters of type Point -
Uses of Point in org.eclipse.swt.printing
Methods in org.eclipse.swt.printing that return Point -
Uses of Point in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets that return PointModifier and TypeMethodDescriptionControl.computeSize(int wHint, int hHint) Returns the preferred size (in points) of the receiver.Control.computeSize(int wHint, int hHint, boolean changed) Returns the preferred size (in points) of the receiver.CoolBar.computeSize(int wHint, int hHint, boolean changed) CoolItem.computeSize(int wHint, int hHint) Returns the preferred size of the receiver.protected abstract PointLayout.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.Combo.getCaretLocation()Returns a point describing the location of the caret relative to the receiver.Text.getCaretLocation()Returns a point describing the location of the caret relative to the receiver.Display.getCursorLocation()Returns the location of the on-screen pointer relative to the top left corner of the screen.Point[]Display.getCursorSizes()Returns an array containing the recommended cursor sizes.Point[]Display.getIconSizes()Returns an array containing the recommended icon sizes.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.Caret.getLocation()Returns a point describing the receiver's location relative to its parent (or its display if its parent is null).Control.getLocation()Returns a point describing the receiver's location relative to its parent in points (or its display if its parent is null), unless the receiver is a shell.Shell.getMaximumSize()Returns a point describing the maximum receiver's size.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 aPointwhose 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 aPointwhose 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.Caret.getSize()Returns a point describing the receiver's size.Control.getSize()Returns a point describing the receiver's size in points.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.Methods in org.eclipse.swt.widgets with parameters of type PointModifier 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.voidDisplay.setCursorLocation(Point point) Sets the location of the on-screen pointer relative to the top left corner of the screen.voidCoolBar.setItemLayout(int[] itemOrder, int[] wrapIndices, Point[] sizes) Sets the receiver's item order, wrap indices, and item sizes all at once.voidCaret.setLocation(Point location) Sets the receiver's location to the point specified by the argument which is relative to the receiver's parent (or its display if its parent is null).voidControl.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.voidMenu.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.voidToolTip.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.voidShell.setMaximumSize(Point size) Sets the receiver's maximum size to the size specified by the argument.voidCoolItem.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.voidShell.setMinimumSize(Point size) Sets the receiver's minimum size to the size specified by the argument.voidCoolItem.setPreferredSize(Point size) Sets the receiver's ideal size to the point specified by the argument.voidCombo.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.voidText.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.voidSets the receiver's size to the point specified by the argument.voidSets the receiver's size to the point specified by the argument.voidSets 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.
StyledText.getOffsetAtPoint(Point)instead for better performance