Class vjv.base.VjvImageButton
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vjv.base.VjvImageButton

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----vjv.base.VjvLabel
                           |
                           +----vjv.base.VjvImageButton

public class VjvImageButton
extends VjvLabel

Constructor Index

 o VjvImageButton(Image)
 o VjvImageButton(Image, String)
 o VjvImageButton(String, Image)

Method Index

 o draw3DRect(Graphics, int, int, int, int, boolean)
 o getImg()
 o mouseDown(Event, int, int)
 o mouseEnter(Event, int, int)
 o mouseExit(Event, int, int)
 o mouseUp(Event, int, int)
 o paint(Graphics)
 o setImg(Image)
 o updatePreferredDim()

Constructors

 o VjvImageButton
  public VjvImageButton(String bnm,
                        Image img)
 o VjvImageButton
  public VjvImageButton(Image img,
                        String tipStr)
 o VjvImageButton
  public VjvImageButton(Image img)

Methods

 o getImg
  public Image getImg()
 o setImg
  public synchronized void setImg(Image img)
 o updatePreferredDim
  protected void updatePreferredDim()
Overrides:
updatePreferredDim in class VjvLabel
 o draw3DRect
  protected void draw3DRect(Graphics g,
                            int x,
                            int y,
                            int width,
                            int height,
                            boolean raised)
 o paint
  public void paint(Graphics g)
Overrides:
paint in class VjvLabel
 o mouseDown
  public boolean mouseDown(Event evt,
                           int x,
                           int y)
Overrides:
mouseDown in class Component
 o mouseUp
  public boolean mouseUp(Event evt,
                         int x,
                         int y)
Overrides:
mouseUp in class Component
 o mouseEnter
  public boolean mouseEnter(Event evt,
                            int x,
                            int y)
Overrides:
mouseEnter in class Component
 o mouseExit
  public boolean mouseExit(Event evt,
                           int x,
                           int y)
Overrides:
mouseExit in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index