All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jas.util.Icon

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----jas.util.Icon

public class Icon
extends Canvas

Constructor Index

 o Icon(Object, String)

Method Index

 o equals(Object)
Compares two Objects for equality.
 o getSwingIcon()
 o hashCode()
Returns a hash code value for the object.
 o imageUpdate(Image, int, int, int, int, int)
Repaints the component when the image has changed.
 o paint(Graphics)
This method is called to repaint this canvas.
 o update(Graphics)
Updates this component.

Constructors

 o Icon
 public Icon(Object obj,
             String file)

Methods

 o update
 public void update(Graphics g)
Updates this component.

Overrides:
update in class Component
 o paint
 public void paint(Graphics g)
This method is called to repaint this canvas.

Overrides:
paint in class Canvas
 o imageUpdate
 public boolean imageUpdate(Image img,
                            int flags,
                            int x,
                            int y,
                            int width,
                            int height)
Repaints the component when the image has changed.

Overrides:
imageUpdate in class Component
 o hashCode
 public int hashCode()
Returns a hash code value for the object.

Overrides:
hashCode in class Object
 o equals
 public boolean equals(Object in)
Compares two Objects for equality.

Overrides:
equals in class Object
 o getSwingIcon
 public Icon getSwingIcon()

All Packages  Class Hierarchy  This Package  Previous  Next  Index