Class ImageButton

All Implemented Interfaces:
Styleable, EventTarget, Skinnable

public class ImageButton extends Button
Button that displays a normal, rollover or selected image.
  • Constructor Details

    • ImageButton

      public ImageButton(ImageCache images, String prefix)
      Constructs a new ImageButton instance.
      Parameters:
      images - the desktop image cache.
      prefix - the prefix of the name of the button.
      Throws:
      NullPointerException - if an argument is null.