Eclipse Platform
Release 3.0

Uses of Class
org.eclipse.swt.widgets.Canvas

Packages that use Canvas
org.eclipse.jface.text.source Provides a support for managing annotations attached to a document. 
org.eclipse.jface.text.source.projection   
org.eclipse.swt.custom SWT Custom widgets.  
org.eclipse.swt.widgets SWT widget public API classes.  
org.eclipse.ui.forms.widgets Custom widgets and controls for forms-based parts.  
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules.  
 

Uses of Canvas in org.eclipse.jface.text.source
 

Methods in org.eclipse.jface.text.source with parameters of type Canvas
 void IAnnotationAccessExtension.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
          Draws a graphical representation of the given annotation within the given bounds.
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Draws an image aligned inside the given rectangle on the given canvas.
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Draws an image aligned inside the given rectangle on the given canvas.
 void IAnnotationPresentation.paint(GC gc, Canvas canvas, Rectangle bounds)
          Implement this method to draw a graphical representation of this annotation within the given bounds.
 

Uses of Canvas in org.eclipse.jface.text.source.projection
 

Methods in org.eclipse.jface.text.source.projection with parameters of type Canvas
 void ProjectionAnnotation.paint(GC gc, Canvas canvas, Rectangle rectangle)
           
 

Uses of Canvas in org.eclipse.swt.custom
 

Subclasses of Canvas in org.eclipse.swt.custom
 class AnimatedProgress
          Deprecated. As of Eclipse 2.1, use ProgressBar with the style SWT.INDETERMINATE
Styles:
VERTICAL, HORIZONTAL, BORDER
 class CLabel
          A Label which supports aligned text and/or an image and different border styles.
 class StyledText
          A StyledText is an editable user interface object that displays lines of text.
 class TableCursor
          A TableCursor provides a way for the user to navigate around a Table using the keyboard.
 

Uses of Canvas in org.eclipse.swt.widgets
 

Subclasses of Canvas in org.eclipse.swt.widgets
 class Decorations
          Instances of this class provide the appearance and behavior of Shells, but are not top level shells or dialogs.
 class Shell
          Instances of this class represent the "windows" which the desktop or "window manager" is managing.
 

Methods in org.eclipse.swt.widgets that return Canvas
 Canvas Caret.getParent()
          Returns the receiver's parent, which must be a Canvas.
 

Constructors in org.eclipse.swt.widgets with parameters of type Canvas
Caret(Canvas parent, int style)
          Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.
 

Uses of Canvas in org.eclipse.ui.forms.widgets
 

Subclasses of Canvas in org.eclipse.ui.forms.widgets
 class AbstractHyperlink
          This is the base class for custom hyperlink widget.
 class FormText
          This class is a read-only text control that is capable of rendering wrapped text.
 class Hyperlink
          Hyperlink is a concrete implementation of the abstract base class that draws text in the client area.
 class ImageHyperlink
          This class extends hyperlink widget by adding the capability to render an image relative to the text.
 class ToggleHyperlink
          A custom selectable control that can be used to control areas that can be expanded or collapsed.
 class TreeNode
          A custom selectable control that can be used to control areas that can be expanded or collapsed.
 class Twistie
          A custom selectable control that can be used to control areas that can be expanded or collapsed.
 

Uses of Canvas in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor with parameters of type Canvas
 void DefaultRangeIndicator.paint(GC gc, Canvas canvas, Rectangle bounds)
           
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Deprecated. As of 3.0, replaced by ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Deprecated. As of 3.0, replaced by ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)
 void DefaultMarkerAnnotationAccess.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
           
 void MarkerAnnotation.paint(GC gc, Canvas canvas, Rectangle r)
          Deprecated. As of 3.0 replaced by IAnnotationAccessExtension.paint(org.eclipse.jface.text.source.Annotation, GC, Canvas, Rectangle)
 


Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.