All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.awt.draw.ImagePrimitiveParent
java.lang.Object
|
+----ncsa.awt.draw.DrawingPrimitive
|
+----ncsa.awt.draw.ImagePrimitiveParent
- public abstract class ImagePrimitiveParent
- extends DrawingPrimitive
- implements ImageObserver
An abstract class from which all other drawing primtives are derived.
-
ci
-
-
img
-
-
ImagePrimitiveParent()
-
-
drawPoints(Graphics)
-
Abstract method that must be implemented by the subclassed
primitive.
-
getImage()
-
-
getImgHeight()
-
-
getImgWidth()
-
-
imageUpdate(Image, int, int, int, int, int)
-
-
loadImage(String)
-
-
locate(int, int)
-
-
setBoundingBox(Vector)
- Initialize a bounding_box which contains this set of points
-
setCanvas(Component)
- Sets the component we're drawing into
-
setClipboard(Image)
-
-
setImage(Image)
-
-
setPoints()
-
img
protected transient Image img
ci
protected CollabImage ci
ImagePrimitiveParent
public ImagePrimitiveParent()
setBoundingBox
public void setBoundingBox(Vector pnts)
- Initialize a bounding_box which contains this set of points
- Parameters:
- pnts - the Vector containing the DrawingPrimitive which are
used to construct the bounding box.
- Overrides:
- setBoundingBox in class DrawingPrimitive
setImage
public void setImage(Image img)
getImage
public Image getImage()
setClipboard
public void setClipboard(Image img)
setPoints
public void setPoints()
loadImage
public void loadImage(String fileName)
drawPoints
public void drawPoints(Graphics g)
- Abstract method that must be implemented by the subclassed
primitive.
- Overrides:
- drawPoints in class DrawingPrimitive
locate
public void locate(int x,
int y)
getImgWidth
public int getImgWidth()
getImgHeight
public int getImgHeight()
setCanvas
public void setCanvas(Component canvas)
- Sets the component we're drawing into
- Overrides:
- setCanvas in class DrawingPrimitive
imageUpdate
public boolean imageUpdate(Image im,
int infoflags,
int x,
int y,
int width,
int height)
All Packages Class Hierarchy This Package Previous Next Index