Java Doc for X11GraphicsEnvironment.java in » 6.0-JDK-Platform » solaris » sun » awt » Java Source Code / Java DocumentationJava Source Code and Java Documentation
public class X11GraphicsEnvironment extends SunGraphicsEnvironment (Code)
This is an implementation of a GraphicsEnvironment object for the
default local GraphicsEnvironment used by the Java Runtime Environment
for X11 environments.
See Also:GraphicsDevice See Also: GraphicsConfiguration version: 1.77 05/05/07
getFileNameFromPlatformName(String platName) Takes family name property in the following format:
"-linotype-helvetica-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1"
and returns the name of the corresponding physical font.
This code is used to resolve font configuration fonts, and expects
only to get called for these fonts.
getXineramaWindowBounds() Return the bounds for a centered Window on a system running in Xinerama
mode.
Calculations are based on the assumption of a perfectly rectangular
display area (display edges line up with one another, and displays
have consistent width and/or height).
The bounds to return depend on the arrangement of displays and on where
Windows are to be centered.
Takes family name property in the following format:
"-linotype-helvetica-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1"
and returns the name of the corresponding physical font.
This code is used to resolve font configuration fonts, and expects
only to get called for these fonts.
Return the bounds for a centered Window on a system running in Xinerama
mode.
Calculations are based on the assumption of a perfectly rectangular
display area (display edges line up with one another, and displays
have consistent width and/or height).
The bounds to return depend on the arrangement of displays and on where
Windows are to be centered. There are two common situations:
1) The center point lies at the center of the combined area of all the
displays. In this case, the combined area of all displays is
returned.
2) The center point lies at the center of a single display. In this case
the user most likely wants centered Windows to be constrained to that
single display. The boundaries of the one display are returned.
It is possible for the center point to be at both the center of the
entire display space AND at the center of a single monitor (a square of
9 monitors, for instance). In this case, the entire display area is
returned.
Because the center point is arbitrarily settable by the user, it could
fit neither of the cases above. The fallback case is to simply return
the combined area for all screens.