Packages This Package Prev Next Index
public interface java.awt.peer.ComponentPeer { // Methods public abstract int §3.6.1 checkImage(Image img, int w, int h, ImageObserver o); public abstract Image §3.6.2 createImage(ImageProducer producer); public abstract Image §3.6.3 createImage(int width, int height); public abstract void disable(); §3.6.4 public abstract void dispose(); §3.6.5 public abstract void enable(); §3.6.6 public abstract ColorModel getColorModel(); §3.6.7 public abstract FontMetrics getFontMetrics(Font font); §3.6.8 public abstract Graphics getGraphics(); §3.6.9 public abstract Toolkit getToolkit(); §3.6.10 public abstract boolean handleEvent(Event e); §3.6.11 public abstract void hide(); §3.6.12 public abstract Dimension minimumSize(); §3.6.13 public abstract void nextFocus(); §3.6.14 public abstract void paint(Graphics g); §3.6.15 public abstract Dimension preferredSize(); §3.6.16 public abstract boolean §3.6.17 prepareImage(Image img, int w, int h, ImageObserver o); public abstract void print(Graphics g); §3.6.18 public abstract void repaint(long tm, int x, int y, §3.6.19 int width, int height); public abstract void requestFocus(); §3.6.21 public abstract void reshape(int x, int y, int width, §3.6.22 int height); public abstract void setBackground(Color c); §3.6.23 public abstract void setFont(Font f); §3.6.24 public abstract void setForeground(Color c); §3.6.25 public abstract void show(); §3.6.26 }
public abstract int
checkImage(Image img, int w, int h, ImageObserver o)
img
-
the Image whose status is being checked
w
-
the width of the scaled version to check the status of
h
-
the height of the scaled version to check the status of
o
-
the ImageObserver object to be notified as the image is being
prepared
public abstract Image createImage(ImageProducer producer)
producer
-
the image producer
public abstract Image createImage(int width, int height)
width
-
the specified width
height
-
the specified height
public abstract void disable()
public abstract void dispose()
public abstract void enable()
public abstract ColorModel getColorModel()
public abstract FontMetrics getFontMetrics(Font font)
font
-
the font
public abstract Graphics getGraphics()
public abstract Toolkit getToolkit()
public abstract boolean handleEvent(Event e)
e
-
the event
public abstract void hide()
public abstract Dimension minimumSize()
public abstract void nextFocus()
public abstract void paint(Graphics g)
g
-
the graphics context to use for painting.
public abstract Dimension preferredSize()
public abstract boolean
prepareImage(Image img, int w, int h, ImageObserver o)
image
-
the Image to prepare a screen representation for
width
-
the width of the desired screen representation
height
-
the height of the desired screen representation
observer
-
the ImageObserver object to be notified as the image is being
prepared
public abstract void print(Graphics g)
public abstract void repaint(long tm, int x, int y,
int width, int height)
x
-
the x coordinate
y
-
the y coordinate
width
-
the width
height
-
public abstract void requestFocus()
public abstract void
reshape(int x, int y, int width, int height)
x
-
the x coordinate
y
-
the y coordinate
width
-
the width of the component
height
-
the height of the component
public abstract void setBackground(Color c)
c
-
the color
public abstract void setFont(Font f)
f
-
the font
public abstract void setForeground(Color c)
c
-
the color
public abstract void show()
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)