API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.peer. ComponentPeer View Source
Author(s)
Since
Version
Serial
Hierarchy
 ComponentPeer
Subinterfaces
Description
public interface ComponentPeer
  The peer interfaces are intended only for use in porting the AWT.
See also:   
Methods
Hide/Show inherited methods
public boolean canDetermineObscurity ()
public int checkImage (Image img, int w, int h, ImageObserver o)
public void coalescePaintEvent (PaintEvent e)
public void createBuffers (int numBuffers, BufferCapabilities caps) throws AWTException
public Image createImage (ImageProducer producer)
public Image createImage (int width, int height)
public VolatileImage createVolatileImage (int width, int height)
public void destroyBuffers ()
public void disable ()
DEPRECATED: Replaced by setEnabled(boolean).
public void dispose ()
public void enable ()
DEPRECATED: Replaced by setEnabled(boolean).
public void flip (FlipContents flipAction)
public Image getBackBuffer ()
public Rectangle getBounds ()
public ColorModel getColorModel ()
public FontMetrics getFontMetrics (Font font)
public Graphics getGraphics ()
public GraphicsConfiguration getGraphicsConfiguration ()
public Point getLocationOnScreen ()
public Dimension getMinimumSize ()
public Dimension getPreferredSize ()
public Toolkit getToolkit ()
public void handleEvent (AWTEvent e)
public boolean handlesWheelScrolling ()
public void hide ()
DEPRECATED: Replaced by setVisible(boolean).
public boolean isFocusable ()
public boolean isObscured ()
public boolean isReparentSupported ()
  Returns whether this peer supports reparenting to another parent withour destroying the peer
public void layout ()
  Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements.
public Dimension minimumSize ()
DEPRECATED: Replaced by getMinimumSize().
public void paint (Graphics g)
public Dimension preferredSize ()
DEPRECATED: Replaced by getPreferredSize().
public boolean prepareImage (Image img, int w, int h, ImageObserver o)
public void print (Graphics g)
public void repaint (long tm, int x, int y, int width, int height)
public void reparent (ContainerPeer newContainer)
  Reparents this peer to the new parent referenced by newContainer peer Implementation depends on toolkit and container.
public boolean requestFocus (Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, sun.awt.CausedFocusEvent.Cause cause)
public void reshape (int x, int y, int width, int height)
DEPRECATED: Replaced by setBounds(int, int, int, int).
public void setBackground (Color c)
public void setBounds (int x, int y, int width, int height, int op)
public void setEnabled (boolean b)
public void setFont (Font f)
public void setForeground (Color c)
public void setVisible (boolean b)
public void show ()
DEPRECATED: Replaced by setVisible(boolean).
public void updateCursorImmediately ()
Fields
Hide/Show inherited fields
publicfinalstatic int DEFAULT_OPERATION = "3"
publicfinalstatic int NO_EMBEDDED_CHECK = "16384"
publicfinalstatic int RESET_OPERATION = "5"
publicfinalstatic int SET_BOUNDS = "3"
publicfinalstatic int SET_CLIENT_SIZE = "4"
publicfinalstatic int SET_LOCATION = "1"
publicfinalstatic int SET_SIZE = "2"
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar