All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.awt.peer.ComponentPeer

public interface interface ComponentPeer

Method Index

 o checkImage(Image, int, int, ImageObserver)
 o createImage(ImageProducer)
 o createImage(int, int)
 o disable()
DEPRECATED: Replaced by setEnabled(boolean).
 o dispose()
 o enable()
DEPRECATED: Replaced by setEnabled(boolean).
 o getColorModel()
 o getFontMetrics(Font)
 o getGraphics()
 o getLocationOnScreen()
 o getMinimumSize()
 o getPreferredSize()
 o getToolkit()
 o handleEvent(AWTEvent)
 o hide()
DEPRECATED: Replaced by setVisible(boolean).
 o isFocusTraversable()
 o minimumSize()
DEPRECATED: Replaced by getMinimumSize().
 o paint(Graphics)
 o preferredSize()
DEPRECATED: Replaced by getPreferredSize().
 o prepareImage(Image, int, int, ImageObserver)
 o print(Graphics)
 o repaint(long, int, int, int, int)
 o requestFocus()
 o reshape(int, int, int, int)
DEPRECATED: Replaced by setBounds(int, int, int, int).
 o setBackground(Color)
 o setBounds(int, int, int, int)
 o setCursor(Cursor)
 o setEnabled(boolean)
 o setFont(Font)
 o setForeground(Color)
 o setVisible(boolean)
 o show()
DEPRECATED: Replaced by setVisible(boolean).

Methods

 o setVisible
 public abstract void setVisible(boolean b)
 o setEnabled
 public abstract void setEnabled(boolean b)
 o paint
 public abstract void paint(Graphics g)
 o repaint
 public abstract void repaint(long tm,
                              int x,
                              int y,
                              int width,
                              int height)
 o print
 public abstract void print(Graphics g)
 o setBounds
 public abstract void setBounds(int x,
                                int y,
                                int width,
                                int height)
 o handleEvent
 public abstract void handleEvent(AWTEvent e)
 o getLocationOnScreen
 public abstract Point getLocationOnScreen()
 o getPreferredSize
 public abstract Dimension getPreferredSize()
 o getMinimumSize
 public abstract Dimension getMinimumSize()
 o getColorModel
 public abstract ColorModel getColorModel()
 o getToolkit
 public abstract Toolkit getToolkit()
 o getGraphics
 public abstract Graphics getGraphics()
 o getFontMetrics
 public abstract FontMetrics getFontMetrics(Font font)
 o dispose
 public abstract void dispose()
 o setForeground
 public abstract void setForeground(Color c)
 o setBackground
 public abstract void setBackground(Color c)
 o setFont
 public abstract void setFont(Font f)
 o setCursor
 public abstract void setCursor(Cursor cursor)
 o requestFocus
 public abstract void requestFocus()
 o isFocusTraversable
 public abstract boolean isFocusTraversable()
 o createImage
 public abstract Image createImage(ImageProducer producer)
 o createImage
 public abstract Image createImage(int width,
                                   int height)
 o prepareImage
 public abstract boolean prepareImage(Image img,
                                      int w,
                                      int h,
                                      ImageObserver o)
 o checkImage
 public abstract int checkImage(Image img,
                                int w,
                                int h,
                                ImageObserver o)
 o preferredSize
 public abstract Dimension preferredSize()
DEPRECATED: Replaced by getPreferredSize().

 o minimumSize
 public abstract Dimension minimumSize()
DEPRECATED: Replaced by getMinimumSize().

 o show
 public abstract void show()
DEPRECATED: Replaced by setVisible(boolean).

 o hide
 public abstract void hide()
DEPRECATED: Replaced by setVisible(boolean).

 o enable
 public abstract void enable()
DEPRECATED: Replaced by setEnabled(boolean).

 o disable
 public abstract void disable()
DEPRECATED: Replaced by setEnabled(boolean).

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index