All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.awt.draw.FileImagePrimitive
java.lang.Object
|
+----ncsa.awt.draw.DrawingPrimitive
|
+----ncsa.awt.draw.ImagePrimitiveP
|
+----ncsa.awt.draw.FileImagePrimitive
- public class FileImagePrimitive
- extends ImagePrimitiveP
An abstract class from which all other drawing primtives are derived.
-
fileContents
-
-
filename
-
-
localStatus
-
-
FileImagePrimitive()
-
-
FileImagePrimitive(String)
-
-
describe()
-
-
imageUpdate(Image, int, int, int, int, int)
-
-
readContents()
-
-
readImage(Component, boolean)
-
-
resetImage(String)
-
-
setCanvas(Component)
- Sets the component we're drawing into
filename
protected transient String filename
fileContents
protected byte fileContents[]
localStatus
protected int localStatus
FileImagePrimitive
public FileImagePrimitive()
FileImagePrimitive
public FileImagePrimitive(String fn)
resetImage
public void resetImage(String fn)
- Overrides:
- resetImage in class ImagePrimitiveP
readContents
protected void readContents() throws IOException
readImage
public void readImage(Component c,
boolean isSynchronous)
- Overrides:
- readImage in class ImagePrimitiveP
describe
public String describe()
- Returns:
- a string describing this image
- Overrides:
- describe in class DrawingPrimitive
setCanvas
public void setCanvas(Component canvas)
- Sets the component we're drawing into
- Overrides:
- setCanvas in class ImagePrimitiveP
imageUpdate
public boolean imageUpdate(Image im,
int infoflags,
int x,
int y,
int width,
int height)
- Overrides:
- imageUpdate in class ImagePrimitiveP
All Packages Class Hierarchy This Package Previous Next Index