|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.GraphicsEnvironment
GraphicsDevice
,
GraphicsConfiguration
Constructor Summary | |
GraphicsEnvironment()
|
Method Summary | |
abstract Graphics2D | createGraphics(BufferedImage img)
Returns a Graphics2D object for rendering into the given BufferedImage. |
abstract Font[] | getAllFonts()
Returns an array containing a one-point size instance of all fonts available in this environment. |
abstract String[] | getAvailableFontFamilyNames()
Returns an array containing the names of all font families available in this environment. |
abstract String[] | getAvailableFontFamilyNames(Locale l)
Returns an array containing the localized names of all font families available in this environment. |
abstract GraphicsDevice | getDefaultScreenDevice()
Returns the default screen graphics device. |
abstract Font[] | getFonts(Map attributes)
Returns an array containing a instances of all fonts available in this environment which match the attributes specified in the Map. |
static GraphicsEnvironment | getLocalGraphicsEnvironment()
Returns the local graphics environment. |
abstract GraphicsDevice[] | getScreenDevices()
Returns an array of all of the screen devices. |
abstract boolean | registerFont(byte[] fontData)
Allows an application to provide additional fonts for use in rendering. |
Methods inherited from class java.lang.Object | |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Constructor Detail |
protected GraphicsEnvironment()
Method Detail |
public static GraphicsEnvironment getLocalGraphicsEnvironment()
public abstract GraphicsDevice[] getScreenDevices()
public abstract GraphicsDevice getDefaultScreenDevice()
public abstract Graphics2D createGraphics(BufferedImage img)
public abstract Font[] getAllFonts()
getFonts(java.util.Map)
,
getAvailableFontFamilyNames()
,
Font
,
Font.deriveFont(int, float)
,
Font.getFontName()
,
MultipleMaster.deriveMMFont(float[])
public abstract Font[] getFonts(Map attributes)
getAllFonts()
,
getAvailableFontFamilyNames()
,
Font
,
Font.deriveFont(int, float)
,
Font.getFontName()
public abstract String[] getAvailableFontFamilyNames()
getAllFonts()
,
getFonts(java.util.Map)
,
Font
,
Font.getFamily()
public abstract boolean registerFont(byte[] fontData)
fontData
- - source of font data.java.awt.io.InputStream
,
getAllFonts()
,
getAvailableFontFamilyNames()
,
Font
public abstract String[] getAvailableFontFamilyNames(Locale l)
getAllFonts()
,
getFonts(java.util.Map)
,
Font
,
java.awt.Font#getFontFamilyName
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |