Java Doc for X11GraphicsEnvironment.java in  » 6.0-JDK-Platform » solaris » sun » awt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Platform » solaris » sun.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


sun.awt.X11GraphicsEnvironment

X11GraphicsEnvironment
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


Field Summary
 HashMap<String, String>oblmap
    

Constructor Summary
public  X11GraphicsEnvironment()
    

Method Summary
protected  voidaddFontToPlatformFontPath(String platformName)
    
protected  FontConfigurationcreateFontConfiguration()
    
public  FontConfigurationcreateFontConfiguration(boolean preferLocaleFonts, boolean preferPropFonts)
    
public  PointgetCenterPoint()
     Override for Xinerama case: call new Solaris API for getting the correct centering point from the windowing system.
public  StringgetDefaultFontFaceName()
     Returns face name for default font, or null if no face names are used for CompositeFontDescriptors for this platform.
public  GraphicsDevicegetDefaultScreenDevice()
     Returns the default screen graphics device.
native protected  intgetDefaultScreenNum()
    
public  StringgetFileNameFromPlatformName(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.
public  StringgetFileNameFromXLFD(String name)
     Returns the face name for the given XLFD.
public  RectanglegetMaximumWindowBounds()
    
protected  String[]getNativeNames(String fontFileName, String platformName)
    
native protected  intgetNumScreens()
    
protected  voidgetPlatformFontPathFromFontConfig()
    
protected  RectanglegetXineramaWindowBounds()
     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.
public static  booleanisDisplayLocal()
    
public static  booleanisGLXAvailable()
    
public static  booleanisGLXVerbose()
    
public  voidloadFonts()
    
protected  GraphicsDevicemakeScreenDevice(int screennum)
    
public  voidpaletteChanged()
     From the DisplayChangedListener interface; devices do not need to react to this event.
protected  voidregisterFontDir(String path)
    
protected  voidregisterFontDirs(String pathName)
    
protected  voidregisterPlatformFontsUsedByFontConfiguration()
    
public  booleanrunningXinerama()
    
public static  voidsetNativeFontPath()
    

Field Detail
oblmap
HashMap<String, String> oblmap(Code)




Constructor Detail
X11GraphicsEnvironment
public X11GraphicsEnvironment()(Code)




Method Detail
addFontToPlatformFontPath
protected void addFontToPlatformFontPath(String platformName)(Code)



createFontConfiguration
protected FontConfiguration createFontConfiguration()(Code)



createFontConfiguration
public FontConfiguration createFontConfiguration(boolean preferLocaleFonts, boolean preferPropFonts)(Code)



getCenterPoint
public Point getCenterPoint()(Code)
Override for Xinerama case: call new Solaris API for getting the correct centering point from the windowing system.



getDefaultFontFaceName
public String getDefaultFontFaceName()(Code)
Returns face name for default font, or null if no face names are used for CompositeFontDescriptors for this platform.



getDefaultScreenDevice
public GraphicsDevice getDefaultScreenDevice()(Code)
Returns the default screen graphics device.



getDefaultScreenNum
native protected int getDefaultScreenNum()(Code)



getFileNameFromPlatformName
public String getFileNameFromPlatformName(String platName)(Code)
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.



getFileNameFromXLFD
public String getFileNameFromXLFD(String name)(Code)
Returns the face name for the given XLFD.



getMaximumWindowBounds
public Rectangle getMaximumWindowBounds()(Code)
Override for Xinerama case



getNativeNames
protected String[] getNativeNames(String fontFileName, String platformName)(Code)



getNumScreens
native protected int getNumScreens()(Code)



getPlatformFontPathFromFontConfig
protected void getPlatformFontPathFromFontConfig()(Code)



getXineramaWindowBounds
protected Rectangle getXineramaWindowBounds()(Code)
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.



isDisplayLocal
public static boolean isDisplayLocal()(Code)



isGLXAvailable
public static boolean isGLXAvailable()(Code)



isGLXVerbose
public static boolean isGLXVerbose()(Code)



loadFonts
public void loadFonts()(Code)



makeScreenDevice
protected GraphicsDevice makeScreenDevice(int screennum)(Code)



paletteChanged
public void paletteChanged()(Code)
From the DisplayChangedListener interface; devices do not need to react to this event.



registerFontDir
protected void registerFontDir(String path)(Code)



registerFontDirs
protected void registerFontDirs(String pathName)(Code)



registerPlatformFontsUsedByFontConfiguration
protected void registerPlatformFontsUsedByFontConfiguration()(Code)



runningXinerama
public boolean runningXinerama()(Code)



setNativeFontPath
public static void setNativeFontPath()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.