Java Doc for X11GraphicsConfig.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) 


java.lang.Object
   java.awt.GraphicsConfiguration
      sun.awt.X11GraphicsConfig

All known Subclasses:   sun.java2d.opengl.GLXGraphicsConfig,
X11GraphicsConfig
public class X11GraphicsConfig extends GraphicsConfiguration implements SurfaceManager.ProxiedGraphicsConfig(Code)
This is an implementation of a GraphicsConfiguration object for a single X11 visual.
See Also:   GraphicsEnvironment
See Also:   GraphicsDevice
version:
   1.77, 05/05/07


Field Summary
 longaData
    
protected  intbitsPerPixel
    
 ColorModelcolorModel
    
 intcolormap
    
 intdepth
    
 booleandoubleBuffer
    
protected  X11GraphicsDevicescreen
    
public  RenderLoopssolidloops
    
protected  SurfaceTypesurfaceType
    
protected  intvisual
    

Constructor Summary
protected  X11GraphicsConfig(X11GraphicsDevice device, int visualnum, int depth, int colormap, boolean doubleBuffer)
    

Method Summary
public  ImagecreateAcceleratedImage(Component target, int width, int height)
     Creates a new hidden-acceleration image of the given width and height that is associated with the target Component.
public  longcreateBackBuffer(X11ComponentPeer peer, int numBuffers, BufferCapabilities caps)
     Attempts to create an XDBE-based backbuffer for the given peer.
public  VolatileImagecreateBackBufferImage(Component target, long backBuffer)
     Creates a VolatileImage that essentially wraps the target Component's backbuffer, using the provided backbuffer handle.
public  SurfaceDatacreateSurfaceData(X11ComponentPeer peer)
     Creates a new SurfaceData that will be associated with the given X11ComponentPeer.
native public  voiddestroyBackBuffer(long backBuffer)
     Destroys the backbuffer object represented by the given handle value.
public  voidflip(X11ComponentPeer peer, Component target, VolatileImage xBackBuffer, BufferCapabilities.FlipContents flipAction)
     Performs the native XDBE flip operation for the given target Component.
public  longgetAData()
    
public  intgetBitsPerPixel()
    
public  RectanglegetBounds()
    
public  BufferCapabilitiesgetBufferCapabilities()
    
public synchronized  ColorModelgetColorModel()
     Returns the color model associated with this configuration.
public  ColorModelgetColorModel(int transparency)
     Returns the color model associated with this configuration that supports the specified transparency.
public  intgetColormap()
     Returns the colormap associated with this configuration.
public static  X11GraphicsConfiggetConfig(X11GraphicsDevice device, int visualnum, int depth, int colormap, boolean doubleBuffer)
    
public static  X11GraphicsConfiggetConfig(X11GraphicsDevice device, int visualnum, int depth, int colormap, int type)
    
public  AffineTransformgetDefaultTransform()
     Returns the default Transform for this configuration.
public  intgetDepth()
     Returns the depth associated with this configuration.
public  GraphicsDevicegetDevice()
     Return the graphics device associated with this configuration.
public  ImageCapabilitiesgetImageCapabilities()
    
public  AffineTransformgetNormalizingTransform()
     Returns a Transform that can be composed with the default Transform of a Graphics2D so that 72 units in user space will equal 1 inch in device space.
public  ObjectgetProxyKey()
    
public synchronized  RenderLoopsgetSolidLoops(SurfaceType stype)
     Return the RenderLoops this type of destination uses for solid fills and strokes.
public synchronized  SurfaceTypegetSurfaceType()
    
public  intgetVisual()
     Returns the visual id associated with this configuration.
public  booleanisDoubleBuffered()
    
native public  RectanglepGetBounds(int screenNum)
    
public  StringtoString()
    

Field Detail
aData
long aData(Code)



bitsPerPixel
protected int bitsPerPixel(Code)



colorModel
ColorModel colorModel(Code)



colormap
int colormap(Code)



depth
int depth(Code)



doubleBuffer
boolean doubleBuffer(Code)



screen
protected X11GraphicsDevice screen(Code)



solidloops
public RenderLoops solidloops(Code)



surfaceType
protected SurfaceType surfaceType(Code)



visual
protected int visual(Code)




Constructor Detail
X11GraphicsConfig
protected X11GraphicsConfig(X11GraphicsDevice device, int visualnum, int depth, int colormap, boolean doubleBuffer)(Code)




Method Detail
createAcceleratedImage
public Image createAcceleratedImage(Component target, int width, int height)(Code)
Creates a new hidden-acceleration image of the given width and height that is associated with the target Component.



createBackBuffer
public long createBackBuffer(X11ComponentPeer peer, int numBuffers, BufferCapabilities caps) throws AWTException(Code)
Attempts to create an XDBE-based backbuffer for the given peer. If the requested configuration is not natively supported, an AWTException is thrown. Otherwise, if the backbuffer creation is successful, a handle to the native backbuffer is returned.



createBackBufferImage
public VolatileImage createBackBufferImage(Component target, long backBuffer)(Code)
Creates a VolatileImage that essentially wraps the target Component's backbuffer, using the provided backbuffer handle.



createSurfaceData
public SurfaceData createSurfaceData(X11ComponentPeer peer)(Code)
Creates a new SurfaceData that will be associated with the given X11ComponentPeer.



destroyBackBuffer
native public void destroyBackBuffer(long backBuffer)(Code)
Destroys the backbuffer object represented by the given handle value.



flip
public void flip(X11ComponentPeer peer, Component target, VolatileImage xBackBuffer, BufferCapabilities.FlipContents flipAction)(Code)
Performs the native XDBE flip operation for the given target Component.



getAData
public long getAData()(Code)



getBitsPerPixel
public int getBitsPerPixel()(Code)
Returns a number of bits allocated per pixel (might be different from depth)



getBounds
public Rectangle getBounds()(Code)



getBufferCapabilities
public BufferCapabilities getBufferCapabilities()(Code)



getColorModel
public synchronized ColorModel getColorModel()(Code)
Returns the color model associated with this configuration.



getColorModel
public ColorModel getColorModel(int transparency)(Code)
Returns the color model associated with this configuration that supports the specified transparency.



getColormap
public int getColormap()(Code)
Returns the colormap associated with this configuration.



getConfig
public static X11GraphicsConfig getConfig(X11GraphicsDevice device, int visualnum, int depth, int colormap, boolean doubleBuffer)(Code)



getConfig
public static X11GraphicsConfig getConfig(X11GraphicsDevice device, int visualnum, int depth, int colormap, int type)(Code)



getDefaultTransform
public AffineTransform getDefaultTransform()(Code)
Returns the default Transform for this configuration. This Transform is typically the Identity transform for most normal screens. Device coordinates for screen and printer devices will have the origin in the upper left-hand corner of the target region of the device, with X coordinates increasing to the right and Y coordinates increasing downwards. For image buffers, this Transform will be the Identity transform.



getDepth
public int getDepth()(Code)
Returns the depth associated with this configuration.



getDevice
public GraphicsDevice getDevice()(Code)
Return the graphics device associated with this configuration.



getImageCapabilities
public ImageCapabilities getImageCapabilities()(Code)



getNormalizingTransform
public AffineTransform getNormalizingTransform()(Code)
Returns a Transform that can be composed with the default Transform of a Graphics2D so that 72 units in user space will equal 1 inch in device space. Given a Graphics2D, g, one can reset the transformation to create such a mapping by using the following pseudocode:
 GraphicsConfiguration gc = g.getGraphicsConfiguration();
 g.setTransform(gc.getDefaultTransform());
 g.transform(gc.getNormalizingTransform());
 
Note that sometimes this Transform will be identity (e.g. for printers or metafile output) and that this Transform is only as accurate as the information supplied by the underlying system. For image buffers, this Transform will be the Identity transform, since there is no valid distance measurement.



getProxyKey
public Object getProxyKey()(Code)



getSolidLoops
public synchronized RenderLoops getSolidLoops(SurfaceType stype)(Code)
Return the RenderLoops this type of destination uses for solid fills and strokes.



getSurfaceType
public synchronized SurfaceType getSurfaceType()(Code)



getVisual
public int getVisual()(Code)
Returns the visual id associated with this configuration.



isDoubleBuffered
public boolean isDoubleBuffered()(Code)



pGetBounds
native public Rectangle pGetBounds(int screenNum)(Code)



toString
public String toString()(Code)



Methods inherited from java.awt.GraphicsConfiguration
public BufferedImage createCompatibleImage(int width, int height)(Code)(Java Doc)
public BufferedImage createCompatibleImage(int width, int height, int transparency)(Code)(Java Doc)
public VolatileImage createCompatibleVolatileImage(int width, int height)(Code)(Java Doc)
public VolatileImage createCompatibleVolatileImage(int width, int height, int transparency)(Code)(Java Doc)
public VolatileImage createCompatibleVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc)
public VolatileImage createCompatibleVolatileImage(int width, int height, ImageCapabilities caps, int transparency) throws AWTException(Code)(Java Doc)
abstract public Rectangle getBounds()(Code)(Java Doc)
public BufferCapabilities getBufferCapabilities()(Code)(Java Doc)
abstract public ColorModel getColorModel()(Code)(Java Doc)
abstract public ColorModel getColorModel(int transparency)(Code)(Java Doc)
abstract public AffineTransform getDefaultTransform()(Code)(Java Doc)
abstract public GraphicsDevice getDevice()(Code)(Java Doc)
public ImageCapabilities getImageCapabilities()(Code)(Java Doc)
abstract public AffineTransform getNormalizingTransform()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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