- Inherits from:
- javax.swing.JComponent java.awt.Container : java.awt.Component ; Object
- Package:
- com.apple.client.eointerface
The EOImageView class is used to display images
(java.awt.Image objects) in Java Client applications.
Note: This class doesn't exist in the com.apple.yellow.eointerface package. |
EOImageView defines the following int
constants
to specify the scaling behavior of an EOImageView:
- Accessing the image
- image
- setImage
- Configuring scaling behavior
- setImageScaling
- imageScaling
- setScalingHints
- scalingHints
- Painting
- imageUpdate
- paint
- setBorder
- setBounds
public java.awt.Image
image
()
public int
imageScaling
()
public boolean
imageUpdate
(
java.awt.Image image,
int flags,
int x,
int y,
int width,
int height)
imageUpdate
in Sun's JComponent class
documentation.public void
paint
(java.awt.Graphics g)
setBorder
in Sun's JComponent class
documentation.public int
scalingHints
()
public void
setBorder
(javax.swing.border.Border border)
setBorder
in Sun's JComponent class
documentation.public void
setBounds
(
int x,
int y,
int width,
int height)
setBounds
in Sun's Component class
documentation.public void
setImage
(java.awt.Image image)
public void
setImageScaling
(int imageScaling)
The
default scaling behavior is ScaleProportionallyIfTooLarge
.
For more information on these constants, see "Constants".
public void
setScalingHints
(int scalingHints)
SCALE_DEFAULT
SCALE_FAST
SCALE_SMOOTH
SCALE_REPLICATE
SCALE_AREA_AVERAGING
The
default is SCALE_SMOOTH
. For more
information on the algorithms identified by these constants, see Sun's
Image class documentation