Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.swt.graphics
Interface Drawable

All Known Implementing Classes:
AbstractHyperlink, AnimatedProgress, Browser, Button, Canvas, CBanner, CCombo, CLabel, Combo, CompareViewerPane, CompareViewerSwitchingPane, Composite, Control, CoolBar, CTabFolder, DateTime, Decorations, Device, Display, DrillDownComposite, ExpandableComposite, ExpandBar, FilteredList, FilteredTree, Form, FormText, GLCanvas, Group, Hyperlink, Image, ImageAndMessageArea, ImageHyperlink, Label, Link, List, OleClientSite, OleControlSite, OleFrame, PageBook, Printer, ProgressBar, ProgressIndicator, ProgressMonitorPart, Sash, SashForm, Scale, Scrollable, ScrolledComposite, ScrolledForm, ScrolledFormText, ScrolledPageBook, Section, SharedScrolledComposite, Shell, Slider, Spinner, Splitter, StyledText, TabFolder, Table, TableCursor, TableTree, Text, ToggleHyperlink, ToolBar, Tree, TreeNode, Twistie, ViewForm

public interface Drawable

Implementers of Drawable can have a graphics context (GC) created for them, and then they can be drawn on by sending messages to their associated GC. SWT images, and device objects such as the Display device and the Printer device, are drawables.

IMPORTANT: This interface is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It should never be referenced from application code.

See Also:
Device, Image, GC

Method Summary
 void internal_dispose_GC (int handle, GCData data)
          Invokes platform specific functionality to dispose a GC handle.
 int internal_new_GC ( GCData data)
          Invokes platform specific functionality to allocate a new GC handle.
 

Method Detail

internal_new_GC

int internal_new_GC(
GCData data)
Invokes platform specific functionality to allocate a new GC handle.

IMPORTANT: This method is not part of the public API for Drawable. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code.

Parameters:
data - the platform specific GC data
Returns:
the platform specific GC handle

internal_dispose_GC

void internal_dispose_GC(int handle,
                         
GCData data)
Invokes platform specific functionality to dispose a GC handle.

IMPORTANT: This method is not part of the public API for Drawable. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code.

Parameters:
handle - the platform specific GC handle
data - the platform specific GC data

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire