|
JSR-62 (Final) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ImageObserver | |
java.applet | Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. |
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
java.awt.image | Provides classes for creating and modifying images. |
Uses of ImageObserver in java.applet |
Classes in java.applet that implement ImageObserver | |
class |
Applet
An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application. |
Uses of ImageObserver in java.awt |
Classes in java.awt that implement ImageObserver | |
class |
Button
This class creates a labeled button. |
class |
Canvas
A Canvas component represents a blank rectangular
area of the screen onto which the application can draw or from
which the application can trap input events from the user. |
class |
Checkbox
A check box is a graphical component that can be in either an "on" ( true ) or "off" (false ) state. |
class |
Choice
The Choice class presents a pop-up menu of choices. |
class |
Component
A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user. |
class |
Container
A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components. |
class |
Dialog
A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user. |
class |
FileDialog
The FileDialog class displays a dialog window
from which the user can select a file. |
class |
Frame
A Frame is a top-level window with a title and a border. |
class |
Label
A Label object is a component for placing text in a
container. |
class |
List
The List component presents the user with a
scrolling list of text items. |
class |
Panel
Panel is the simplest container class. |
class |
Scrollbar
The Scrollbar class embodies a scroll bar, a
familiar user-interface object. |
class |
ScrollPane
A container class which implements automatic horizontal and/or vertical scrolling for a single child component. |
class |
TextArea
A TextArea object is a multi-line region
that displays text. |
class |
TextComponent
The TextComponent class is the superclass of
any component that allows the editing of some text. |
class |
TextField
A TextField object is a text component
that allows for the editing of a single line of text. |
class |
Window
A Window object is a top-level window with no borders and no
menubar. |
Methods in java.awt with parameters of type ImageObserver | |
abstract boolean |
Toolkit.prepareImage(Image image,
int width,
int height,
ImageObserver observer)
Prepares an image for rendering. |
abstract int |
Toolkit.checkImage(Image image,
int width,
int height,
ImageObserver observer)
Indicates the construction status of a specified image that is being prepared for display. |
abstract boolean |
Graphics.drawImage(Image img,
int x,
int y,
ImageObserver observer)
Draws as much of the specified image as is currently available. |
abstract boolean |
Graphics.drawImage(Image img,
int x,
int y,
int width,
int height,
ImageObserver observer)
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle. |
abstract boolean |
Graphics.drawImage(Image img,
int x,
int y,
Color bgcolor,
ImageObserver observer)
Draws as much of the specified image as is currently available. |
abstract boolean |
Graphics.drawImage(Image img,
int x,
int y,
int width,
int height,
Color bgcolor,
ImageObserver observer)
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle. |
abstract boolean |
Graphics.drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
ImageObserver observer)
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface. |
abstract boolean |
Graphics.drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
Color bgcolor,
ImageObserver observer)
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface. |
abstract int |
Image.getWidth(ImageObserver observer)
Determines the width of the image. |
abstract int |
Image.getHeight(ImageObserver observer)
Determines the height of the image. |
abstract Object |
Image.getProperty(String name,
ImageObserver observer)
Gets a property of this image by name. |
boolean |
Component.prepareImage(Image image,
ImageObserver observer)
Prepares an image for rendering on this component. |
boolean |
Component.prepareImage(Image image,
int width,
int height,
ImageObserver observer)
Prepares an image for rendering on this component at the specified width and height. |
int |
Component.checkImage(Image image,
ImageObserver observer)
Returns the status of the construction of a screen representation of the specified image. |
int |
Component.checkImage(Image image,
int width,
int height,
ImageObserver observer)
Returns the status of the construction of a screen representation of the specified image. |
Uses of ImageObserver in java.awt.image |
Methods in java.awt.image with parameters of type ImageObserver | |
int |
BufferedImage.getWidth(ImageObserver observer)
Returns the actual width of the image. |
int |
BufferedImage.getHeight(ImageObserver observer)
Returns the actual height of the image. |
Object |
BufferedImage.getProperty(String name,
ImageObserver observer)
Returns a property of the image by name. |
|
JSR-62 (Final) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |