java.awt.peer
Interface ComponentPeer

All Known Subinterfaces:
ButtonPeer sample code for java.awt.peer.ButtonPeer definition code for java.awt.peer.ButtonPeer , CanvasPeer sample code for java.awt.peer.CanvasPeer definition code for java.awt.peer.CanvasPeer , CheckboxPeer sample code for java.awt.peer.CheckboxPeer definition code for java.awt.peer.CheckboxPeer , ChoicePeer sample code for java.awt.peer.ChoicePeer definition code for java.awt.peer.ChoicePeer , ContainerPeer sample code for java.awt.peer.ContainerPeer definition code for java.awt.peer.ContainerPeer , DialogPeer sample code for java.awt.peer.DialogPeer definition code for java.awt.peer.DialogPeer , FileDialogPeer sample code for java.awt.peer.FileDialogPeer definition code for java.awt.peer.FileDialogPeer , FramePeer sample code for java.awt.peer.FramePeer definition code for java.awt.peer.FramePeer , LabelPeer sample code for java.awt.peer.LabelPeer definition code for java.awt.peer.LabelPeer , LightweightPeer sample code for java.awt.peer.LightweightPeer definition code for java.awt.peer.LightweightPeer , ListPeer sample code for java.awt.peer.ListPeer definition code for java.awt.peer.ListPeer , PanelPeer sample code for java.awt.peer.PanelPeer definition code for java.awt.peer.PanelPeer , ScrollbarPeer sample code for java.awt.peer.ScrollbarPeer definition code for java.awt.peer.ScrollbarPeer , ScrollPanePeer sample code for java.awt.peer.ScrollPanePeer definition code for java.awt.peer.ScrollPanePeer , TextAreaPeer sample code for java.awt.peer.TextAreaPeer definition code for java.awt.peer.TextAreaPeer , TextComponentPeer sample code for java.awt.peer.TextComponentPeer definition code for java.awt.peer.TextComponentPeer , TextFieldPeer sample code for java.awt.peer.TextFieldPeer definition code for java.awt.peer.TextFieldPeer , WindowPeer sample code for java.awt.peer.WindowPeer definition code for java.awt.peer.WindowPeer

public interface ComponentPeer

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
static int DEFAULT_OPERATION sample code for java.awt.peer.ComponentPeer.DEFAULT_OPERATION definition code for java.awt.peer.ComponentPeer.DEFAULT_OPERATION
           
static int NO_EMBEDDED_CHECK sample code for java.awt.peer.ComponentPeer.NO_EMBEDDED_CHECK definition code for java.awt.peer.ComponentPeer.NO_EMBEDDED_CHECK
           
static int RESET_OPERATION sample code for java.awt.peer.ComponentPeer.RESET_OPERATION definition code for java.awt.peer.ComponentPeer.RESET_OPERATION
           
static int SET_BOUNDS sample code for java.awt.peer.ComponentPeer.SET_BOUNDS definition code for java.awt.peer.ComponentPeer.SET_BOUNDS
           
static int SET_CLIENT_SIZE sample code for java.awt.peer.ComponentPeer.SET_CLIENT_SIZE definition code for java.awt.peer.ComponentPeer.SET_CLIENT_SIZE
           
static int SET_LOCATION sample code for java.awt.peer.ComponentPeer.SET_LOCATION definition code for java.awt.peer.ComponentPeer.SET_LOCATION
           
static int SET_SIZE sample code for java.awt.peer.ComponentPeer.SET_SIZE definition code for java.awt.peer.ComponentPeer.SET_SIZE
           
 
Method Summary
 boolean canDetermineObscurity sample code for java.awt.peer.ComponentPeer.canDetermineObscurity() definition code for java.awt.peer.ComponentPeer.canDetermineObscurity() ()
           
 int checkImage sample code for java.awt.peer.ComponentPeer.checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver) definition code for java.awt.peer.ComponentPeer.checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver) (Image sample code for java.awt.Image definition code for java.awt.Image  img, int w, int h, ImageObserver sample code for java.awt.image.ImageObserver definition code for java.awt.image.ImageObserver  o)
           
 void coalescePaintEvent sample code for java.awt.peer.ComponentPeer.coalescePaintEvent(java.awt.event.PaintEvent) definition code for java.awt.peer.ComponentPeer.coalescePaintEvent(java.awt.event.PaintEvent) (PaintEvent sample code for java.awt.event.PaintEvent definition code for java.awt.event.PaintEvent  e)
           
 void createBuffers sample code for java.awt.peer.ComponentPeer.createBuffers(int, java.awt.BufferCapabilities) definition code for java.awt.peer.ComponentPeer.createBuffers(int, java.awt.BufferCapabilities) (int numBuffers, BufferCapabilities sample code for java.awt.BufferCapabilities definition code for java.awt.BufferCapabilities  caps)
           
 Image sample code for java.awt.Image definition code for java.awt.Image createImage sample code for java.awt.peer.ComponentPeer.createImage(java.awt.image.ImageProducer) definition code for java.awt.peer.ComponentPeer.createImage(java.awt.image.ImageProducer) (ImageProducer sample code for java.awt.image.ImageProducer definition code for java.awt.image.ImageProducer  producer)
           
 Image sample code for java.awt.Image definition code for java.awt.Image createImage sample code for java.awt.peer.ComponentPeer.createImage(int, int) definition code for java.awt.peer.ComponentPeer.createImage(int, int) (int width, int height)
           
 VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage createVolatileImage sample code for java.awt.peer.ComponentPeer.createVolatileImage(int, int) definition code for java.awt.peer.ComponentPeer.createVolatileImage(int, int) (int width, int height)
           
 void destroyBuffers sample code for java.awt.peer.ComponentPeer.destroyBuffers() definition code for java.awt.peer.ComponentPeer.destroyBuffers() ()
           
 void disable sample code for java.awt.peer.ComponentPeer.disable() definition code for java.awt.peer.ComponentPeer.disable() ()
          DEPRECATED: Replaced by setEnabled(boolean).
 void dispose sample code for java.awt.peer.ComponentPeer.dispose() definition code for java.awt.peer.ComponentPeer.dispose() ()
           
 void enable sample code for java.awt.peer.ComponentPeer.enable() definition code for java.awt.peer.ComponentPeer.enable() ()
          DEPRECATED: Replaced by setEnabled(boolean).
 void flip sample code for java.awt.peer.ComponentPeer.flip(java.awt.BufferCapabilities.FlipContents) definition code for java.awt.peer.ComponentPeer.flip(java.awt.BufferCapabilities.FlipContents) (BufferCapabilities.FlipContents sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.BufferCapabilities.FlipContents  flipAction)
           
 Image sample code for java.awt.Image definition code for java.awt.Image getBackBuffer sample code for java.awt.peer.ComponentPeer.getBackBuffer() definition code for java.awt.peer.ComponentPeer.getBackBuffer() ()
           
 Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle getBounds sample code for java.awt.peer.ComponentPeer.getBounds() definition code for java.awt.peer.ComponentPeer.getBounds() ()
           
 ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel getColorModel sample code for java.awt.peer.ComponentPeer.getColorModel() definition code for java.awt.peer.ComponentPeer.getColorModel() ()
           
 FontMetrics sample code for java.awt.FontMetrics definition code for java.awt.FontMetrics getFontMetrics sample code for java.awt.peer.ComponentPeer.getFontMetrics(java.awt.Font) definition code for java.awt.peer.ComponentPeer.getFontMetrics(java.awt.Font) (Font sample code for java.awt.Font definition code for java.awt.Font  font)
           
 Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics getGraphics sample code for java.awt.peer.ComponentPeer.getGraphics() definition code for java.awt.peer.ComponentPeer.getGraphics() ()
           
 GraphicsConfiguration sample code for java.awt.GraphicsConfiguration definition code for java.awt.GraphicsConfiguration getGraphicsConfiguration sample code for java.awt.peer.ComponentPeer.getGraphicsConfiguration() definition code for java.awt.peer.ComponentPeer.getGraphicsConfiguration() ()
           
 Point sample code for java.awt.Point definition code for java.awt.Point getLocationOnScreen sample code for java.awt.peer.ComponentPeer.getLocationOnScreen() definition code for java.awt.peer.ComponentPeer.getLocationOnScreen() ()
           
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getMinimumSize sample code for java.awt.peer.ComponentPeer.getMinimumSize() definition code for java.awt.peer.ComponentPeer.getMinimumSize() ()
           
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension getPreferredSize sample code for java.awt.peer.ComponentPeer.getPreferredSize() definition code for java.awt.peer.ComponentPeer.getPreferredSize() ()
           
 Toolkit sample code for java.awt.Toolkit definition code for java.awt.Toolkit getToolkit sample code for java.awt.peer.ComponentPeer.getToolkit() definition code for java.awt.peer.ComponentPeer.getToolkit() ()
           
 void handleEvent sample code for java.awt.peer.ComponentPeer.handleEvent(java.awt.AWTEvent) definition code for java.awt.peer.ComponentPeer.handleEvent(java.awt.AWTEvent) (AWTEvent sample code for java.awt.AWTEvent definition code for java.awt.AWTEvent  e)
           
 boolean handlesWheelScrolling sample code for java.awt.peer.ComponentPeer.handlesWheelScrolling() definition code for java.awt.peer.ComponentPeer.handlesWheelScrolling() ()
           
 void hide sample code for java.awt.peer.ComponentPeer.hide() definition code for java.awt.peer.ComponentPeer.hide() ()
          DEPRECATED: Replaced by setVisible(boolean).
 boolean isFocusable sample code for java.awt.peer.ComponentPeer.isFocusable() definition code for java.awt.peer.ComponentPeer.isFocusable() ()
           
 boolean isObscured sample code for java.awt.peer.ComponentPeer.isObscured() definition code for java.awt.peer.ComponentPeer.isObscured() ()
           
 boolean isReparentSupported sample code for java.awt.peer.ComponentPeer.isReparentSupported() definition code for java.awt.peer.ComponentPeer.isReparentSupported() ()
          Returns whether this peer supports reparenting to another parent withour destroying the peer
 void layout sample code for java.awt.peer.ComponentPeer.layout() definition code for java.awt.peer.ComponentPeer.layout() ()
          Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements.
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension minimumSize sample code for java.awt.peer.ComponentPeer.minimumSize() definition code for java.awt.peer.ComponentPeer.minimumSize() ()
          DEPRECATED: Replaced by getMinimumSize().
 void paint sample code for java.awt.peer.ComponentPeer.paint(java.awt.Graphics) definition code for java.awt.peer.ComponentPeer.paint(java.awt.Graphics) (Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)
           
 Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension preferredSize sample code for java.awt.peer.ComponentPeer.preferredSize() definition code for java.awt.peer.ComponentPeer.preferredSize() ()
          DEPRECATED: Replaced by getPreferredSize().
 boolean prepareImage sample code for java.awt.peer.ComponentPeer.prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver) definition code for java.awt.peer.ComponentPeer.prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver) (Image sample code for java.awt.Image definition code for java.awt.Image  img, int w, int h, ImageObserver sample code for java.awt.image.ImageObserver definition code for java.awt.image.ImageObserver  o)
           
 void print sample code for java.awt.peer.ComponentPeer.print(java.awt.Graphics) definition code for java.awt.peer.ComponentPeer.print(java.awt.Graphics) (Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)
           
 void repaint sample code for java.awt.peer.ComponentPeer.repaint(long, int, int, int, int) definition code for java.awt.peer.ComponentPeer.repaint(long, int, int, int, int) (long tm, int x, int y, int width, int height)
           
 void reparent sample code for java.awt.peer.ComponentPeer.reparent(java.awt.peer.ContainerPeer) definition code for java.awt.peer.ComponentPeer.reparent(java.awt.peer.ContainerPeer) (ContainerPeer sample code for java.awt.peer.ContainerPeer definition code for java.awt.peer.ContainerPeer  newContainer)
          Reparents this peer to the new parent referenced by newContainer peer Implementation depends on toolkit and container.
 boolean requestFocus sample code for java.awt.peer.ComponentPeer.requestFocus(java.awt.Component, boolean, boolean, long) definition code for java.awt.peer.ComponentPeer.requestFocus(java.awt.Component, boolean, boolean, long) (Component sample code for java.awt.Component definition code for java.awt.Component  lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time)
           
 void reshape sample code for java.awt.peer.ComponentPeer.reshape(int, int, int, int) definition code for java.awt.peer.ComponentPeer.reshape(int, int, int, int) (int x, int y, int width, int height)
          DEPRECATED: Replaced by setBounds(int, int, int, int).
 void setBackground sample code for java.awt.peer.ComponentPeer.setBackground(java.awt.Color) definition code for java.awt.peer.ComponentPeer.setBackground(java.awt.Color) (Color sample code for java.awt.Color definition code for java.awt.Color  c)
           
 void setBounds sample code for java.awt.peer.ComponentPeer.setBounds(int, int, int, int, int) definition code for java.awt.peer.ComponentPeer.setBounds(int, int, int, int, int) (int x, int y, int width, int height, int op)
           
 void setEnabled sample code for java.awt.peer.ComponentPeer.setEnabled(boolean) definition code for java.awt.peer.ComponentPeer.setEnabled(boolean) (boolean b)
           
 void setFont sample code for java.awt.peer.ComponentPeer.setFont(java.awt.Font) definition code for java.awt.peer.ComponentPeer.setFont(java.awt.Font) (Font sample code for java.awt.Font definition code for java.awt.Font  f)
           
 void setForeground sample code for java.awt.peer.ComponentPeer.setForeground(java.awt.Color) definition code for java.awt.peer.ComponentPeer.setForeground(java.awt.Color) (Color sample code for java.awt.Color definition code for java.awt.Color  c)
           
 void setVisible sample code for java.awt.peer.ComponentPeer.setVisible(boolean) definition code for java.awt.peer.ComponentPeer.setVisible(boolean) (boolean b)
           
 void show sample code for java.awt.peer.ComponentPeer.show() definition code for java.awt.peer.ComponentPeer.show() ()
          DEPRECATED: Replaced by setVisible(boolean).
 void updateCursorImmediately sample code for java.awt.peer.ComponentPeer.updateCursorImmediately() definition code for java.awt.peer.ComponentPeer.updateCursorImmediately() ()
           
 

Field Detail

SET_LOCATION sample code for java.awt.peer.ComponentPeer.SET_LOCATION

static final int SET_LOCATION
See Also:
Constant Field Values

SET_SIZE sample code for java.awt.peer.ComponentPeer.SET_SIZE

static final int SET_SIZE
See Also:
Constant Field Values

SET_BOUNDS sample code for java.awt.peer.ComponentPeer.SET_BOUNDS

static final int SET_BOUNDS
See Also:
Constant Field Values

SET_CLIENT_SIZE sample code for java.awt.peer.ComponentPeer.SET_CLIENT_SIZE

static final int SET_CLIENT_SIZE
See Also:
Constant Field Values

RESET_OPERATION sample code for java.awt.peer.ComponentPeer.RESET_OPERATION

static final int RESET_OPERATION
See Also:
Constant Field Values

NO_EMBEDDED_CHECK sample code for java.awt.peer.ComponentPeer.NO_EMBEDDED_CHECK

static final int NO_EMBEDDED_CHECK
See Also:
Constant Field Values

DEFAULT_OPERATION sample code for java.awt.peer.ComponentPeer.DEFAULT_OPERATION

static final int DEFAULT_OPERATION
See Also:
Constant Field Values
Method Detail

isObscured sample code for java.awt.peer.ComponentPeer.isObscured() definition code for java.awt.peer.ComponentPeer.isObscured()

boolean isObscured()

canDetermineObscurity sample code for java.awt.peer.ComponentPeer.canDetermineObscurity() definition code for java.awt.peer.ComponentPeer.canDetermineObscurity()

boolean canDetermineObscurity()

setVisible sample code for java.awt.peer.ComponentPeer.setVisible(boolean) definition code for java.awt.peer.ComponentPeer.setVisible(boolean)

void setVisible(boolean b)

setEnabled sample code for java.awt.peer.ComponentPeer.setEnabled(boolean) definition code for java.awt.peer.ComponentPeer.setEnabled(boolean)

void setEnabled(boolean b)

paint sample code for java.awt.peer.ComponentPeer.paint(java.awt.Graphics) definition code for java.awt.peer.ComponentPeer.paint(java.awt.Graphics)

void paint(Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)

repaint sample code for java.awt.peer.ComponentPeer.repaint(long, int, int, int, int) definition code for java.awt.peer.ComponentPeer.repaint(long, int, int, int, int)

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

print sample code for java.awt.peer.ComponentPeer.print(java.awt.Graphics) definition code for java.awt.peer.ComponentPeer.print(java.awt.Graphics)

void print(Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  g)

setBounds sample code for java.awt.peer.ComponentPeer.setBounds(int, int, int, int, int) definition code for java.awt.peer.ComponentPeer.setBounds(int, int, int, int, int)

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

handleEvent sample code for java.awt.peer.ComponentPeer.handleEvent(java.awt.AWTEvent) definition code for java.awt.peer.ComponentPeer.handleEvent(java.awt.AWTEvent)

void handleEvent(AWTEvent sample code for java.awt.AWTEvent definition code for java.awt.AWTEvent  e)

coalescePaintEvent sample code for java.awt.peer.ComponentPeer.coalescePaintEvent(java.awt.event.PaintEvent) definition code for java.awt.peer.ComponentPeer.coalescePaintEvent(java.awt.event.PaintEvent)

void coalescePaintEvent(PaintEvent sample code for java.awt.event.PaintEvent definition code for java.awt.event.PaintEvent  e)

getLocationOnScreen sample code for java.awt.peer.ComponentPeer.getLocationOnScreen() definition code for java.awt.peer.ComponentPeer.getLocationOnScreen()

Point sample code for java.awt.Point definition code for java.awt.Point  getLocationOnScreen()

getPreferredSize sample code for java.awt.peer.ComponentPeer.getPreferredSize() definition code for java.awt.peer.ComponentPeer.getPreferredSize()

Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getPreferredSize()

getMinimumSize sample code for java.awt.peer.ComponentPeer.getMinimumSize() definition code for java.awt.peer.ComponentPeer.getMinimumSize()

Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  getMinimumSize()

getColorModel sample code for java.awt.peer.ComponentPeer.getColorModel() definition code for java.awt.peer.ComponentPeer.getColorModel()

ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel  getColorModel()

getToolkit sample code for java.awt.peer.ComponentPeer.getToolkit() definition code for java.awt.peer.ComponentPeer.getToolkit()

Toolkit sample code for java.awt.Toolkit definition code for java.awt.Toolkit  getToolkit()

getGraphics sample code for java.awt.peer.ComponentPeer.getGraphics() definition code for java.awt.peer.ComponentPeer.getGraphics()

Graphics sample code for java.awt.Graphics definition code for java.awt.Graphics  getGraphics()

getFontMetrics sample code for java.awt.peer.ComponentPeer.getFontMetrics(java.awt.Font) definition code for java.awt.peer.ComponentPeer.getFontMetrics(java.awt.Font)

FontMetrics sample code for java.awt.FontMetrics definition code for java.awt.FontMetrics  getFontMetrics(Font sample code for java.awt.Font definition code for java.awt.Font  font)

dispose sample code for java.awt.peer.ComponentPeer.dispose() definition code for java.awt.peer.ComponentPeer.dispose()

void dispose()

setForeground sample code for java.awt.peer.ComponentPeer.setForeground(java.awt.Color) definition code for java.awt.peer.ComponentPeer.setForeground(java.awt.Color)

void setForeground(Color sample code for java.awt.Color definition code for java.awt.Color  c)

setBackground sample code for java.awt.peer.ComponentPeer.setBackground(java.awt.Color) definition code for java.awt.peer.ComponentPeer.setBackground(java.awt.Color)

void setBackground(Color sample code for java.awt.Color definition code for java.awt.Color  c)

setFont sample code for java.awt.peer.ComponentPeer.setFont(java.awt.Font) definition code for java.awt.peer.ComponentPeer.setFont(java.awt.Font)

void setFont(Font sample code for java.awt.Font definition code for java.awt.Font  f)

updateCursorImmediately sample code for java.awt.peer.ComponentPeer.updateCursorImmediately() definition code for java.awt.peer.ComponentPeer.updateCursorImmediately()

void updateCursorImmediately()

requestFocus sample code for java.awt.peer.ComponentPeer.requestFocus(java.awt.Component, boolean, boolean, long) definition code for java.awt.peer.ComponentPeer.requestFocus(java.awt.Component, boolean, boolean, long)

boolean requestFocus(Component sample code for java.awt.Component definition code for java.awt.Component  lightweightChild,
                     boolean temporary,
                     boolean focusedWindowChangeAllowed,
                     long time)

isFocusable sample code for java.awt.peer.ComponentPeer.isFocusable() definition code for java.awt.peer.ComponentPeer.isFocusable()

boolean isFocusable()

createImage sample code for java.awt.peer.ComponentPeer.createImage(java.awt.image.ImageProducer) definition code for java.awt.peer.ComponentPeer.createImage(java.awt.image.ImageProducer)

Image sample code for java.awt.Image definition code for java.awt.Image  createImage(ImageProducer sample code for java.awt.image.ImageProducer definition code for java.awt.image.ImageProducer  producer)

createImage sample code for java.awt.peer.ComponentPeer.createImage(int, int) definition code for java.awt.peer.ComponentPeer.createImage(int, int)

Image sample code for java.awt.Image definition code for java.awt.Image  createImage(int width,
                  int height)

createVolatileImage sample code for java.awt.peer.ComponentPeer.createVolatileImage(int, int) definition code for java.awt.peer.ComponentPeer.createVolatileImage(int, int)

VolatileImage sample code for java.awt.image.VolatileImage definition code for java.awt.image.VolatileImage  createVolatileImage(int width,
                                  int height)

prepareImage sample code for java.awt.peer.ComponentPeer.prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver) definition code for java.awt.peer.ComponentPeer.prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver)

boolean prepareImage(Image sample code for java.awt.Image definition code for java.awt.Image  img,
                     int w,
                     int h,
                     ImageObserver sample code for java.awt.image.ImageObserver definition code for java.awt.image.ImageObserver  o)

checkImage sample code for java.awt.peer.ComponentPeer.checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver) definition code for java.awt.peer.ComponentPeer.checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver)

int checkImage(Image sample code for java.awt.Image definition code for java.awt.Image  img,
               int w,
               int h,
               ImageObserver sample code for java.awt.image.ImageObserver definition code for java.awt.image.ImageObserver  o)

getGraphicsConfiguration sample code for java.awt.peer.ComponentPeer.getGraphicsConfiguration() definition code for java.awt.peer.ComponentPeer.getGraphicsConfiguration()

GraphicsConfiguration sample code for java.awt.GraphicsConfiguration definition code for java.awt.GraphicsConfiguration  getGraphicsConfiguration()

handlesWheelScrolling sample code for java.awt.peer.ComponentPeer.handlesWheelScrolling() definition code for java.awt.peer.ComponentPeer.handlesWheelScrolling()

boolean handlesWheelScrolling()

createBuffers sample code for java.awt.peer.ComponentPeer.createBuffers(int, java.awt.BufferCapabilities) definition code for java.awt.peer.ComponentPeer.createBuffers(int, java.awt.BufferCapabilities)

void createBuffers(int numBuffers,
                   BufferCapabilities sample code for java.awt.BufferCapabilities definition code for java.awt.BufferCapabilities  caps)
                   throws AWTException sample code for java.awt.AWTException definition code for java.awt.AWTException 
Throws:
AWTException sample code for java.awt.AWTException definition code for java.awt.AWTException

getBackBuffer sample code for java.awt.peer.ComponentPeer.getBackBuffer() definition code for java.awt.peer.ComponentPeer.getBackBuffer()

Image sample code for java.awt.Image definition code for java.awt.Image  getBackBuffer()

flip sample code for java.awt.peer.ComponentPeer.flip(java.awt.BufferCapabilities.FlipContents) definition code for java.awt.peer.ComponentPeer.flip(java.awt.BufferCapabilities.FlipContents)

void flip(BufferCapabilities.FlipContents sample code for java.awt.BufferCapabilities.FlipContents definition code for java.awt.BufferCapabilities.FlipContents  flipAction)

destroyBuffers sample code for java.awt.peer.ComponentPeer.destroyBuffers() definition code for java.awt.peer.ComponentPeer.destroyBuffers()

void destroyBuffers()

reparent sample code for java.awt.peer.ComponentPeer.reparent(java.awt.peer.ContainerPeer) definition code for java.awt.peer.ComponentPeer.reparent(java.awt.peer.ContainerPeer)

void reparent(ContainerPeer sample code for java.awt.peer.ContainerPeer definition code for java.awt.peer.ContainerPeer  newContainer)
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

isReparentSupported sample code for java.awt.peer.ComponentPeer.isReparentSupported() definition code for java.awt.peer.ComponentPeer.isReparentSupported()

boolean isReparentSupported()
Returns whether this peer supports reparenting to another parent withour destroying the peer

Returns:
true if appropriate reparent is supported, false otherwise
Since:
1.5

layout sample code for java.awt.peer.ComponentPeer.layout() definition code for java.awt.peer.ComponentPeer.layout()

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


getBounds sample code for java.awt.peer.ComponentPeer.getBounds() definition code for java.awt.peer.ComponentPeer.getBounds()

Rectangle sample code for java.awt.Rectangle definition code for java.awt.Rectangle  getBounds()

preferredSize sample code for java.awt.peer.ComponentPeer.preferredSize() definition code for java.awt.peer.ComponentPeer.preferredSize()

Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  preferredSize()
DEPRECATED: Replaced by getPreferredSize().


minimumSize sample code for java.awt.peer.ComponentPeer.minimumSize() definition code for java.awt.peer.ComponentPeer.minimumSize()

Dimension sample code for java.awt.Dimension definition code for java.awt.Dimension  minimumSize()
DEPRECATED: Replaced by getMinimumSize().


show sample code for java.awt.peer.ComponentPeer.show() definition code for java.awt.peer.ComponentPeer.show()

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


hide sample code for java.awt.peer.ComponentPeer.hide() definition code for java.awt.peer.ComponentPeer.hide()

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


enable sample code for java.awt.peer.ComponentPeer.enable() definition code for java.awt.peer.ComponentPeer.enable()

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


disable sample code for java.awt.peer.ComponentPeer.disable() definition code for java.awt.peer.ComponentPeer.disable()

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


reshape sample code for java.awt.peer.ComponentPeer.reshape(int, int, int, int) definition code for java.awt.peer.ComponentPeer.reshape(int, int, int, int)

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