Save This Page
Home » openjdk-7 » java » awt » peer » [javadoc | source]
java.awt.peer
public interface: CanvasPeer [javadoc | source]

All Implemented Interfaces:
    ComponentPeer

The peer interface for Canvas . The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
Method from java.awt.peer.CanvasPeer Summary:
getAppropriateGraphicsConfiguration
Method from java.awt.peer.CanvasPeer Detail:
 public GraphicsConfiguration getAppropriateGraphicsConfiguration(GraphicsConfiguration gc)
    Requests a GC that best suits this Canvas. The returned GC may differ from the requested GC passed as the argument to this method. This method must return a non-null value (given the argument is non-null as well).