Graphics and Widgets

The following are interfaces for handling graphics and fonts as well as a few special widgets. The implementations of these interfaces are different depending on the user's platform, although the interfaces are the same.

Jump to:


Fonts

These interfaces are used for handling fonts. You can use them to get installed fonts.

nsIFontCatalogEntry
nsIFontCatalogService
nsIFontEnumerator
nsIFontList
nsIFontPackageHandler
nsIFontPackageProxy
nsIFontPackageService
nsIFreeType2
nsITrueTypeFontCatalogEntry

@mozilla.org/freetype2;1
@mozilla.org/gfx/fontenumerator;1
@mozilla.org/gfx/fontlist;1
@mozilla.org/gfx/fontmetrics;1
@mozilla.org/gfx/xfontcatalogservice;1


Printing

Some printing related interfaces, mainly for getting and setting the list of installed printers and print options, which would be used by a Page Setup dialog.

nsIPrintOptions
nsIPrintSession
nsIPrintSettings
nsIPrintSettingsMac
nsIPrintSettingsService
nsIPrintSettingsWin
nsIPrintSettingsX
nsIPrinterEnumerator

@mozilla.org/gfx/printerenumerator;1
@mozilla.org/gfx/printsession;1
@mozilla.org/gfx/printsettings-service;1


General Interfaces

Some general graphics related interfaces. The nsIScreen and nsIScreenManager can be used to get display related information. The nsISound interface can be used to play audio files.

nsIChangeManager
nsIChangeObserver
nsIFilePicker
nsIFileView
nsIMacTextInputEventSink
nsIMenuCommandDispatcher
nsINativeScrollbar
nsIRollupListener
nsIScreen
nsIScreenManager
nsIScriptableRegion
nsISound
nsIToolkit
nsPIEventSinkStandalone
nsPIWidgetMac

General Components

Some general graphics related components.

@mozilla.org/gfx/blender;1
@mozilla.org/gfx/decidecontext/ps;1
@mozilla.org/gfx/decidecontext/xprint;1
@mozilla.org/gfx/devicecontext;1
@mozilla.org/gfx/devicecontextspec;1
@mozilla.org/gfx/devicecontextspecfactory;1
@mozilla.org/gfx/region/gtk;1
@mozilla.org/gfx/region;1
@mozilla.org/gfx/renderingcontext;1
@mozilla.org/gfx/screenmanager;1
@mozilla.org/svg/rect;1
@mozilla.org/svg/renderer;1?tech=CAIRO

Widgets

Components used to implement specific widgets.

@mozilla.org/filepicker/fileview;1
@mozilla.org/filepicker;1
@mozilla.org/sound;1
@mozilla.org/widget/appshell/gtk;1
@mozilla.org/widget/bidikeyboard;1
@mozilla.org/widget/htmlformatconverter/gtk;1
@mozilla.org/widget/htmlformatconverter;1
@mozilla.org/widget/label/gtk;1
@mozilla.org/widget/lookandfeel/gtk;1
@mozilla.org/widget/lookandfeel;1
@mozilla.org/widget/native-key-bindings;1?type=editor
@mozilla.org/widget/native-key-bindings;1?type=input
@mozilla.org/widget/native-key-bindings;1?type=textarea
@mozilla.org/widget/toolkit/gtk;1
@mozilla.org/widget/window/gtk;1
@mozilla.org/widgets/button/gtk;1
@mozilla.org/widgets/checkbutton/gtk;1
@mozilla.org/widgets/child_window/gtk;1
@mozilla.org/widgets/horizscroll/gtk;1
@mozilla.org/widgets/textwidget/gtk;1
@mozilla.org/widgets/vertscroll/gtk;1
@mozilla.org/widgets/window/gtk;1

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com