Uses of Class
org.eclipse.swt.graphics.Point
-
Packages that use Point Package Description org.eclipse.debug.ui Provides a generic debugger user interface that clients may customize via standard workbench extension points.org.eclipse.equinox.p2.ui Provides provisioning user interface classes that can be used for assembling a provisioning UI.org.eclipse.jface.action Provides support for shared UI resources such as menus, tool bars, and status lines.org.eclipse.jface.contentassist Provides a content assist add-on for implementors ofIContentAssistSubjectControl.org.eclipse.jface.dialogs Provides support for dialogs.org.eclipse.jface.fieldassist Provides classes that help communicate proper content for fields in dialogs and wizards.org.eclipse.jface.layout Provides support for layout generation.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.text Provides a framework for creating and manipulating text documents.org.eclipse.jface.text.contentassist Provides a content assist add-on for anITextViewer.org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those.org.eclipse.jface.text.source.projection This package provides the UI part for projection documents of which the most important part is the projection viewer.org.eclipse.jface.text.templates Application programming interfaces for interaction with the Eclipse text template support.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.jface.window Provides a general framework for creating and managing windows.org.eclipse.jface.wizard Provides a framework for wizards.org.eclipse.swt.browser SWT Browser widget.org.eclipse.swt.custom SWT Custom widgets.org.eclipse.swt.graphics SWT graphics classes.org.eclipse.swt.layout SWT layout classes.org.eclipse.swt.printing SWT Printing support classes.org.eclipse.swt.widgets SWT widget public API classes.org.eclipse.team.ui Provides basic support for managing Team providers.org.eclipse.ui.actions Classes for actions and operations used in a workbench window, page, or part in the Eclipse Platform User Interface.org.eclipse.ui.application Application-level APIs for configuring and controling the Eclipse Platform User Interface.org.eclipse.ui.forms.widgets Custom widgets and controls for forms-based parts.org.eclipse.ui.menus Provides the public API and default implementation for contributing menu and toolbars to the menu service.org.eclipse.ui.part Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules. -
-
Uses of Point in org.eclipse.debug.ui
Methods in org.eclipse.debug.ui that return Point Modifier and Type Method Description protected PointDebugPopup. getInitialLocation(Point initialSize)Returns the initial location to use for the shell based upon the current selection in the viewer.protected PointInspectPopupDialog. getInitialSize()Methods in org.eclipse.debug.ui with parameters of type Point Modifier and Type Method Description protected PointDebugPopup. getInitialLocation(Point initialSize)Returns the initial location to use for the shell based upon the current selection in the viewer.Constructors in org.eclipse.debug.ui with parameters of type Point Constructor Description DebugPopup(Shell parent, Point anchor, String commandId)Constructs a new popup dialog of typePopupDialog.INFOPOPUPRESIZE_SHELLSTYLEInspectPopupDialog(Shell shell, Point anchor, String commandId, IExpression expression)Creates a new inspect popup. -
Uses of Point in org.eclipse.equinox.p2.ui
Methods in org.eclipse.equinox.p2.ui that return Point Modifier and Type Method Description PointPolicy. getUpdateDetailsPreferredSize()Get a point describing the preferred size of the details area shown in single IU update wizards.Methods in org.eclipse.equinox.p2.ui with parameters of type Point Modifier and Type Method Description voidPolicy. setUpdateDetailsPreferredSize(Point preferredSize)Set the preferred size of the details area shown in update wizards which notify the user of a single update. -
Uses of Point in org.eclipse.jface.action
Methods in org.eclipse.jface.action that return Point Modifier and Type Method Description PointStatusLineContributionItem. getDisplayLocation()An accessor for the current location of this status line contribution item -- relative to the display. -
Uses of Point in org.eclipse.jface.contentassist
Methods in org.eclipse.jface.contentassist that return Point Modifier and Type Method Description PointComboContentAssistSubjectAdapter. getLocationAtOffset(int offset)Deprecated.PointIContentAssistSubjectControl. 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.PointTextContentAssistSubjectAdapter. getLocationAtOffset(int offset)Deprecated.PointComboContentAssistSubjectAdapter. getSelectedRange()Deprecated.PointIContentAssistSubjectControl. getSelectedRange()Returns the selected range.PointTextContentAssistSubjectAdapter. getSelectedRange()Deprecated.PointComboContentAssistSubjectAdapter. getWidgetSelectionRange()Deprecated.PointIContentAssistSubjectControl. getWidgetSelectionRange()Returns the selected range in the subject's widget.PointTextContentAssistSubjectAdapter. getWidgetSelectionRange()Deprecated. -
Uses of Point in org.eclipse.jface.dialogs
Methods in org.eclipse.jface.dialogs that return Point Modifier and Type Method Description protected PointPopupDialog. getDefaultLocation(Point initialSize)Returns the default location to use for the shell.protected PointPopupDialog. getDefaultSize()Return the default size to use for the shell.protected PointDialog. getInitialLocation(Point initialSize)Returns the initial location to use for the shell.protected PointPopupDialog. getInitialLocation(Point initialSize)protected PointDialog. getInitialSize()Returns the initial size to use for the shell.protected PointPopupDialog. getInitialSize()protected PointProgressMonitorDialog. getInitialSize()protected PointTitleAreaDialog. getInitialSize()TheTitleAreaDialogimplementation of thisWindowmethods returns an initial size which is at least some reasonable minimum.Methods in org.eclipse.jface.dialogs with parameters of type Point Modifier and Type Method Description protected PointPopupDialog. getDefaultLocation(Point initialSize)Returns the default location to use for the shell.protected PointDialog. getInitialLocation(Point initialSize)Returns the initial location to use for the shell.protected PointPopupDialog. getInitialLocation(Point initialSize) -
Uses of Point in org.eclipse.jface.fieldassist
Methods in org.eclipse.jface.fieldassist that return Point Modifier and Type Method Description PointContentProposalAdapter. getPopupSize()Return the size, in pixels, of the content proposal popup.PointComboContentAdapter. getSelection(Control control)PointIControlContentAdapter2. getSelection(Control control)Get the current selection range in the control.PointTextContentAdapter. getSelection(Control control)Methods in org.eclipse.jface.fieldassist with parameters of type Point Modifier and Type Method Description voidContentProposalAdapter. setPopupSize(Point size)Set the size, in pixels, of the content proposal popup.voidComboContentAdapter. setSelection(Control control, Point range)voidIControlContentAdapter2. setSelection(Control control, Point range)Set the current selection range in the control.voidTextContentAdapter. setSelection(Control control, Point range) -
Uses of Point in org.eclipse.jface.layout
Methods in org.eclipse.jface.layout that return Point Modifier and Type Method Description protected PointAbstractColumnLayout. computeSize(Composite composite, int wHint, int hHint, boolean flushCache)static PointLayoutConstants. getMargins()Returns the default dialog margins, in pixelsstatic PointLayoutConstants. getMinButtonSize()Returns the default minimum button size, in pixelsstatic PointLayoutConstants. getSpacing()Returns the default dialog spacing, in pixelsMethods in org.eclipse.jface.layout with parameters of type Point Modifier and Type Method Description static voidGridDataFactory. generate(Control theControl, Point span)Generates layout data to the given control, given the number of cells spanned by the control.GridDataFactoryGridDataFactory. hint(Point hint)Sets the width and height hints.RowDataFactoryRowDataFactory. hint(Point hint)Sets the width and height hints.GridDataFactoryGridDataFactory. indent(Point indent)Sets the indent of the control within the cell.GridLayoutFactoryGridLayoutFactory. margins(Point margins)Sets the margins for layouts created with this factory.RowLayoutFactoryRowLayoutFactory. margins(Point margins)Sets the margins for layouts created with this factory.GridDataFactoryGridDataFactory. minSize(Point min)Sets the minimum size for the control.GridLayoutFactoryGridLayoutFactory. spacing(Point spacing)Sets the spacing for layouts created with this factory.GridDataFactoryGridDataFactory. span(Point span)Sets the GridData span. -
Uses of Point in org.eclipse.jface.preference
Fields in org.eclipse.jface.preference declared as Point Modifier and Type Field Description static PointPreferenceConverter. POINT_DEFAULT_DEFAULTThe default-default value for point preferences (the origin,(0,0)).Methods in org.eclipse.jface.preference that return Point Modifier and Type Method Description protected PointColorFieldEditor. computeImageSize(Control window)Computes the size of the color image displayed on the button.PointIPreferencePage. computeSize()Computes a size for this page's UI component.PointPreferencePage. computeSize()Computes the size for this page's UI control.protected PointPreferencePage. doComputeSize()Computes the size needed by this page's UI control.static PointPreferenceConverter. getDefaultPoint(IPreferenceStore store, String name)Returns the default value for the point-valued preference with the given name in the given preference store.static PointPreferenceConverter. getPoint(IPreferenceStore store, 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 Modifier and Type Method Description static voidPreferenceConverter. setDefault(IPreferenceStore store, String name, Point value)Sets the default value of the preference with the given name in the given preference store.voidPreferenceDialog. setMinimumPageSize(Point size)Sets the minimum page size.voidIPreferencePage. setSize(Point size)Sets the size of this page's UI component.voidPreferencePage. setSize(Point uiSize)static voidPreferenceConverter. setValue(IPreferenceStore store, 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 Modifier and Type Method Description static PointStringConverter. asPoint(String value)Converts the given value into an SWT point.static PointStringConverter. asPoint(String value, Point dflt)Converts the given value into an SWT point.protected abstract PointCompositeImageDescriptor. getSize()Return the size of this composite image.Methods in org.eclipse.jface.resource with parameters of type Point Modifier and Type Method Description static PointStringConverter. asPoint(String value, Point dflt)Converts the given value into an SWT point.static StringStringConverter. asString(Point value)Converts the given SWT point object to a string. -
Uses of Point in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return Point Modifier and Type Method Description protected PointAbstractInformationControlManager. computeInformationControlLocation(Rectangle subjectArea, Point controlSize)Computes the location of the information control depending on the subject area and the size of the information control.protected PointAbstractInformationControlManager. computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor)Computes the display location of the information control.PointAbstractInformationControl. computeSizeConstraints(int widthInChars, int heightInChars)Computes the size constraints based on thedialog font.protected PointAbstractInformationControlManager. computeSizeConstraints(Control subjectControl, IInformationControl informationControl)Computes the size constraints of the information control in points based on the default font of the given subject control as well as the size constraints in character width.protected PointAbstractInformationControlManager. computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl)Computes the size constraints of the information control in points.PointIInformationControlExtension5. computeSizeConstraints(int widthInChars, int heightInChars)Computes the width- and height constraints of the information control in pixels, based on the given width and height in characters.PointAbstractInformationControl. computeSizeHint()PointDefaultInformationControl. computeSizeHint()PointIInformationControl. computeSizeHint()Computes and returns a proposal for the size of this information control depending on the information to present.protected PointAbstractHoverInformationControlManager. getHoverEventLocation()Returns the location at which the most recent mouse hover event has been issued.PointITextViewerExtension2. getHoverEventLocation()Returns the location at which the most recent mouse hover event has occurred.PointTextViewer. getHoverEventLocation()PointIFindReplaceTargetExtension. getLineSelection()Returns the currently selected range of lines as a offset and length.PointITextViewer. getSelectedRange()Returns the range of the current selection in coordinates of this viewer's document.PointTextViewer. getSelectedRange()PointIFindReplaceTarget. getSelection()Returns the currently selected range of characters as an offset and length in widget coordinates.protected PointAbstractInformationControl. getSizeConstraints()Returns the size constraints.protected PointTextViewer. modelSelection2WidgetSelection(Point modelSelection)Translates the given selection range of the viewer's document into the corresponding widget range or returnsnullof this fails.protected PointTextViewer. widgetSelection2ModelSelection(Point widgetSelection)Translates the given widget selection into the corresponding region of the viewer's document or returnsnullif this fails.Methods in org.eclipse.jface.text with parameters of type Point Modifier and Type Method Description protected PointAbstractInformationControlManager. computeInformationControlLocation(Rectangle subjectArea, Point controlSize)Computes the location of the information control depending on the subject area and the size of the information control.protected PointAbstractInformationControlManager. computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor)Computes the display location of the information control.protected PointTextViewer. modelSelection2WidgetSelection(Point modelSelection)Translates the given selection range of the viewer's document into the corresponding widget range or returnsnullof this fails.voidAbstractInformationControl. setLocation(Point location)voidIInformationControl. setLocation(Point location)Sets the location of this information control.protected booleanAbstractInformationControlManager. updateLocation(Point location, Point size, Rectangle displayArea, AbstractInformationControlManager.Anchor anchor)Checks whether a control of the given size at the given location would be completely visible in the given display area when laid out by using the given anchor.protected PointTextViewer. widgetSelection2ModelSelection(Point widgetSelection)Translates the given widget selection into the corresponding region of the viewer's document or returnsnullif this fails. -
Uses of Point in org.eclipse.jface.text.contentassist
Methods in org.eclipse.jface.text.contentassist that return Point Modifier and Type Method Description PointCompletionProposal. getSelection(IDocument document)PointICompletionProposal. getSelection(IDocument document)Returns the new selection after the proposal has been applied to the given document in absolute document coordinates.protected PointContentAssistant. restoreCompletionProposalPopupSize()Restores the content assist's proposal pop-up size.protected PointContentAssistant. restoreContextSelectorPopupSize()Restores the content assist's context selector pop-up size. -
Uses of Point in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source that return Point Modifier and Type Method Description protected PointAnnotationBarHoverManager. computeInformationControlLocation(Rectangle subjectArea, Point controlSize)protected PointLineChangeHover. computeLineRange(ISourceViewer viewer, int line, int min, int max)Computes the block of lines which form a contiguous block of changes coveringline.protected PointAnnotationBarHoverManager. computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor)protected PointSourceViewer.RulerLayout. computeSize(Composite composite, int wHint, int hHint, boolean flushCache)protected PointAnnotationBarHoverManager. computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl)protected PointSourceViewer. rememberSelection()Remembers and returns the current selection.Methods in org.eclipse.jface.text.source with parameters of type Point Modifier and Type Method Description protected PointAnnotationBarHoverManager. computeInformationControlLocation(Rectangle subjectArea, Point controlSize)protected PointAnnotationBarHoverManager. computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor) -
Uses of Point in org.eclipse.jface.text.source.projection
Methods in org.eclipse.jface.text.source.projection that return Point Modifier and Type Method Description protected PointProjectionViewer. widgetSelection2ModelSelection(Point widgetSelection)Adapts the behavior of the super class to respect line based folding.Methods in org.eclipse.jface.text.source.projection with parameters of type Point Modifier and Type Method Description protected PointProjectionViewer. widgetSelection2ModelSelection(Point widgetSelection)Adapts the behavior of the super class to respect line based folding. -
Uses of Point in org.eclipse.jface.text.templates
Methods in org.eclipse.jface.text.templates that return Point Modifier and Type Method Description PointTemplateProposal. getSelection(IDocument document) -
Uses of Point in org.eclipse.jface.util
Methods in org.eclipse.jface.util that return Point Modifier and Type Method Description static PointGeometry. add(Point point1, Point point2)Adds two points as 2d vectors.static PointGeometry. centerPoint(Rectangle rect)Returns the point in the center of the given rectangle.static PointGeometry. copy(Point toCopy)Returns a copy of the given pointstatic PointGeometry. divide(Point toDivide, int scalar)Divides both coordinates of the given point by the given scalar.static PointGeometry. getDirectionVector(int distance, int direction)Returns a vector in the given direction with the given magnitude.static PointGeometry. getLocation(Rectangle toQuery)Returns the x,y position of the given rectangle.static PointGeometry. getSize(Rectangle rectangle)Returns the size of the rectangle, as a Pointstatic PointGeometry. max(Point p1, Point p2)Returns a new point whose coordinates are the maximum of the coordinates of the given pointsstatic PointGeometry. min(Point p1, Point p2)Returns a new point whose coordinates are the minimum of the coordinates of the given pointsstatic PointGeometry. subtract(Point point1, Point point2)Performs vector subtraction on two points.Methods in org.eclipse.jface.util with parameters of type Point Modifier and Type Method Description static PointGeometry. add(Point point1, Point point2)Adds two points as 2d vectors.static PointGeometry. copy(Point toCopy)Returns a copy of the given pointstatic RectangleGeometry. createRectangle(Point position, Point size)Returns a new rectangle with the given position and dimensions, expressed as points.static intGeometry. distanceSquared(Point p1, Point p2)Returns the square of the distance between two points.static PointGeometry. divide(Point toDivide, int scalar)Divides both coordinates of the given point by the given scalar.static intGeometry. dotProduct(Point p1, Point p2)Returns the dot product of the given vectors (expressed as Points)static voidGeometry. flipXY(Point toFlip)Swaps the X and Y coordinates of the given point.static MonitorUtil. getClosestMonitor(Display toSearch, Point toFind)Returns the monitor whose client area contains the given point.static intGeometry. getClosestSide(Rectangle boundary, Point toTest)Returns the edge of the given rectangle is closest to the given point.static intGeometry. getCoordinate(Point toMeasure, boolean width)Returns the x or y coordinates of the given point.static intGeometry. getDistanceFrom(Rectangle boundary, Point toTest)Returns the distance from the point to the nearest edge of the given rectangle.static intGeometry. getDistanceFromEdge(Rectangle rectangle, Point testPoint, int edgeOfInterest)Returns the distance of the given point from a particular side of the given rectangle.static intGeometry. getRelativePosition(Rectangle boundary, Point toTest)Determines where the given point lies with respect to the given rectangle.static doubleGeometry. magnitude(Point p)Returns the magnitude of the given 2d vector (represented as a Point)static intGeometry. magnitudeSquared(Point p)Returns the square of the magnitude of the given 2-space vector (represented using a point)static PointGeometry. max(Point p1, Point p2)Returns a new point whose coordinates are the maximum of the coordinates of the given pointsstatic PointGeometry. min(Point p1, Point p2)Returns a new point whose coordinates are the minimum of the coordinates of the given pointsstatic voidGeometry. moveRectangle(Rectangle rect, Point delta)Moves the given rectangle by the given delta.static voidGeometry. set(Point result, Point toCopy)Sets result equal to toCopystatic voidGeometry. setCoordinate(Point toSet, boolean width, int newCoordinate)Sets one coordinate of the given point.static voidGeometry. setLocation(Rectangle rectangle, Point newLocation)Sets the x,y position of the given rectangle.static voidGeometry. setSize(Rectangle rectangle, Point newSize)Sets the size of the given rectangle to the given sizestatic PointGeometry. 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 Modifier and Type Method Description PointTableLayout. computeSize(Composite c, int wHint, int hHint, boolean flush)protected PointDecorationOverlayIcon. getSize()PointViewerLabel. getTooltipShift()PointCellLabelProvider. getToolTipShift(Object object)Return the amount of pixels in x and y direction you want the tool tip to pop up from the mouse pointer.Methods in org.eclipse.jface.viewers with parameters of type Point Modifier and Type Method Description ViewerCellColumnViewer. getCell(Point point)Returns the viewer cell at the given widget-relative coordinates, ornullif there is no cell at that locationViewerCellViewerRow. getCell(Point point)Get the ViewerCell at point.intViewerRow. getColumnIndex(Point point)Get the columnIndex of the point.protected ItemAbstractTreeViewer. getItemAt(Point point)This implementation ofAbstractTreeViewer.getItemAt(Point)returns null to ensure API backwards compatibility.protected abstract ItemColumnViewer. getItemAt(Point point)Returns theItemat the given widget-relative coordinates, ornullif there is no item at the given coordinates.protected ItemTableViewer. getItemAt(Point p)protected ItemTreeViewer. getItemAt(Point p)protected ViewerRowColumnViewer. getViewerRow(Point point)Returns the viewer row at the given widget-relative coordinates.voidViewerLabel. setTooltipShift(Point tooltipShift)Constructors in org.eclipse.jface.viewers with parameters of type Point Constructor Description DecorationOverlayIcon(Image baseImage, ImageDescriptor[] overlaysArray, Point sizeValue)Create the decoration overlay for the base image using the array of provided overlays. -
Uses of Point in org.eclipse.jface.window
Methods in org.eclipse.jface.window that return Point Modifier and Type Method Description protected PointWindow. getInitialLocation(Point initialSize)Returns the initial location to use for the shell.protected PointWindow. getInitialSize()Returns the initial size to use for the shell.PointToolTip. getLocation(Point tipSize, Event event)Get the display relative location where the tooltip is displayed.Methods in org.eclipse.jface.window with parameters of type Point Modifier and Type Method Description protected PointWindow. getInitialLocation(Point initialSize)Returns the initial location to use for the shell.PointToolTip. getLocation(Point tipSize, Event event)Get the display relative location where the tooltip is displayed.voidToolTip. setShift(Point p)Set the shift (from the mouse position triggered the event) used to display the tooltip.voidToolTip. show(Point location)Start up the tooltip programmatically -
Uses of Point in org.eclipse.jface.wizard
Methods in org.eclipse.jface.wizard that return Point Modifier and Type Method Description PointWizardDialog.PageContainerFillLayout. computeSize(Composite composite, int wHint, int hHint, boolean force)PointIWizardNode. getExtent()Returns the extent of the wizard for this node.Methods in org.eclipse.jface.wizard with parameters of type Point Modifier and Type Method Description voidWizardDialog. setMinimumPageSize(Point size)Sets the minimum page size used for the pages.voidWizardDialog. setPageSize(Point size)Sets the size of all pages. -
Uses of Point in org.eclipse.swt.browser
Fields in org.eclipse.swt.browser declared as Point Modifier and Type Field Description PointWindowEvent. locationRequested location for theShellhosting theBrowser.PointWindowEvent. sizeRequestedBrowsersize. -
Uses of Point in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return Point Modifier and Type Method Description PointAnimatedProgress. computeSize(int wHint, int hHint, boolean changed)Deprecated.PointCCombo. computeSize(int wHint, int hHint, boolean changed)PointCLabel. 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)PointStyledText. computeSize(int wHint, int hHint, boolean changed)PointStyledText. 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.PointScrolledComposite. getOrigin()Return the point in the content that currently appears in the top left corner of the scrolled composite.PointCBanner. getRightMinimumSize()Returns the minimum size of the control that appears on the right of the banner.PointCCombo. 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.PointStyledText. getSelection()Returns the selection.PointStyledText. getSelectionRange()Returns the selection.Methods in org.eclipse.swt.custom with parameters of type Point Modifier and Type Method Description CTabItemCTabFolder. getItem(Point pt)Gets the item at a point in the widget.intStyledText. getOffsetAtLocation(Point point)Deprecated.UseStyledText.getOffsetAtPoint(Point)instead for better performanceintStyledText. 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.voidScrolledComposite. setOrigin(Point origin)Scrolls 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 Point Modifier and Type Method Description PointDevice. 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.PointTextLayout. getLocation(int offset, boolean trailing)Returns the location for the specified character offset.PointGC. stringExtent(String string)Returns the extent of the given string.PointGC. textExtent(String string)Returns the extent of the given string.PointGC. textExtent(String string, int flags)Returns the extent of the given string.Methods in org.eclipse.swt.graphics with parameters of type Point Modifier and Type Method Description booleanRectangle. contains(Point pt)Returnstrueif the given point is inside the area specified by the receiver, andfalseotherwise.booleanRegion. contains(Point pt)Returnstrueif the given point is inside the area specified by the receiver, andfalseotherwise.intTextLayout. getOffset(Point point, int[] trailing)Returns the character offset for the specified point.voidRegion. translate(Point pt)Translate all of the polygons the receiver maintains to describe its area by the specified point. -
Uses of Point in org.eclipse.swt.layout
Methods in org.eclipse.swt.layout that return Point Modifier and Type Method Description 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 Constructor Description RowData(Point point)Constructs a new instance of RowData according to the parameter. -
Uses of Point in org.eclipse.swt.printing
Methods in org.eclipse.swt.printing that return Point Modifier and Type Method Description PointPrinter. getDPI()Returns a point whose x coordinate is the horizontal dots per inch of the printer, and whose y coordinate is the vertical dots per inch of the printer. -
Uses of Point in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets that return Point Modifier and Type Method Description PointControl. computeSize(int wHint, int hHint)Returns the preferred size (in points) of the receiver.PointControl. computeSize(int wHint, int hHint, boolean changed)Returns the preferred size (in points) of the receiver.PointCoolItem. 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.PointCombo. getCaretLocation()Returns a point describing the location of the caret relative to the receiver.PointText. getCaretLocation()Returns a point describing the location of the caret relative to the receiver.PointDisplay. 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.PointCaret. getLocation()Returns a point describing the receiver's location relative to its parent (or its display if its parent is null).PointControl. 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.PointShell. getMaximumSize()Returns a point describing the maximum receiver's size.PointCoolItem. getMinimumSize()Returns the minimum size that the cool item can be resized to using the cool item's gripper.PointShell. getMinimumSize()Returns a point describing the minimum receiver's size.PointCoolItem. getPreferredSize()Returns a point describing the receiver's ideal size.PointCombo. 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.PointText. 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.PointCaret. getSize()Returns a point describing the receiver's size.PointControl. getSize()Returns a point describing the receiver's size in points.PointCoolItem. getSize()Returns a point describing the receiver's size.PointScrollBar. getSize()Returns a point describing the receiver's size.PointDisplay. map(Control from, Control to, int x, int y)Maps a point from one coordinate system to another.PointDisplay. map(Control from, Control to, Point point)Maps a point from one coordinate system to another.PointControl. 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.PointControl. 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.PointControl. 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.PointControl. 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 Modifier and Type Method Description TabItemTabFolder. getItem(Point point)Returns the tab item at the given point in the receiver or null if no such item exists.TableItemTable. getItem(Point point)Returns the item at the given point in the receiver or null if no such item exists.ToolItemToolBar. getItem(Point point)Returns the item at the given point in the receiver or null if no such item exists.TreeItemTree. getItem(Point point)Returns the item at the given point in the receiver or null if no such item exists.PointDisplay. map(Control from, Control to, Point point)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.voidCaret. setSize(Point size)Sets the receiver's size to the point specified by the argument.voidControl. setSize(Point size)Sets the receiver's size to the point specified by the argument.voidCoolItem. setSize(Point size)Sets the receiver's size to the point specified by the argument.PointControl. 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.PointControl. 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.team.ui
Methods in org.eclipse.team.ui that return Point Modifier and Type Method Description protected PointSaveablePartDialog. getInitialSize()Deprecated. -
Uses of Point in org.eclipse.ui.actions
Methods in org.eclipse.ui.actions that return Point Modifier and Type Method Description protected PointQuickMenuCreator. computeMenuLocation(StyledText text)Hook to compute the menu location if the focus widget is a styled text widget.protected PointQuickMenuCreator. computeMenuLocation(Control focus)Determine the optimal point for this menu to appear.protected PointQuickMenuCreator. computeMenuLocation(Table table)Hook to compute the menu location if the focus widget is a table widget.protected PointQuickMenuCreator. computeMenuLocation(Tree tree)Hook to compute the menu location if the focus widget is a tree widget. -
Uses of Point in org.eclipse.ui.application
Methods in org.eclipse.ui.application that return Point Modifier and Type Method Description PointIWorkbenchWindowConfigurer. getInitialSize()Returns the size to use for the window's shell when it is created.Methods in org.eclipse.ui.application with parameters of type Point Modifier and Type Method Description voidIWorkbenchWindowConfigurer. setInitialSize(Point initialSize)Sets the size to use for the window's shell when it is created. -
Uses of Point in org.eclipse.ui.forms.widgets
Methods in org.eclipse.ui.forms.widgets that return Point Modifier and Type Method Description PointSizeCache. computeAdjustedSize(int widthHint, int heightHint)Compute the control's size, and ensure that non-default hints are returned verbatim (this tries to compensate for SWT's hints, which aren't really the outer width of the control).PointSizeCache. computeMinimumSize()protected PointColumnLayout. computeSize(Composite composite, int wHint, int hHint, boolean flushCache)PointExpandableComposite. computeSize(int wHint, int hHint, boolean changed)Computes the size of the expandable composite.PointFormText. computeSize(int wHint, int hHint, boolean changed)Overrides the method by fully trusting the layout manager (computed width or height may be larger than the provider width or height hints).PointHyperlink. computeSize(int wHint, int hHint, boolean changed)Overrides the parent by incorporating the margin.PointImageHyperlink. computeSize(int wHint, int hHint, boolean changed)Computes the control size by reserving space for images in addition to text.PointLayoutCache. computeSize(int controlIndex, int widthHint, int heightHint)Computes the preferred size of the nth controlPointScrolledPageBook. computeSize(int wHint, int hHint, boolean changed)Removes the default size of the composite, allowing the control to shrink to the trim.PointSizeCache. computeSize(int widthHint, int heightHint)Computes the preferred size of the control.protected PointTableWrapLayout. computeSize(Composite parent, int wHint, int hHint, boolean changed)PointToggleHyperlink. computeSize(int wHint, int hHint, boolean changed)Computes the size of the control.protected PointHyperlink. computeTextSize(int wHint, int hHint)Methods in org.eclipse.ui.forms.widgets with parameters of type Point Modifier and Type Method Description voidSizeCache. setSize(Point newSize) -
Uses of Point in org.eclipse.ui.menus
Methods in org.eclipse.ui.menus that return Point Modifier and Type Method Description PointAbstractWorkbenchTrimWidget. getPreferredSize() -
Uses of Point in org.eclipse.ui.part
Methods in org.eclipse.ui.part that return Point Modifier and Type Method Description protected PointPageBook.PageBookLayout. computeSize(Composite composite, int wHint, int hHint, boolean flushCache) -
Uses of Point in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor with parameters of type Point Modifier and Type Method Description protected voidTextNavigationAction. fireSelectionChanged(Point oldSelection)Fires a selection event to all selection listener of the action's text widget if the current selection differs from the given selection.
-