Eclipse Platform
2.1

Uses of Class
org.eclipse.swt.graphics.Point

Packages that use Point
org.eclipse.jface.dialogs Provides support for dialogs. 
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, manipulating, displaying and editing text documents. 
org.eclipse.jface.text.contentassist Provides a content assist add-on for an ITextViewer
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.custom SWT Custom widgets. 
org.eclipse.swt.graphics SWT graphics classes. 
org.eclipse.swt.layout This package contains the SWT layout classes. 
org.eclipse.swt.printing SWT Printing support classes. 
org.eclipse.swt.widgets SWT widget public API classes. 
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.jface.dialogs
 

Methods in org.eclipse.jface.dialogs that return Point
protected  Point ProgressMonitorDialog.getInitialSize()
           
protected  Point TitleAreaDialog.getInitialSize()
          The TitleAreaDialog implementation of this Window methods returns an initial size which is at least some reasonable minimum.
 

Uses of Point in org.eclipse.jface.preference
 

Fields in org.eclipse.jface.preference declared as Point
static Point PreferenceConverter.POINT_DEFAULT_DEFAULT
          The default-default value for point preferences (the origin, (0,0)).
 

Methods in org.eclipse.jface.preference that return Point
protected  Point ColorFieldEditor.computeImageSize(Control window)
          Computes the size of the color image displayed on the button.
static Point PreferenceConverter.getDefaultPoint(IPreferenceStore store, String name)
          Returns the default value for the point-valued preference with the given name in the given preference store.
static Point PreferenceConverter.getPoint(IPreferenceStore store, String name)
          Returns the current value of the point-valued preference with the given name in the given preference store.
 Point PreferencePage.computeSize()
          Computes the size for this page's UI control.
protected  Point PreferencePage.doComputeSize()
          Computes the size needed by this page's UI control.
 Point IPreferencePage.computeSize()
          Computes a size for this page's UI component.
 

Methods in org.eclipse.jface.preference with parameters of type Point
static void PreferenceConverter.setDefault(IPreferenceStore store, String name, Point value)
          Sets the default value of the preference with the given name in the given preference store.
static void PreferenceConverter.setValue(IPreferenceStore store, String name, Point value)
          Sets the current value of the preference with the given name in the given preference store.
 void PreferencePage.setSize(Point uiSize)
           
 void PreferenceDialog.setMinimumPageSize(Point size)
          Sets the minimum page size.
 void IPreferencePage.setSize(Point size)
          Sets the size of this page's UI component.
 

Uses of Point in org.eclipse.jface.resource
 

Methods in org.eclipse.jface.resource that return Point
protected abstract  Point CompositeImageDescriptor.getSize()
          Return the size of this composite image.
static Point StringConverter.asPoint(String value)
          Converts the given value into an SWT point.
static Point StringConverter.asPoint(String value, Point dflt)
          Converts the given value into an SWT point.
 

Methods in org.eclipse.jface.resource with parameters of type Point
static Point StringConverter.asPoint(String value, Point dflt)
          Converts the given value into an SWT point.
static String StringConverter.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
 Point DefaultInformationControl.computeSizeHint()
           
protected  Point AbstractInformationControlManager.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  Point AbstractInformationControlManager.computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor)
          Computes the display location of the information control.
protected  Point AbstractInformationControlManager.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  Point AbstractHoverInformationControlManager.getHoverEventLocation()
          Returns the location at which the most recent mouse hover event has been issued.
 Point IInformationControl.computeSizeHint()
          Computes and returns a proposal for the size of this information control depending on the information to present.
 Point IFindReplaceTarget.getSelection()
          Returns the currently selected range of characters as a offset and length.
 Point ITextViewerExtension2.getHoverEventLocation()
          Returns the location at which the most recent mouse hover event has been issued.
 Point IFindReplaceTargetExtension.getLineSelection()
          Returns the currently selected range of lines as a offset and length.
 Point TextViewer.getSelectedRange()
           
 Point TextViewer.getHoverEventLocation()
           
protected  Point TextViewer.widgetSelection2ModelSelection(Point widgetSelection)
          Translates the given widget selection into the corresponding region of the viewer's document.
protected  Point TextViewer.modelSelection2WidgetSelection(Point modelSelection)
          Translates the given selection range of the viewer's document into the corresponding widget range.
 Point ITextViewer.getSelectedRange()
          Returns the range of the current selection in coordinates of this viewer's document.
 

Methods in org.eclipse.jface.text with parameters of type Point
 void DefaultInformationControl.setLocation(Point location)
           
protected  Point AbstractInformationControlManager.computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor)
          Computes the display location of the information control.
protected  boolean AbstractInformationControlManager.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  Point AbstractInformationControlManager.computeInformationControlLocation(Rectangle subjectArea, Point controlSize)
          Computes the location of the information control depending on the subject area and the size of the information control.
 void IInformationControl.setLocation(Point location)
          Sets the location of this information control.
protected  Point TextViewer.widgetSelection2ModelSelection(Point widgetSelection)
          Translates the given widget selection into the corresponding region of the viewer's document.
protected  Point TextViewer.modelSelection2WidgetSelection(Point modelSelection)
          Translates the given selection range of the viewer's document into the corresponding widget range.
 

Uses of Point in org.eclipse.jface.text.contentassist
 

Methods in org.eclipse.jface.text.contentassist that return Point
 Point ICompletionProposal.getSelection(IDocument document)
          Returns the new selection after the proposal has been applied to the given document in absolute document coordinates.
 Point CompletionProposal.getSelection(IDocument document)
           
 

Uses of Point in org.eclipse.jface.viewers
 

Methods in org.eclipse.jface.viewers that return Point
 Point TableLayout.computeSize(Composite c, int wHint, int hHint, boolean flush)
           
 

Uses of Point in org.eclipse.jface.window
 

Methods in org.eclipse.jface.window that return Point
protected  Point Window.getInitialLocation(Point initialSize)
          Returns the initial location to use for the shell.
protected  Point Window.getInitialSize()
          Returns the initial size to use for the shell.
 

Methods in org.eclipse.jface.window with parameters of type Point
protected  Point Window.getInitialLocation(Point initialSize)
          Returns the initial location to use for the shell.
 

Uses of Point in org.eclipse.jface.wizard
 

Methods in org.eclipse.jface.wizard that return Point
 Point IWizardNode.getExtent()
          Returns the extent of the wizard for this node.
 Point WizardDialog.PageContainerFillLayout.computeSize(Composite composite, int wHint, int hHint, boolean force)
           
 

Methods in org.eclipse.jface.wizard with parameters of type Point
 void WizardDialog.setMinimumPageSize(Point size)
          Sets the minimum page size used for the pages.
 void WizardDialog.setPageSize(Point size)
          Sets the size of all pages.
 

Uses of Point in org.eclipse.swt.custom
 

Methods in org.eclipse.swt.custom that return Point
 Point ViewForm.computeSize(int wHint, int hHint, boolean changed)
           
 Point SashForm.computeSize(int wHint, int hHint, boolean changed)
           
 Point CCombo.computeSize(int wHint, int hHint, boolean changed)
           
 Point CCombo.getSelection()
          Gets the selection.
protected  Point StackLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
           
 Point ScrolledComposite.computeSize(int wHint, int hHint, boolean changed)
           
 Point ScrolledComposite.getOrigin()
          Return the point in the content that currenly appears in the top left corner of the scrolled composite.
 Point StyledText.computeSize(int wHint, int hHint, boolean changed)
          Computes the preferred size.
 Point 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.
 Point StyledText.getSelection()
          Returns the selection.
 Point StyledText.getSelectionRange()
          Returns the selection.
 Point TableTree.computeSize(int wHint, int hHint, boolean changed)
           
 Point CLabel.computeSize(int wHint, int hHint, boolean changed)
           
 Point CTabFolder.computeSize(int wHint, int hHint, boolean changed)
           
 Point AnimatedProgress.computeSize(int wHint, int hHint, boolean changed)
          Deprecated.  
 

Methods in org.eclipse.swt.custom with parameters of type Point
 void CCombo.setSelection(Point selection)
          Sets the new selection.
 void ScrolledComposite.setOrigin(Point origin)
          Scrolls the content so that the specified point in the content is in the top left corner.
 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.
 int StyledText.getOffsetAtLocation(Point point)
          Returns the offset of the character at the given location relative to the first character in the document.
 void StyledText.setSelection(Point point)
          Sets the selection and scrolls it into view.
 TableTreeItem TableTree.getItem(Point point)
          Returns the item at the given point in the receiver or null if no such item exists.
 CTabItem CTabFolder.getItem(Point pt)
          Gets the item at a point in the widget.
 

Uses of Point in org.eclipse.swt.graphics
 

Methods in org.eclipse.swt.graphics that return Point
 Point GC.stringExtent(String string)
          Returns the extent of the given string.
 Point GC.textExtent(String string)
          Returns the extent of the given string.
 Point GC.textExtent(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 Region.contains(Point pt)
          Returns true if the given point is inside the area specified by the receiver, and false otherwise.
 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 FillLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
           
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 FormLayout.computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
           
 

Constructors in org.eclipse.swt.layout with parameters of type Point
RowData(Point point)
           
 

Uses of Point in org.eclipse.swt.printing
 

Methods in org.eclipse.swt.printing that return Point
 Point Printer.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
 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).
 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 Composite.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.
 Point ToolBar.computeSize(int wHint, int hHint, boolean changed)
           
 Point Label.computeSize(int wHint, int hHint, boolean changed)
           
 Point Decorations.getLocation()
           
 Point Decorations.getSize()
           
 Point Tree.computeSize(int wHint, int hHint, boolean changed)
           
 Point Table.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.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 Button.computeSize(int wHint, int hHint, boolean changed)
           
 Point CoolItem.computeSize(int wHint, int hHint)
          Returns the preferred size of the receiver.
 Point CoolItem.getPreferredSize()
          Returns a point describing the receiver's ideal size.
 Point CoolItem.getSize()
          Returns a point describing the receiver's size.
 Point CoolItem.getMinimumSize()
          Returns the minimum size that the cool item can be resized to using the cool item's gripper.
 Point Group.computeSize(int wHint, int hHint, boolean changed)
           
 Point ProgressBar.computeSize(int wHint, int hHint, boolean changed)
           
 Point Combo.computeSize(int wHint, int hHint, boolean changed)
           
 Point Combo.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.
 Point Caret.getLocation()
          Returns a point describing the receiver's location relative to its parent (or its display if its parent is null).
 Point Caret.getSize()
          Returns a point describing the receiver's size.
 Point Scale.computeSize(int wHint, int hHint, boolean changed)
           
 Point ScrollBar.getSize()
          Returns a point describing the receiver's size.
 Point Shell.getLocation()
           
 Point List.computeSize(int wHint, int hHint, boolean changed)
           
 Point TabFolder.computeSize(int wHint, int hHint, boolean changed)
           
 Point Text.computeSize(int wHint, int hHint, boolean changed)
           
 Point Text.getCaretLocation()
          Gets the location the caret.
 Point Text.getSelection()
          Gets the position of the selected text.
 Point CoolBar.computeSize(int wHint, int hHint, boolean changed)
           
 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 Sash.computeSize(int wHint, int hHint, boolean changed)
           
 Point Slider.computeSize(int wHint, int hHint, boolean changed)
           
 

Methods in org.eclipse.swt.widgets with parameters of type Point
 void Control.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).
 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.
 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.
 TableItem Table.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 Display.setCursorLocation(Point point)
          Sets the location of the on-screen pointer relative to the top left corner of the screen.
 void CoolItem.setPreferredSize(Point size)
          Sets the receiver's ideal 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.
 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 Menu.setLocation(Point location)
          Sets the receiver's location to the point specified by the arguments which are relative to the display.
 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 Caret.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).
 void Caret.setSize(Point size)
          Sets the receiver's size to the point specified by the argument.
 void Text.setSelection(Point selection)
          Sets the selection.
 void CoolBar.setItemLayout(int[] itemOrder, int[] wrapIndices, Point[] sizes)
          Sets the receiver's item order, wrap indices, and item sizes all at once.
 

Uses of Point in org.eclipse.ui.part
 

Methods in org.eclipse.ui.part that return Point
protected  Point PageBook.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
protected  void TextNavigationAction.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.
 


Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.