|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nwalsh.xalan.ImageIntrinsics
public class ImageIntrinsics
Saxon extension to examine intrinsic size of images
$Id: ImageIntrinsics.java,v 1.2 2004/09/05 11:32:31 xmldoc Exp $
Copyright (C) 2002 Norman Walsh.
This class provides a Xalan 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(ExpressionContext context,
java.lang.String imageFn)
Constructor for ImageIntrinsics |
Method Summary | |
---|---|
int |
getDepth(ExpressionContext context,
int defaultDepth)
|
int |
getWidth(ExpressionContext context,
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(ExpressionContext context, java.lang.String imageFn)
Constructor for ImageIntrinsics
Method Detail |
---|
public int getWidth(ExpressionContext context, int defaultWidth)
public int getDepth(ExpressionContext context, 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 |