|
|||||||||
| Home >> All >> com >> nwalsh >> [ saxon overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.nwalsh.saxon
Class ImageIntrinsics

java.lang.Objectcom.nwalsh.saxon.ImageIntrinsics
- All Implemented Interfaces:
- java.awt.image.ImageObserver
- public class ImageIntrinsics
- extends java.lang.Object
- implements java.awt.image.ImageObserver
- extends java.lang.Object
Saxon extension to examine intrinsic size of images
$Id: ImageIntrinsics.java,v 1.1 2002/05/08 02:12:29 nwalsh Exp $
Copyright (C) 2002 Norman Walsh.
This class provides a Saxon extension to find the intrinsic size of images.
Change Log:
- 1.0
Initial release.
- Version:
- $Id: ImageIntrinsics.java,v 1.1 2002/05/08 02:12:29 nwalsh Exp $
| 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)
This is a callback method for an asynchronous image producer to provide updates on the production of the image as it happens. |
private void |
parseBox(java.lang.String line)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
imageLoaded
boolean imageLoaded
imageFailed
boolean imageFailed
image
java.awt.Image image
width
int width
depth
int depth
| Constructor Detail |
ImageIntrinsics
public ImageIntrinsics(java.lang.String imageFn)
Constructor for ImageIntrinsics
| Method Detail |
getWidth
public int getWidth(int defaultWidth)
getDepth
public int getDepth(int defaultDepth)
parseBox
private void parseBox(java.lang.String line)
imageUpdate
public boolean imageUpdate(java.awt.Image img, int infoflags, int x, int y, int width, int height)
- Description copied from interface:
java.awt.image.ImageObserver - This is a callback method for an asynchronous image producer to
provide updates on the production of the image as it happens.
- Specified by:
imageUpdatein interfacejava.awt.image.ImageObserver
|
|||||||||
| Home >> All >> com >> nwalsh >> [ saxon overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.nwalsh.saxon.ImageIntrinsics