|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.nwalsh.saxon.ImageIntrinsics
public class ImageIntrinsics
Saxon extension to examine intrinsic size of images
$Id: ImageIntrinsics.java,v 1.3 2004/09/05 11:32:30 xmldoc Exp $
Copyright (C) 2002 Norman Walsh.
This class provides a Saxon extension to find the intrinsic size of images.
Change Log:
Initial release.
| Field Summary | |
|---|---|
(package private) int |
depth
|
(package private) java.awt.Image |
image
|
(package private) boolean |
imageFailed
|
(package private) boolean |
imageLoaded
|
(package private) int |
width
|
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ImageIntrinsics(java.lang.String imageFn)
Constructor for ImageIntrinsics |
|
| Method Summary | |
|---|---|
int |
getDepth(int defaultDepth)
|
int |
getWidth(int defaultWidth)
|
boolean |
imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int width,
int height)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
boolean imageLoaded
boolean imageFailed
java.awt.Image image
int width
int depth
| Constructor Detail |
|---|
public ImageIntrinsics(java.lang.String imageFn)
Constructor for ImageIntrinsics
| Method Detail |
|---|
public int getWidth(int defaultWidth)
public int getDepth(int defaultDepth)
public boolean imageUpdate(java.awt.Image img,
int infoflags,
int x,
int y,
int width,
int height)
imageUpdate in interface java.awt.image.ImageObserver
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||