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
-
Icon(Object, String)
-
-
equals(Object)
- Compares two Objects for equality.
-
getSwingIcon()
-
-
hashCode()
- Returns a hash code value for the object.
-
imageUpdate(Image, int, int, int, int, int)
- Repaints the component when the image has changed.
-
paint(Graphics)
- This method is called to repaint this canvas.
-
update(Graphics)
-
Updates this component.
Icon
public Icon(Object obj,
String file)
update
public void update(Graphics g)
- Updates this component.
- Overrides:
- update in class Component
paint
public void paint(Graphics g)
- This method is called to repaint this canvas.
- Overrides:
- paint in class Canvas
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
hashCode
public int hashCode()
- Returns a hash code value for the object.
- Overrides:
- hashCode in class Object
equals
public boolean equals(Object in)
- Compares two Objects for equality.
- Overrides:
- equals in class Object
getSwingIcon
public Icon getSwingIcon()
All Packages Class Hierarchy This Package Previous Next Index