Class dnx.awtutil.ImageButton
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dnx.awtutil.ImageButton

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----dnx.awtutil.HelpEchoCanvas
                           |
                           +----dnx.awtutil.ImageButton

public class ImageButton
extends HelpEchoCanvas

Variable Index

 o behavior
 o instanceNumberSource
 o RADIO_BUTTON_BEHAVIOR
 o TOGGLE_BEHAVIOR
 o TRIGGER_BEHAVIOR

Constructor Index

 o ImageButton()
 o ImageButton(Image, Image)
 o ImageButton(Image, Image, boolean)

Method Index

 o addNotify()
 o getInstanceNumber()
 o getState()
 o minimumSize()
 o mouseDown(Event, int, int)
 o mouseUp(Event, int, int)
 o paint(Graphics)
 o preferredSize()
 o reshape(int, int, int, int)
 o setState(boolean)
 o toString()

Variables

 o RADIO_BUTTON_BEHAVIOR
  public final static int RADIO_BUTTON_BEHAVIOR
 o TOGGLE_BEHAVIOR
  public final static int TOGGLE_BEHAVIOR
 o TRIGGER_BEHAVIOR
  public final static int TRIGGER_BEHAVIOR
 o instanceNumberSource
  protected static int instanceNumberSource
 o behavior
  public int behavior

Constructors

 o ImageButton
  public ImageButton()
 o ImageButton
  public ImageButton(Image upImage,
                     Image downImage,
                     boolean state)
 o ImageButton
  public ImageButton(Image upImage,
                     Image downImage)

Methods

 o getInstanceNumber
  protected synchronized int getInstanceNumber()
 o paint
  public synchronized void paint(Graphics g)
Overrides:
paint in class Canvas
 o mouseDown
  public synchronized boolean mouseDown(Event e,
                                        int x,
                                        int y)
Overrides:
mouseDown in class Component
 o mouseUp
  public synchronized boolean mouseUp(Event e,
                                      int x,
                                      int y)
Overrides:
mouseUp in class Component
 o getState
  public synchronized boolean getState()
 o setState
  public synchronized void setState(boolean state)
 o preferredSize
  public synchronized Dimension preferredSize()
Overrides:
preferredSize in class Component
 o minimumSize
  public synchronized Dimension minimumSize()
Overrides:
minimumSize in class Component
 o toString
  public String toString()
Overrides:
toString in class Component
 o reshape
  public synchronized void reshape(int x,
                                   int y,
                                   int width,
                                   int height)
Overrides:
reshape in class Component
 o addNotify
  public synchronized void addNotify()
Overrides:
addNotify in class Canvas

All Packages  Class Hierarchy  This Package  Previous  Next  Index