Java Doc for ComponentPeer.java in  » 6.0-JDK-Core » AWT » java » awt » peer » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
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
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » AWT » java.awt.peer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.peer.ComponentPeer

ComponentPeer
public interface ComponentPeer (Code)
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.


Field Summary
final public static  intSET_LOCATIONSET_SIZESET_BOUNDSSET_CLIENT_SIZERESET_OPERATIONNO_EMBEDDED_CHECKDEFAULT_OPERATION
    


Method Summary
 booleancanDetermineObscurity()
    
 intcheckImage(Image img, int w, int h, ImageObserver o)
    
 voidcoalescePaintEvent(PaintEvent e)
    
 voidcreateBuffers(int numBuffers, BufferCapabilities caps)
    
 ImagecreateImage(ImageProducer producer)
    
 ImagecreateImage(int width, int height)
    
 VolatileImagecreateVolatileImage(int width, int height)
    
 voiddestroyBuffers()
    
 voiddisable()
     DEPRECATED: Replaced by setEnabled(boolean).
 voiddispose()
    
 voidenable()
     DEPRECATED: Replaced by setEnabled(boolean).
 voidflip(BufferCapabilities.FlipContents flipAction)
    
 ImagegetBackBuffer()
    
 RectanglegetBounds()
    
 ColorModelgetColorModel()
    
 FontMetricsgetFontMetrics(Font font)
    
 GraphicsgetGraphics()
    
 GraphicsConfigurationgetGraphicsConfiguration()
    
 PointgetLocationOnScreen()
    
 DimensiongetMinimumSize()
    
 DimensiongetPreferredSize()
    
 ToolkitgetToolkit()
    
 voidhandleEvent(AWTEvent e)
    
 booleanhandlesWheelScrolling()
    
 voidhide()
     DEPRECATED: Replaced by setVisible(boolean).
 booleanisFocusable()
    
 booleanisObscured()
    
 booleanisReparentSupported()
    
 voidlayout()
     Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements.
 DimensionminimumSize()
     DEPRECATED: Replaced by getMinimumSize().
 voidpaint(Graphics g)
    
 DimensionpreferredSize()
     DEPRECATED: Replaced by getPreferredSize().
 booleanprepareImage(Image img, int w, int h, ImageObserver o)
    
 voidprint(Graphics g)
    
 voidrepaint(long tm, int x, int y, int width, int height)
    
 voidreparent(ContainerPeer newContainer)
     Reparents this peer to the new parent referenced by newContainer peer Implementation depends on toolkit and container.
 booleanrequestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)
    
 voidreshape(int x, int y, int width, int height)
     DEPRECATED: Replaced by setBounds(int, int, int, int).
 voidsetBackground(Color c)
    
 voidsetBounds(int x, int y, int width, int height, int op)
    
 voidsetEnabled(boolean b)
    
 voidsetFont(Font f)
    
 voidsetForeground(Color c)
    
 voidsetVisible(boolean b)
    
 voidshow()
     DEPRECATED: Replaced by setVisible(boolean).
 voidupdateCursorImmediately()
    

Field Detail
SET_LOCATIONSET_SIZESET_BOUNDSSET_CLIENT_SIZERESET_OPERATIONNO_EMBEDDED_CHECKDEFAULT_OPERATION
final public static int SET_LOCATIONSET_SIZESET_BOUNDSSET_CLIENT_SIZERESET_OPERATIONNO_EMBEDDED_CHECKDEFAULT_OPERATION(Code)





Method Detail
canDetermineObscurity
boolean canDetermineObscurity()(Code)



checkImage
int checkImage(Image img, int w, int h, ImageObserver o)(Code)



coalescePaintEvent
void coalescePaintEvent(PaintEvent e)(Code)



createBuffers
void createBuffers(int numBuffers, BufferCapabilities caps) throws AWTException(Code)



createImage
Image createImage(ImageProducer producer)(Code)



createImage
Image createImage(int width, int height)(Code)



createVolatileImage
VolatileImage createVolatileImage(int width, int height)(Code)



destroyBuffers
void destroyBuffers()(Code)



disable
void disable()(Code)
DEPRECATED: Replaced by setEnabled(boolean).



dispose
void dispose()(Code)



enable
void enable()(Code)
DEPRECATED: Replaced by setEnabled(boolean).



flip
void flip(BufferCapabilities.FlipContents flipAction)(Code)



getBackBuffer
Image getBackBuffer()(Code)



getBounds
Rectangle getBounds()(Code)



getColorModel
ColorModel getColorModel()(Code)



getFontMetrics
FontMetrics getFontMetrics(Font font)(Code)



getGraphics
Graphics getGraphics()(Code)



getGraphicsConfiguration
GraphicsConfiguration getGraphicsConfiguration()(Code)



getLocationOnScreen
Point getLocationOnScreen()(Code)



getMinimumSize
Dimension getMinimumSize()(Code)



getPreferredSize
Dimension getPreferredSize()(Code)



getToolkit
Toolkit getToolkit()(Code)



handleEvent
void handleEvent(AWTEvent e)(Code)



handlesWheelScrolling
boolean handlesWheelScrolling()(Code)



hide
void hide()(Code)
DEPRECATED: Replaced by setVisible(boolean).



isFocusable
boolean isFocusable()(Code)



isObscured
boolean isObscured()(Code)



isReparentSupported
boolean isReparentSupported()(Code)
Returns whether this peer supports reparenting to another parent withour destroying the peer true if appropriate reparent is supported, false otherwise
since:
   1.5



layout
void layout()(Code)
Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements. For instance, a lightweight Checkbox needs to layout the box, as well as the text label.



minimumSize
Dimension minimumSize()(Code)
DEPRECATED: Replaced by getMinimumSize().



paint
void paint(Graphics g)(Code)



preferredSize
Dimension preferredSize()(Code)
DEPRECATED: Replaced by getPreferredSize().



prepareImage
boolean prepareImage(Image img, int w, int h, ImageObserver o)(Code)



print
void print(Graphics g)(Code)



repaint
void repaint(long tm, int x, int y, int width, int height)(Code)



reparent
void reparent(ContainerPeer newContainer)(Code)
Reparents this peer to the new parent referenced by newContainer peer Implementation depends on toolkit and container.
Parameters:
  newContainer - peer of the new parent container
since:
   1.5



requestFocus
boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, CausedFocusEvent.Cause cause)(Code)



reshape
void reshape(int x, int y, int width, int height)(Code)
DEPRECATED: Replaced by setBounds(int, int, int, int).



setBackground
void setBackground(Color c)(Code)



setBounds
void setBounds(int x, int y, int width, int height, int op)(Code)



setEnabled
void setEnabled(boolean b)(Code)



setFont
void setFont(Font f)(Code)



setForeground
void setForeground(Color c)(Code)



setVisible
void setVisible(boolean b)(Code)



show
void show()(Code)
DEPRECATED: Replaced by setVisible(boolean).



updateCursorImmediately
void updateCursorImmediately()(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.