Save This Page
Home » openjdk-7 » sun » awt » [javadoc | source]
sun.awt
public class: Win32GraphicsEnvironment [javadoc | source]
java.lang.Object
   java.awt.GraphicsEnvironment
      sun.java2d.SunGraphicsEnvironment
         sun.awt.Win32GraphicsEnvironment

All Implemented Interfaces:
    DisplayChangedListener, FontSupport

This is an implementation of a GraphicsEnvironment object for the default local GraphicsEnvironment used by the Java Runtime Environment for Windows.
Field Summary
static  String fontsForPrinting     
Fields inherited from sun.java2d.SunGraphicsEnvironment:
isLinux,  isSolaris,  isWindows,  noType1Font,  lucidaFontName,  lucidaFileName,  debugFonts,  logger,  jreLibDirName,  jreFontDirName,  fontPath,  registeredFontFiles,  eudcFontFileName,  screens,  ttFilter,  t1Filter,  displayChanger
Constructor:
 public Win32GraphicsEnvironment() 
Method from sun.awt.Win32GraphicsEnvironment Summary:
createFontConfiguration,   createFontConfiguration,   deRegisterFontWithPlatform,   displayChanged,   getDefaultScreen,   getDefaultScreenDevice,   getNumScreens,   getXResolution,   getYResolution,   init,   initDisplayWrapper,   makeScreenDevice,   registerFontFile,   registerFontWithPlatform,   registerJREFontsForPrinting,   registerJREFontsWithPlatform,   useAbsoluteFontFileNames
Methods from sun.java2d.SunGraphicsEnvironment:
addDisplayChangedListener,   addFontToPlatformFontPath,   addToMissingFontFileList,   createCompositeFonts,   createFontConfiguration,   createFontConfiguration,   createGraphics,   displayChanged,   fontSupportsDefaultEncoding,   getAllFonts,   getAllInstalledFonts,   getAvailableFontFamilyNames,   getAvailableFontFamilyNames,   getDefaultFontFaceName,   getDefaultFontFile,   getDefaultScreenDevice,   getFileNameFromPlatformName,   getFontConfiguration,   getInstalledFontFamilyNames,   getJREFontFamilyNames,   getNativeNames,   getNumScreens,   getPlatformFontDirs,   getPlatformFontPath,   getPlatformFontPathFromFontConfig,   getScreenDevices,   getSystemStartupLocale,   getUsableBounds,   isLogicalFont,   isOpenJDK,   loadFontFiles,   loadFonts,   makeScreenDevice,   paletteChanged,   register1dot0Fonts,   registerFontDir,   registerFontDirs,   registerFontFile,   registerFontsInDir,   registerJREFontsWithPlatform,   registerPlatformFontsUsedByFontConfiguration,   removeDisplayChangedListener,   useAbsoluteFontFileNames,   useAlternateFontforJALocales
Methods from java.awt.GraphicsEnvironment:
createGraphics,   getAllFonts,   getAvailableFontFamilyNames,   getAvailableFontFamilyNames,   getCenterPoint,   getDefaultScreenDevice,   getLocalGraphicsEnvironment,   getMaximumWindowBounds,   getScreenDevices,   isHeadless,   isHeadlessInstance,   preferLocaleFonts,   preferProportionalFonts,   registerFont
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.awt.Win32GraphicsEnvironment Detail:
 protected FontConfiguration createFontConfiguration() 
 public FontConfiguration createFontConfiguration(boolean preferLocaleFonts,
    boolean preferPropFonts) 
 protected static native  void deRegisterFontWithPlatform(String fontName)
 public  void displayChanged() 
 protected native int getDefaultScreen()
 public GraphicsDevice getDefaultScreenDevice() 
 protected native int getNumScreens()
 public native int getXResolution()
    Returns the number of pixels per logical inch along the screen width. In a system with multiple display monitors, this value is the same for all monitors.
 public native int getYResolution()
    Returns the number of pixels per logical inch along the screen height. In a system with multiple display monitors, this value is the same for all monitors.
 public static  void init() 
    Noop function that just acts as an entry point for someone to force a static initialization of this class.
 public static  void initDisplayWrapper() 
 protected GraphicsDevice makeScreenDevice(int screennum) 
 protected  void registerFontFile(String fontFileName,
    String[] nativeNames,
    int fontRank,
    boolean defer) 
 protected static native  void registerFontWithPlatform(String fontName)
 public static  void registerJREFontsForPrinting() 
 protected  void registerJREFontsWithPlatform(String pathName) 
 protected boolean useAbsoluteFontFileNames() 
    Whether registerFontFile expects absolute or relative font file names.