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

Packages that use Canvas
Package
Description
org.eclipse.e4.ui.widgets
org.eclipse.help.ui.internal
org.eclipse.jface.dialogs
Provides support for dialogs.
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.swt.custom
SWT Custom widgets.
org.eclipse.swt.opengl
SWT OpenGL support.
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.e4.ui.widgets

Subclasses of Canvas in org.eclipse.e4.ui.widgets
Modifier and Type
Class
Description
`class`
`ImageBasedFrame`

## Uses of Canvas in org.eclipse.help.ui.internal

Subclasses of Canvas in org.eclipse.help.ui.internal
Modifier and Type
Class
Description
`static class`
`ContextHelpDialog.Description`
`class`
`HyperlinkLabel`
A canvas holding a hyperlink label.

## Uses of Canvas in org.eclipse.jface.dialogs

Subclasses of Canvas in org.eclipse.jface.dialogs
Modifier and Type
Class
Description
`class`
`MessageLine`
A message line displaying a status.

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

Methods in org.eclipse.jface.text.source with parameters of type Canvas
Modifier and Type
Method
Description
`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.
`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.
`void`
IAnnotationAccessExtension.`paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)`
Draws a graphical representation of the given annotation within the given bounds.
`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
Modifier and Type
Method
Description
`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
Modifier and Type
Class
Description
`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.
`class`
`TreeCursor`
A TreeCursor provides a way for the user to navigate around a Tree with columns using the keyboard.

## Uses of Canvas in org.eclipse.swt.opengl

Subclasses of Canvas in org.eclipse.swt.opengl
Modifier and Type
Class
Description
`class`
`GLCanvas`
GLCanvas is a widget capable of displaying OpenGL content.

## Uses of Canvas in org.eclipse.swt.widgets

Subclasses of Canvas in org.eclipse.swt.widgets
Modifier and Type
Class
Description
`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
Modifier and Type
Method
Description
`Canvas`
Caret.`getParent()`
Returns the receiver's parent, which must be a `Canvas`.
Constructors in org.eclipse.swt.widgets with parameters of type Canvas
Modifier
Constructor
Description
``
`Caret(Canvas parent, int style)`
Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.
``
`IME(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
Modifier and Type
Class
Description
`class`
`AbstractHyperlink`
This is the base class for custom hyperlink widget.
`class`
`ExpandableComposite`
This composite is capable of expanding or collapsing a single client that is its direct child.
`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`
`Section`
A variation of the expandable composite that adds optional description below the title.
`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
Modifier and Type
Method
Description
`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)`
`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)`
`void`
DefaultMarkerAnnotationAccess.`paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)`
`void`
DefaultRangeIndicator.`paint(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)`