    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface java.awt.peer.ComponentPeer

public interface ComponentPeer

##

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

##

setVisible

      public abstract void setVisible(boolean b)

setEnabled

      public abstract void setEnabled(boolean b)

paint

      public abstract void paint(Graphics g)

repaint

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

print

      public abstract void print(Graphics g)

setBounds

      public abstract void setBounds(int x,
                                     int y,
                                     int width,
                                     int height)

handleEvent

      public abstract void handleEvent(AWTEvent e)

getLocationOnScreen

      public abstract Point getLocationOnScreen()

getPreferredSize

      public abstract Dimension getPreferredSize()

getMinimumSize

      public abstract Dimension getMinimumSize()

getColorModel

      public abstract ColorModel getColorModel()

getToolkit

      public abstract Toolkit getToolkit()

getGraphics

      public abstract Graphics getGraphics()

getFontMetrics

      public abstract FontMetrics getFontMetrics(Font font)

dispose

      public abstract void dispose()

setForeground

      public abstract void setForeground(Color c)

setBackground

      public abstract void setBackground(Color c)

setFont

      public abstract void setFont(Font f)

setCursor

      public abstract void setCursor(Cursor cursor)

requestFocus

      public abstract void requestFocus()

isFocusTraversable

      public abstract boolean isFocusTraversable()

createImage

      public abstract Image createImage(ImageProducer producer)

createImage

      public abstract Image createImage(int width,
                                        int height)

prepareImage

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

checkImage

      public abstract int checkImage(Image img,
                                     int w,
                                     int h,
                                     ImageObserver o)

preferredSize

      public abstract Dimension preferredSize()

  DEPRECATED: Replaced by getPreferredSize().

minimumSize

      public abstract Dimension minimumSize()

  DEPRECATED: Replaced by getMinimumSize().

show

      public abstract void show()

  DEPRECATED: Replaced by setVisible(boolean).

hide

      public abstract void hide()

  DEPRECATED: Replaced by setVisible(boolean).

enable

      public abstract void enable()

  DEPRECATED: Replaced by setEnabled(boolean).

disable

      public abstract void disable()

  DEPRECATED: Replaced by setEnabled(boolean).

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